[osg-users] [osgPlugins] Collada Commands
robert.osfield at gmail.com
Tue Mar 17 02:15:00 PDT 2009
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
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...
More information about the osg-users