Hi Richard,

The CullVisitor is the one that does the culling, you can write your
own visitor to do this too.

As I said before you can using a drawable or node cull callback to
determine visibility on each frame without being overly elaborate.

Otherwsie you'll need to use your own custom NodeVisitor.

Robert.

On 5/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Is it possible to use a certain node visitor that only visit the visible nodes?
I need to get access to the drawable that are visible to perform some analysis
(from data stored into the drawable) at a specific moment (called from the user
interface).

What is the difference between the osg::NodeVisitor VisitorType NODE_VISITOR
and CULL_VISITOR?



Quoting Robert Osfield <[EMAIL PROTECTED]>:

> On 5/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi, I would like to parse the geode node that are currently visible (not
> > culled). Is it possible to do it? How? Tanks
>
> Attach a cull callback to it, if the callback is called then the node
> isn't culled.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>





_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to