[osg-users] LOD nodes and traverse order

David _ solid_davidian at hotmail.com
Tue Sep 2 01:52:58 PDT 2008


ok, that solved the problem

thanks

> Date: Tue, 2 Sep 2008 09:38:34 +0100
> From: robert.osfield at gmail.com
> To: osg-users at lists.openscenegraph.org
> Subject: Re: [osg-users] LOD nodes and traverse order
> 
> HI David,
> 
> The update visitor defaults to TRAVERSE_ALL_CHILDREN TraversalMode,
> but you can set this to just active children i.e.
> 
>   viewer.getUpdateVisitor()->setTraversalMode(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);
> 
> Robert
> 
> On Tue, Sep 2, 2008 at 9:32 AM, David _ <solid_davidian at hotmail.com> wrote:
> > any ideas???
> >
> > is every LOD children update callback supposed to be called every graph
> > update traversal, or just the active one???
> >
> > ________________________________
> > From: solid_davidian at hotmail.com
> > To: osg-users at lists.openscenegraph.org
> > Date: Mon, 1 Sep 2008 15:49:05 +0200
> > Subject: [osg-users] LOD nodes and traverse order
> >
> > Hi
> >
> > i´ve got some LOD nodes with 5 children each one. Those children are group
> > nodes and each one have it´s own update callback
> >
> > my problem is that the update callback is called for every children in every
> > frame. Is it supposed to be that way??? If it is not i´ll spend even more
> > time searching for an error in my code.
> >
> > as far as i understand the LOD nodes, the update callbacks of it´s children
> > are going to be called only for the active/s one, not for all of them
> >
> > i´m running osg 2.4 here over Vista
> >
> > thanks in advance
> >
> >
> >
> > ________________________________
> > ¡Haz tu clic solidario y ayuda a África! ¡Puedes empezar ahora!
> > ________________________________
> > Ahora llévate lo mejor de MSN y Windows Live, en tu móvil
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_________________________________________________________________
Prueba los prototipos de los últimos en MSN Motor
http://motor.es.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080902/5ecd041f/attachment-0003.htm>


More information about the osg-users mailing list