Blender Git Loki

Git Commits -> Revision 8c61837

Revision 8c61837 by Gaia Clary (master)
July 22, 2019, 17:03 (GMT)
Incompatible usage of the Collada transparency value

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.

Reviewers: brecht, jesterking

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5305

Commit Details:

Full Hash: 8c618371507fc95d51671d2f807e864adf1f4791
Parent Commit: 2de95e8
Lines Changed: +35, -5

2 Modified Paths:

/source/blender/collada/EffectExporter.cpp (+9, -2) (Diff)
/source/blender/collada/Materials.cpp (+26, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021