Re: [osg-users] Callback multiple
Hi Robert, Thanks a lot, it works very great with the ad of traverse(...) method !! Sorry I didn't found it early. Regards. Vincent. 2008/4/7, Robert Osfield <[EMAIL PROTECTED]>: > > Hi Vincent, > > Callbacks are responsible for traversing the subgraph so you need to call > traverse on the node, or use the NodeCallback::traverse method. See other > examples of NodeCallbacks in the OSG to see this in action. > > Robert. > > On Mon, Apr 7, 2008 at 3:18 PM, Vincent Bourdier < > [EMAIL PROTECTED]> wrote: > > > Hi all, > > > > I have made some NodeCallback. > > > > for the moment, 2 NodeCallback are running at the same time... they use > > the osg::Timer.. > > > > But when I've added the second one, the first seems to do nothing... > > > > Is there any recommendation to add some Callbacks on the same scenegraph > > ? > > > > Thanks. > > > > Regard. > >Vincent. > > > > ___ > > 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 mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Callback multiple
Hi Vincent, Callbacks are responsible for traversing the subgraph so you need to call traverse on the node, or use the NodeCallback::traverse method. See other examples of NodeCallbacks in the OSG to see this in action. Robert. On Mon, Apr 7, 2008 at 3:18 PM, Vincent Bourdier <[EMAIL PROTECTED]> wrote: > Hi all, > > I have made some NodeCallback. > > for the moment, 2 NodeCallback are running at the same time... they use > the osg::Timer.. > > But when I've added the second one, the first seems to do nothing... > > Is there any recommendation to add some Callbacks on the same scenegraph ? > > Thanks. > > Regard. >Vincent. > > ___ > 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] Callback multiple
Hi all, I have made some NodeCallback. for the moment, 2 NodeCallback are running at the same time... they use the osg::Timer.. But when I've added the second one, the first seems to do nothing... Is there any recommendation to add some Callbacks on the same scenegraph ? Thanks. Regard. Vincent. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org