We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I loaded an obj (with it's MTL, texture etc.) using loadShape. Anyway, it's rendered as flat. Is there a simple way to display with "phong" or something like?
Answers
Do you use P3D in size?
Do you use lights(); in draw()
the obj might need vertex normals defined in the file, otherwise there's not enough information for anything other than flat shading.
yes, I've got lights, and I am in P3D. Anyway, I opened in Meshlab and saved again, now it's perfect. Thanks.
Meshlab did the trick...
http://www.meshlab.net/