[osg-submissions] New version of Collada plugin - was (Proposal to change the way the Collada plugin handles the DAE object)
Roger James
roger at beardandsandals.co.uk
Sun Dec 2 12:56:03 PST 2007
Robert,
Here are my latest modifications to the Collada plugin.
The changes are as follows:-
1. DAE object no longer held onto by plugin.
2. Filename to URI conversion now handled internally by plugin.
2. User can supply an external DAE object for use by the plugin.
3. User can supply a std:string object for the plugin to return the URI of
the document just processed.
4. User can supply a std::string to receive the unit name information from
the document just read in. (e.g. meters, inches, etc.)
5. User can supply a float to receive the metric conversion factor from the
document just read in.
6. User can supply an enum to receive the up axis orientation information
from the document just read in.
7. Material transparency can be both read and written.
8. User can supply an experimental GoogleMode option on output. The plugin
will try to emulate the way Sketchup specifies transparency (i.e. the
inverse of what it should be!). I am still struggling to get GE to
understand transparency, anyone know what it expects?
9. Rudimentary support for Collada effect parameters (newparam, setparam,
param) on input. Basic nVidia FX Composer dae documents can now be read.
Roger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FileNameUtils.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0005.pot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ReaderWriterDAE.h
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0005.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeReader.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0006.pot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeReader.h
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0006.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeRMaterials.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0007.pot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeWGeometry.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0007.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeWMaterials.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0008.pot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeWriter.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0008.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeWriter.h
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0009.pot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ReaderWriterDAE.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071202/920b2b3e/attachment-0009.asc
More information about the osg-submissions
mailing list