Hi Ulrich, On Mon, Dec 15, 2008 at 2:54 AM, Ulrich Hertlein <[email protected]> wrote: > While it certainly would be nice to have the normals updated automatically > when > the underlying geometry changes I'm not aware of a mechanism to detect changes > to individual nodes. Is there something for that? Maybe something that could > detect changes to Nodes in general?
The closest thing we have to an automatic system for telling whether geometry has been modifiied is when dirtyBound() is called on them. This is just a flag setting though. > The notorious ShapeDrawable and vertex/geometry shaders would also make it > more > difficult if not impossible. One can do it for ShapeDrawable just fine, you just use the PrimitiveFunctor to get the from them. Vertex/geometry shaders doing mess things up completely though... > If I refactor the class into a function that returns a Geode, would that be > sufficient? This would be sufficient. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
