How do the variables in a material definition relate to the Ka Kd Ks, etc. in an .mtl file when I do an .obj export?
For example, I want the color that I define to only be for Ka, with Kd and Ks being black. Also, I need Ns to be non-zero, I typically set it equal to 1. These settings are optimized for another program I put the .obj into.
It is tedious for me to make changes by hand. For example, here as an .mtl file that came from Rhino:
Interesting, thank you for the information. The main thing I try to avoid in the other program is specular reflectivity. It also works if I specify diffuse reflectivity only. What are the direct controls for these in Rhino?
Depends on the material used. If you use Rhino Custom material then make sure gloss finish is set to black and 0%, reflectivity set to black and 0%, and likely you want transparency also set to black and 0%. Also make sure that Fresnel reflectivity is not checked under the material’s advanced settings. That should give you a completely diffuse material.