Hi David, I can't work out how to provide any suggestion given your posts contents, I simply can't make sense of what you are doing or what you need.
Robert. On 11 May 2012 12:30, David Fernandes <davidmfernan...@gmail.com> wrote: > Hi, > > I want to add some text to the scene using the osgtext library. I have this > code to paint a 3D Object in the X3M mark. > > osg::ref_ptr<osg::MatrixTransform> transform = new > osg::MatrixTransform(osg::Matrix::scale(8, 8, 8)); > transform->addChild(osgDB::readNodeFile("data\\cow.osg")); > object2_X3M = new XObjectAR_X3M("X3M object - texture", transform, new > XMarkerAR_X3M("Data/X3M/PatternsToLoad/patt01.bmp", 80)); > OSG::GetRootNode()->addChild(object2_X3M->getRootNode()); > > Does anyone know how can I paint also the osgtext object associated to the > object2_X3M insted of painting the osgtext in the root ? > > > Thank you! > > Cheers, > David > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=47657#47657 > > > > > > _______________________________________________ > 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