Hi Stefan, There isn't a general mechanism for tracking modifications of different parts of the scene graph. In some specific cases there are mechanisms such as with Textures/Images/BufferData where a ModifiedCount value is used so that the OSG's draw traversal knows when to update GL objects based on the data being modified. I guess there is chance this might work for you.
Robert. On 1 March 2015 at 22:01, Stefan Zellmann <[email protected]> wrote: > Hi, > > I wonder if there is a way to find out if a scene graph node was updated > recently. Specifically, what I'd like to know is if geometry was updated, > or if a transform node has changed. > > I am using the scene graph from within an application plugin, i.e. I > cannot set things like callbacks or attach user data, because I may in > general not assume that the creator of the scene graph hasn't already done > so. My plugin is merely a consumer of the scene graph. > > I've seen the dirtyDisplayList functionality, which however seems not to > store any information useful to me. > > Any help is appreciated! > > Thank you! > > Cheers, > Stefan > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=62886#62886 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

