Hi Joel,

On Sun, Oct 23, 2011 at 2:22 AM, Joel Graff <[email protected]> wrote:
> (However, as a matter of principle, I'd still like to know what I'm missing 
> in regards to what it takes to traverse a scene graph from a post draw or 
> realize callback...)

Have a look at the osgUtil::GLObjectsVisitor this traverses a scene
graph and compiles the GL objects along the way.  See
include/osgUtil/GLObjectsVisitor and src/osgUtil/GLObjectsVisitor.cpp.
 For you own task you'll be able use a much simpler NodeVisitor
implementation as you'll be just interested in Program and Uniforms.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to