Thanks James, example now merged and checked into OSG svn/trunk as osgrobot example. I've merged the example as a work in progress, as it'd be nice to improve the C++ in the example as coordinating everything via global variables is not great teaching aid. One easy way to improve the example would be to have the event handler take over the role of constructing and managing the scene graph as well as manipulating it at runtime.
If you wanted to get really into scene graph manipulation like this then perhaps placing the a joint event handler on each of the MatrixTransform's, this way you could construct the scene graph and have it work without any global, with everything self contained in the scene graph itself. Robert. On Mon, Oct 13, 2008 at 3:22 PM, James Moliere <[EMAIL PROTECTED]> wrote: > Hello, > I found an error in the code. Here is an update with screen shots. > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
