9

I have a .mtl file next to my .obj file which specifies the materials for the object. Im trying to create a parser but dont know what the "Ke" attribute means. e.g:

Ka 0.78 0.78 0.78 
Kd 0.78 0.78 0.78
Ks 0 0 0
Ke 17 12 4 # What does this line mean?

Thanks :)

0

2 Answers 2

14
+50

Ke stands for emissive coeficient. It goes together with ambient, diffuse and specular and represents the amount of light emitted by the material. If you also have a defined emission color the material will irradiate light.

0
0
Ka 0.78 0.78 0.78  # ambient color
Kd 0.78 0.78 0.78  # diffuse color
Ks 0 0 0           # specular color
Ke 17 12 4         # emissive coeficient. It goes together with ambient, 
                   # diffuse and specular and represents the amount of 
                   # light emitted by the material.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.