Hi, thanks for your answers.
What I'm trying to do is writing a ray tracing plugin for a virtual reality application (hlrs-vis/covise on github) using this library: (szellmann/visionaray on github). I'm bypassing rendering and have a geode next to the application's object root that my ray tracer uses for drawing. The scene graph maintained by the application may be quite general (e.g. VRML files with animation that set update callbacks). I just tried registering a computeBoundingSphere callback as Laurens suggested - this looks quite promising: with my static obj files the callback got triggered only once, while the animated VRML file resulted in triggering the callback frequently. However, the application's view_all function also seems to trigger the callback, although I believe that the latter doesn't "dirty" the bounds. How exactly is the callback meant to work? Is it triggered when the bounds are dirty, or each time the bounds were somehow interacted with? "ModifiedCount" is probably only set when the VBO codepath is active, or is it more general (e.g. display lists)? Thank you and sorry for asking newbie questions! Cheers, Stefan ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62899#62899 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

