[osg-users] How to read out the coordinate info from model files

Gordon Tomlinson gordon.tomlinson at sensor.com
Fri Jul 25 05:23:54 PDT 2008


None that I'm aware of
 
The OSG file readers are about loading the data into the scene graph, not
about probing files for properties or meta data
 
You will have to implement your own probe mechanism for this
 

  _____  

From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of TANG
Fangqin
Sent: Friday, July 25, 2008 5:02 AM
To: osg-users at lists.openscenegraph.org
Subject: [osg-users] How to read out the coordinate info from model files


Hi all,
 
I'm trying to import some 3ds models (using osgDB::readNodeFile) into an osg
programme.
Now the problem is that:
Is there any way that we can read the coordinate information out from the
models since 3ds models have saved the position (the model center)
coordinate information themselves? 
Is there any API in osg::Node class which we can call to get such
information?
 
I hope I make my question clear.
Thanks for your advices in advance.
 
With best regards,
Fangqin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080725/bbfa333b/attachment-0003.htm>


More information about the osg-users mailing list