PDA

View Full Version : polygon render side problem



indra the king
06-04-2006, 07:56 PM
Hi all ! iam new to this forum . i like opengl very much . iam trying to make a simple game. iam loading car from a .obj (alias wave fron file) . iam able to render it fine but when i render it , all the specular highlights are on in side faces of the car.changing the direction of the face using glFrontFace is of no use. shall i calculate the normals in reverse direction ? .please help iam stuck at this ...
-indra

mikael_aronsson
06-05-2006, 02:21 AM
Sounds like a good idea, try and see if it works.

As a quick test you could just flip the normals (negate all three values).