Hi,

I am using CullCallback to work out whether a node has been culled or not. I'd 
like a way of doing this without rendering the scene if possible as it is part 
of a calculation routine  for a visualization application.
I was hoping that passing a CullVisitor to my root node might do the trick - 
something like:

osgUtil::CullVisitor *cv = osgUtil::CullVisitor::create();
sceneNode->accept(*cv);

but this gives me memory errors so clearly this isn't valid.

Does anyone know the right way to go about this? I have tried looking in the 
example source code and on the forums but am still none the wiser.

Any suggestions welcome.

Cheers,
James

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





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

Reply via email to