[osg-users] cullcallback and visitor ?

Vincent Bourdier vincent.bourdier at gmail.com
Thu Sep 25 08:15:49 PDT 2008


Hi,

I'm looking at a way to determine if a node is visible (in the frustum) or
not.

I saw something about cullvisitor and isCulled()

But, I do not understand how to implement that visitor.

I saw a osg::Drawable::cullcallback ...
Do I have to make my callbak ingerit from this class ?
What operator do I have to define (operator()(node*, nodevisitor*) ) ?

thanks a lot.

Regards,
Vincent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080925/7e35d121/attachment-0002.htm>


More information about the osg-users mailing list