Home Technical Talk

Transparency Tags in .mtl (3dsmax 2012)

polycounter lvl 10
Offline / Send Message
TheBat polycounter lvl 10
Heya!

I'm having some trouble with an exported .mtl. The Guruware .obj exporter (3dsmax 2012) exports both the "Tr" and the "d" tag.

The specification (link) says that they're both used for the same purpose, transparency. That they're both exported isn't so much the problem, the real problem is they don't contain the same value!

As you can see in the exported file below, the "d" tag is 1.0000 and the "Tr" tag is 0.0000
# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
# File Created: 26.07.2011 14:02:01

newmtl House1
	Ns 127.0000
	Ni 1.5000
	d 1.0000
	Tr 0.0000
	Tf 1.0000 1.0000 1.0000 
	illum 2
	Ka 0.8000 0.8000 0.8000
	Kd 0.8000 0.8000 0.8000
	Ks 0.0000 0.0000 0.0000
	Ke 0.0000 0.0000 0.0000

I don't know what to change to make sure that both values are the same. Any suggestions?

Thanks for your thoughts!

Replies

  • TheBat
    Options
    Offline / Send Message
    TheBat polycounter lvl 10
    Ok, i found out that changing the Opacity in the Material settings changed both the numbers (Turning the opacity down resulted in a lower "d" value and a higher "Tr" value and vice versa).
Sign In or Register to comment.