Page MenuHome

Incompatible usage of the Collada transparency value

Authored by Gaia Clary (gaiaclary) on Jul 20 2019, 5:03 PM.



Some external tools seem to have issues with the definition
of Collada <transparency> - a float value in range (0,1).
However it is possible to use the <transparent> color as a container
for the <transparency> value. This seems to be a more reliable
method to export transparency values from Blender PBSDF Shaders.

The relevant documentation is in the collada 1.14 reference manual,
page 7-5 about the usage of transparent and transparency.

This fix makes export and import of the <transparency>
and <transparent> values more convenient and more reliable.

Diff Detail

rB Blender

Event Timeline

Please can you review this? The fix will solve a serious issue with the Mac OS Finder application which does it all wrong when it comes to <transparency> The usage of <transparent> instead seems to be working much more reliable.


Gaia Clary (gaiaclary) edited the summary of this revision. (Show Details)Jul 20 2019, 5:08 PM

Remove unneeded function for getting a color from
a greyscale value and an alpha value

This revision is now accepted and ready to land.Jul 22 2019, 4:49 PM