> > I'd be very grateful if someone could verify the above logic. If I'm > in the wrong here, I'd appreciate any advice pointing me in the right > direction. > > You should be able to do that (and you could probably use RTTI features to figure out what the OSG type/class mystery pointer was pointing to) as long as you realize that if an OSG node is disposed of, your mystery pointer is going to give you a mystery crash.
You could also consider having it be a pointer to an entry in a table (stored/maintained outside of your struct/library code) of ref_ptrs or observer pointers. -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

