10-29-2002, 11:36 AM
I am importing ASE files (3D Studio Max's export file format) and I am just implementing specular lighting. The materials have two parameters to set the intensity and glossity of the specular lighting:
*MATERIAL_SHINE 0.5300
*MATERIAL_SHINESTRENGTH 0.4900
Does anybody know what to do so that the specular looks exactly the same as it looks in 3D Studio Max? I tried
glMaterialf(GL_FRONT, GL_SHININESS, shine);
(shine == *MATERIAL_SHINE)
but that is wrong. It's probably the same as with .3ds files. Does anybody know how to do that?
Thanks,
Thomas
*MATERIAL_SHINE 0.5300
*MATERIAL_SHINESTRENGTH 0.4900
Does anybody know what to do so that the specular looks exactly the same as it looks in 3D Studio Max? I tried
glMaterialf(GL_FRONT, GL_SHININESS, shine);
(shine == *MATERIAL_SHINE)
but that is wrong. It's probably the same as with .3ds files. Does anybody know how to do that?
Thanks,
Thomas