osg::ref_ptr<osg::Group> root; root->addChild(node); // forget to new before using root osg::Group *subgraph = root->get(); // should be root.get() camera->addChild(subgraph); ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63735#63735