Page MenuHome

Incompatible usage of the Collada transparency value
ClosedPublic

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

Details

Summary

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

Repository
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.

thanks!

Gaia Clary (gaiaclary) edited the summary of this revision. (Show Details)Sat, Jul 20, 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.Mon, Jul 22, 4:49 PM