robertosfield wrote:
> Hi Fred,
> 
> My guess is that small feature culling is culling the Geometry before
> it even gets into the draw traversal.  You can switch off small
> feature culling by doing:
> 
> viewer.getCamera()->setCullingMode(viewer.getCamera()->getCullingMode()
> & ~osg::CullSettings::SMALL_FEATURE_CULLING);
> 
> Robert.
> 


Hi Robert,

Thanks for your reply, but that doesn't seem to work, the following code has no 
effect:


Code:
// osggeometryshaders.cpp, line 187
osgViewer::Viewer viewer;
viewer.getCamera()->setCullingMode(viewer.getCamera()->getCullingMode() & 
~osg::CullSettings::SMALL_FEATURE_CULLING);
viewer.setSceneData( root );




Fred

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to