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