I think you'd benefit from looking at some OSG examples (all of which use ref_ptr) and reading the memory management section in the OSG Quick Start Guide (http://stores.lulu.com/pmartz).
Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org