feature request

 From:  Michael Gibson
3657.5 In reply to 3657.4 
Hi Mark,

> In the mtl file exported by MoI there is an "illum" tag
> (set to 2 I think). What does this do Michael?

Are you sure you're not looking at the .mtl output from something else?

MoI does not actually put the illum line in there, it only puts out stuff like the following:

code:
newmtl Red
Ka 0.0000 0.0000 0.0000
Kd 1.0000 0.0000 0.0000
Ks 1.0000 1.0000 1.0000
Tf 0.0000 0.0000 0.0000
d 1.0000
Ns 0


When illum is present it's kind of a flag for what kind of lighting is enabled or disabled on that material, according to the docs I have:

code:
illum illum_#

The "illum" statement specifies the illumination model to use in the material. 
Illumination models are mathematical equations that represent various material
lighting and shading effects.

"illum_#"can be a number from 0 to 10.  The illumination models are
summarized below; for complete descriptions see "Illumination models"
on page 5-30.

Illumination    Properties that are turned on in the 
model           Property Editor

0		Color on and Ambient off
1		Color on and Ambient on
2		Highlight on
3		Reflection on and Ray trace on
4		Transparency: Glass on
		Reflection: Ray trace on
5		Reflection: Fresnel on and Ray trace on
6		Transparency: Refraction on
		Reflection: Fresnel off and Ray trace on
7		Transparency: Refraction on
		Reflection: Fresnel on and Ray trace on
8		Reflection on and Ray trace off
9		Transparency: Glass on
		Reflection: Ray trace off
10		Casts shadows onto invisible surfaces



I would not be surprised if most programs would ignore that though, some of the things in OBJ/MTL files are just part of the particular behavior of the old Wavefront modeling/animation software.

- Michael