Smeenk, R.J.M. (Roland) wrote:
Hello all,
 
attached you will find an update for the Collada plugin and an example program called osgsidebyside that I used for testing the dae plugin.
 
Overview of the Collada/dae plugin changes
 
New features
+Read and write of osg::LOD, osg::Switch, osgSim::Sequence, osgim::MultiSwitch and osgSim::DOFTransform data in <extra>
+Read and write of osg::Node description data in <extra>
+Plugin option "NoExtras" to prevent writing of <extra> data and only traverse the active children when saving
 
Changes/additions
+instanced_geometry and instanced_controller are now loaded in a single Geode with multiple Geometries instead of multiple geodes with a single Geometry
+Changed all calls to the deprecated createAndPlace() to the new add() methods
+All transformation elements <scale>, <rotate>, <translate>, <lookat>, <matrix>, <skew> are now concatenated properly in to a single MatrixTransform.
 Previously this was not done in order as required by Collada and and not all elements were included.
+Complete skew matrix creation
+Automatically add GL_RESCALE_NORMAL if scale is non-identity
+Blinn shininess remapping to [0,128] when in range [0,1]
+Changes to CMake file to make it compile on Windows
+Coding style and code documentation
 
Bug fixes
+Transparent texture writing fixed
+Fixed bug in using osg node name as collada node ID
+Fixed usage of double sided faces in GOOGLEEARTH extra
+Not adding blendfunc and blendcolor when opaque
 
Roland,

It looks like you have done a whole lot of work! I am currently having a conversation on the Collada Forum with Mark Barnes regarding  transparency. Please join in if you can. I will wait till Robert gets your changes bedded in before going back to revisit the transparency handling on the reader (or maybe you want to pick it up :-) ). It looks like the Sketchup compatability stuff I put in a while back is basically correct, but the issue regarding using the alpha channel from textures instead of the blend colour (dae transparent.a * transparency) is unresolved as yet.

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

Reply via email to