Hi All,

Nathan posted some changes to the dae plugin back at the end of March
and at the end of last week I did a review but as I'm not a COLLADA
expert, or regularly use the format I don't feel in a good place
knowledge wise to make a judgment call what is the best default.  In
general I'm inclined to not change defaults because typically those
defaults have ended up what the original contributors to the plugin
have found works well for their data, and if we change it then we
might fix some data for some users but break it for others.  However,
if there is a bug and it breaks all models then it's a no brainer.

Rather than just dive in and merge Nathan's changes and hope for the
best I feel it's appropriate to call for a general discussion about it
and let the COLLADA users/contributors review Nathan's changes and
make recommendations on what to merge/what to change.

Thanks,
Robert.


---------- Forwarded message ----------
From: Nathan Jones
Date: 28 March 2013 18:41
Subject: [osg-submissions] DAE plugin update
To: [email protected]

We ran into an issue with using OSG to convert between file formats.
daeReader knows about and understands "usePredefinedTextureUnits" and
"useSequencedTextureUnits" but other writers did not (e.g. 3DS and
VRML look at texture unit 0). Furthermore, it looks (by examination
and experimentation) that the use of
daeReader::Options::usePredefinedTextureUnits in daeReader.cpp was
inconsistent. There were some instances where the MAIN_TEXTURE unit
expecting the sequenced unit to be at position 0 and some expected it
to be at position 1. Since the other exporters expect it to be at
position 0, I made it always read/write at position 0 if the user
specifies useSequencedTextureUnits.

I tested using several collada files from different vendors (Google,
BAE, etc.) and tested observable behaviors using osgviewer and
osgconv.

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Attachment: daeSequenced.tgz
Description: GNU Zip compressed data

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to