Howdy! When I try to add a child to a node at runtime I get an exception. Unfortunately, the exception dies quietly so I'm not sure what the actual exception is. I know I've done this before (a long time ago) and things have changed since then, so I'm not sure what I'm doing wrong. Here's the setup of our app.
We're rendering on a managed window using managed c++ We have a button that enables/disable certain graphics to be drawn. To do the hiding of a graphic, I remove the geode from it's parent node. To do the showing of a graphic, I add the geode to the parent. <- this causes the exception We're building a simulation and our users can toggle certain graphics on/off. For example, they can view graphic, physics, center of mass, constraints, etc... They can view any number of these at any time. My current set up is I have a Geode for each representation. I then add/remove that geode depending on the display settings. Is this the wrong setup? I've searched for similar solutions and haven't really found anything. Maybe I'm looking in the wrong places? Thanks James
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org