[osg-users] [osgPlugins] Collada Commands
Adam Wise
osgforum at tevs.eu
Tue Mar 17 09:35:41 PDT 2009
Robert Osfield wrote:
> Hi Adam,
>
> On Tue, Mar 17, 2009 at 8:36 AM, Adam Wise <> 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.
>
> ------------------
> Post generated by Mail2Forum
Question: exactly what does this mean? Warning: Could not find plugin to write nodes to file "new.dae"
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8634#8634
More information about the osg-users
mailing list