Advertisement

normals definitions in Tutorial 10

Started by May 07, 2000 08:12 AM
-1 comments, last by PH-Neutre 24 years, 6 months ago
Hi, I have a question about the normals definitions in Tutorial 10 (moving in a 3d world). All normals are defined as following : for (....) { //loop begins here glBegin(GL_TRIANGLES); glNormal3f( 0.0f, 0.0f, 1.0f); //vertices glEnd(); } So all the triangles have the same normal vector, even the ones which are not facing us, are side on etc... ? I don' t understand this line, could somebody help me ? Thanks in advance, PH. Edited by - PH-Neutre on 5/7/00 8:13:45 AM Edited by - PH-Neutre on 5/7/00 8:14:34 AM

This topic is closed to new replies.

Advertisement