SpecularMaterial for OBJ Texture

Anonymous 5 years ago 0
This discussion was imported from CodePlex

cmouritsen wrote at 2014-01-29 16:12:

Hello. Thank you for this awesome library. I've noticed that when I import an obj with a texture (mtl) file that defines Specular Material the display 3D model is very bright. If I remove the Specular Material then it looks like I would expect. Is this a known issue? Am I doing something wrong?

In my case the Specular color is white and the Specular Coefficient is 0.

Thanks again!

objo wrote at 2014-02-02 11:52:

It is possible the specular color is not interpreted correctly.
Can you provide a small model and a screenshot how it looks in other programs?

cmouritsen wrote at 2014-02-03 17:04:

Is there a way I can send you a model privately?

cmouritsen wrote at 2014-02-05 19:12:

This isn't the exact model that I'm using, but the obj model here (there's the male02.obj and associated male02.mtl) also doesn't display well in the Helix Viewer, but displays fine in MeshLab. This may be more related to my other question about the edges of the pieces of the texture, but the end goal is the same: getting a obj/mtl combo to display nicely in the viewer. Thanks!