lesliejaneth / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Transparency export from 3dsmax #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Setting opacity value in 3dsmax standard material.
2.export as OpenCollada

What is the expected output? What do you see instead?
I expected to see (1-opacity) in <transparency> tag of collada, but it was the 
opposite, and gave me opacity not transparency.

What version of the product are you using? On what operating system?
3dsmax 2011

Original issue reported on code.google.com by sep.t...@gmail.com on 2 Dec 2010 at 2:03

GoogleCodeExporter commented 8 years ago
In COLLADA both transparency or opacity can be stored in the <transparency> 
element. Which one is used depends on the value of the opaque attribute of the 
<transparent> element. See the COLLADA Spec 1.5 for more details, especially 
page 8-52 (fx_common_color_or_texture_type). 

Therefore it is fine to see the exact same value in the <transparency> element 
as you see in the Max material editor.

Original comment by opencollada2@googlemail.com on 18 Jan 2011 at 3:13