17 #ifndef AGXOSG_SKYBOX_H
18 #define AGXOSG_SKYBOX_H
23 #include <osg/MatrixTransform>
26 #include <osg/TextureCubeMap>
48 const std::string& imagename,
49 const std::string& filetype,
51 bool use_glslang =
false );
SkyBox(const std::string &name, const std::string &imagename, const std::string &filetype, double size=1000, bool use_glslang=false)
Constructor.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
AGXOSG_EXPORT osg::Geode * createSkyBox(agx::Vector< osg::ref_ptr< osg::Image > > &images, float size)
AGXOSG_EXPORT osg::TextureCubeMap * createTextureCubeMap(agx::Vector< osg::ref_ptr< osg::Image > > &images)
Internal functions for creating texture cube maps.
AGXOSG_EXPORT osg::Geode * createSkySphere(const std::string &name, agx::Vector< osg::ref_ptr< osg::Image > > &images, float radius)