Hi Brad -- The client that contracted with me to develop the OpenFlight exporter
specifically requested that the exporter support the same feature set as the
importer. Since the importer doesn't load image files, likewise the exporter
doesn't export image files. I'm not saying that's a good decision, I'm just
giving you the background. :-)
If you want to add this capability, you should probably use an export option to
enable it, with the default being to not write the image data to files.
As far as where to add this in the code, the exporter is a NodeVisitor. You
should probably add a map of textures so that shared textures don't get written
multiple times.
-Paul
On 1/20/2012 5:07 PM, Brad Colbert wrote:
Hi folks,
I found a work around. First, if I convert the IVE to OSG with the option "osgconv
-O OutputTextureFiles" it will write out the .dds files. Then, I convert the IVE to
FLT, which picks up those .dds files.
A bit of a kludge but was wondering where I should look to make the proper
changes to the OpenFlight writer to output the textures?
-B
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Brad Colbert
Sent: Friday, January 20, 2012 3:56 PM
To: '[email protected]'
Subject: [osg-users] Problem using osgconv to write OpenFlight
Hi folks,
I'm suspecting that something is wrong with my DDS plugin but thought I would
ask to see if it's something more fundamental.
I'm trying to convert a .ive file to an OpenFlight file. I get the (.flt) file
and the texture attribute files (.attr) but no texture files (.dds). Any ideas
why?
Thanks,
Brad
P.S.
OpenSceneGraph Library 3.0.1
---
Brad Colbert
Renaissance Sciences Corporation
(480) 374-5073
_______________________________________________
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org