after reading OBJ file, OBJ reader return value is osg::group...

each group in the OBJ file will be a osg::geode as a child of the
returning osg::group node.

Each osg::geode will have the name of the OBJ group...

you can get the group names  by accessing each child of the OSG::Group
node ( i.e.  osg::group->getChild(1)->getName()  )




2006/8/25, Jeff Kershner <[EMAIL PROTECTED]>:




I am using MilkShape3D (no joke) to create my models.  I want to create
invisible physics proxy shapes and give them names.  Does anyone know if the
group names are kept when the models are exported to a wavefront *.obj file?
 I see that the group names are physically in the *.obj data file, but does
OSG keep those names when osgDB::readNodeFile is called?



And if not, is there a better export file format that I should be using that
Milkshape3D has?



Thanks,

/jk
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to