Re: [osg-users] about the cull mechanism in osg
Hi Shawl, On 19 October 2012 06:52, wh_xiexing wh_xiex...@sina.com wrote: i am newbie . my question is , i have a group which contains a lot a gode. in order to speed the rendering . i don't know whether i need to write a cull callback . or do nothing and let the osg system do the culling work instead . does osg automatically traverse the group and cull the node which lay out the frustum ??? The OSG provide a full range of culling mechanism, the key one is view frustum culling. All you need to do is build a well balanced scene graph and the OSG will cull it efficiently. Building an efficient scene graph is the task you need to focus on, this topic is a huge one so I'd recommend spending some time looking through the archives on the topic and also reading the OSG books. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] about the cull mechanism in osg
hi xiexing: osg offer the frustum culling and you can set the Culling Mode , also if you want to realize customer culling function please look the osgUtil::CullVisitor Liu zhiyu 2012/10/19 wh_xiexing wh_xiex...@sina.com ** dear friends: i am newbie . my question is , i have a group which contains a lot a gode. in order to speed the rendering . i don't know whether i need to write a cull callback . or do nothing and let the osg system do the culling work instead . does osg automatically traverse the group and cull the node which lay out the frustum ??? Shawl ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] about the cull mechanism in osg
dear friends: i am newbie . my question is , i have a group which contains a lot a gode. in order to speed the rendering . i don't know whether i need to write a cull callback . or do nothing and let the osg system do the culling work instead . does osg automatically traverse the group and cull the node which lay out the frustum ??? Shawl ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org