AGX Dynamics 2.40.1.0
Loading...
Searching...
No Matches
SkyBox.h File Reference
#include <agxOSG/export.h>
#include <agx/PushDisableWarnings.h>
#include <osg/MatrixTransform>
#include <osg/Geode>
#include <agx/Vector.h>
#include <osg/TextureCubeMap>
#include <agx/PopDisableWarnings.h>

Go to the source code of this file.

Classes

class  agxOSG::SkyBox
 Creates a skybox. More...
 

Namespaces

namespace  agxOSG
 The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
 

Functions

AGXOSG_EXPORT osg::Geode * agxOSG::createSkySphere (const std::string &name, agx::Vector< osg::ref_ptr< osg::Image > > &images, float radius, float offset=0)
 Create a Sphere with a specified name that will project a cubemap spherically (not as 6 faces) using a shader.
 
AGXOSG_EXPORT osg::TextureCubeMap * agxOSG::createTextureCubeMap (agx::Vector< osg::ref_ptr< osg::Image > > &images)
 Create a TextureCubeMap from 6 images with a 90x90 fov.
 
AGXOSG_EXPORT osg::TextureCubeMap * agxOSG::createTextureCubeMap (const std::string &imagename, const std::string &filetype)
 Creates an returns a CubeMap based on the images.