Hi Adam,
On Tue, Mar 17, 2009 at 8:36 AM, Adam Wise <[email protected]> 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
Programatically:
#include <osgDB/ReadFile>
#include <osgDB/WriteFile>
{
...
osg::ref_ptr<osg::Node> node = osgDB::readNodeFile("original.flt");
if (node.valid()) osgDB::writeNodeFile(*node, "new.dae");
}
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org