Roger,
I believe you are already deep in the transparency discussion so you are
welcome to solve it once and for all. ;-)
At least I would like to have/create a good set of data for regression
testing.
--
Roland
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Roger James
Sent: vrijdag 21 november 2008 15:01
To: OpenSceneGraph Submissions
Subject: Re: [osg-submissions] Collada plugin update
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
This e-mail and its contents are subject to the DISCLAIMER at
http://www.tno.nl/disclaimer/email.html
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org