[osg-users] [osgPlugins] Collada Commands

Robert Osfield robert.osfield at gmail.com
Tue Mar 17 02:15:00 PDT 2009

Hi Adam,

On Tue, Mar 17, 2009 at 8:36 AM, Adam Wise <osgforum at tevs.eu> wrote:

> This might be the wrong place to post this...but I have a simple question:
> how would I import an Openflight (.flt) file, and EXPORT it as a Collada
> (.dae) file? I downloaded the COLLADA-dom...and I know my collada viewer is
> working...but where would I go after that?

On the command line:

   osgconv original.flt new.dae


 #include <osgDB/ReadFile>
 #include <osgDB/WriteFile>


  osg::ref_ptr<osg::Node> node = osgDB::readNodeFile("original.flt");

  if (node.valid()) osgDB::writeNodeFile(*node, "new.dae");


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090317/171d5342/attachment-0003.htm>

More information about the osg-users mailing list