I have an object out of triangles. it is lighted by opengl. i calculated the normals for each face. everything is working fine, except of some strange dark triangles in some of the faces. especially when the object is quite small on the screen.
Any sugestions what to do?
Are you sure that your normals have unit lenght or you use gl renormalisation?
Yes, they are unified
It only happens with the faces with one normal of 1 in one direction
for example: n = 0,0,1 or 1,0,0 or 0,1,0
just a few things to try.
and make sure that the winding on all of your faces is consitent (i.e. vertices should be defined in clock or counter-clock wise for every polygon).