Hi Dave, the former with instancing subgraphs with Transform is really easy. Hope the following snippet will give you the idea:
osg::Group* root = ... osg::Node* myModel = ..... for (int i=0; i<myModelCount; ++i) { osg::MatrixTransform* mxt = new osg::MatrixTransform; mxt->setMatrix(osg::Matrix::translate(myPosition)); mxt->addChild(myModel); } root->addChild(mxt); Cheers, -Nick On Fri, Apr 16, 2010 at 4:14 PM, Dave Sawyer <ccamb...@hotmail.com> wrote: > Robert, > Thank you very much for your reply. I will certainly start with much > smaller data sets as I move toward my goal. Further your suggestions for > the more advanced topics are much appreciated. Its very helpful to know > before delving too deeply into OSG, that it can do what I need. > > > Thank you! > > Cheers, > Dave > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=26899#26899 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org