newmtl (material assignment) name
Ka (ambient) r g b
Kd (diffuse) r g b
Ks (specular) r g b
Ke (emission) r g b
map_K? (K? map) filename
Ns (shininess) 0 to ?
Ni (index of refraction) 1 (glass is 1.5)
Tr (alpha) 0 to 1
d (opposite alpha from Tr) 1 to 0
illum (illumination model)
- 0 constant color from Kd
- 1 diffuse model
- 2 diffuse and specular model
- Find "The illumination models are:" on https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/27982/versions/5/previews/help%20file%20format/MTL_format.html
More at https://people.cs.clemson.edu/~dhouse/courses/405/docs/brief-mtl-file-format.html