You can either modify the OpenFlight loader to store that data in the scene
graph it creates, then write a NodeVisitor to walk your scene graph and
collect the data. Or, you can write your own OpenFlight loader to gather the
data directly from the flt file and convert it into your own format.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sebastian
Messerschmidt
Sent: Tuesday, February 17, 2009 3:18 AM
To: OpenSceneGraph Users
Subject: [osg-users] Openflight converter

Hello folks,

I need all essential data inside several openflight files.
For instance I'm interested in the triangle data, the surface material
codes/feature codes and the DOFs and switches.
Also I need externals that are referenced by the file (with name and
transform).
I need to convert these information into my own format.
Looking into the openflight-plugin I saw that there are callbacks for some
entities and some of the special properties are written to file streams.

Can someone give me a pointer where to start or what to do to get the
desired information?

cheers Sebastian
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to