|
|
|
|
|
|
Editing materials in a .mtl file
|
|
If you would like to edit the materials of a default .mtl file rather then to edit them in EI after you have loaded the converted model, here is a description of the different keywords and how they are handled by OBJ2FACT.
However, we recommend you to edit the materials in EI and to use default .mtl files mainly to assign textures to the model.
|
|
Keyword:
|
|
|
Description:
|
|
|
newmtl Head_material
|
The name of the material: "Head_material" in this case.
|
|
|
Kd 1 1 1
|
|
Object diffuse color. The values range from 0-1 separated by spaces. Values are for r, g and b. The example shows pure white.
|
|
Ks 1 1 1
|
Object specular color. The values range from 0-1 separated by spaces. Values are for r, g and b. The example shows pure white.
|
|
d 1
|
Dissolve or transparency. Values are from 0-1. 0 is completely transparent, 1 is opaque.
|
|
Ns 0
|
Specular decay. Values range from 0-100. A value of 0 will result in a specular size of 200 and a value of 100 will result a specular size of 2 within EI.
|
|
Ka 1 1 1
|
Objects ambient color. The values range from 0-1 separated by spaces. Values are for r, g and b. The example shows pure white.
|
|
Ni 1
|
Refraction index. Values range from 1 upwards. A value of 1 will cause no refraction. A higher value will cause refraction.
|
|
|
|
|
|
|
|
|
|
|
|