[osg-users] Disabling culling for a geode

Guy Volckaert guy.volckaert at meggitt.com
Tue Nov 24 14:59:16 PST 2009


Hi,

Is there a way to disable culling for a geode. Essentially, I want the geode render every frame - usefull for skyboxes and skydomes. I tried calling setCullingActive(false) but that does not work. 

The only way I was able to make it work, so far, is by setting the Geometry::setInitialBound(...) to something very big. But that seems odd to me. Is there a better way that I am not aware of?

Thanks,

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20300#20300







More information about the osg-users mailing list