roguespear
11-23-2004, 05:34 AM
Ok guys from what i have gathered this may be a pretty simple question to answer, but i cant do it.
I am trying to understand how exactly per-vertex normals work and then use this to add gourand shading into my scene. i have a cube with each face at the moment having a normal (+1 or -1 in the x,y and z).
From here how exactly do i change it to per-vertex normals and how do i specify them in opengl. At the moment a normal is set at the beginning of each of the four points to make one face of the cube.
can someone help me asap
Thanx
I am trying to understand how exactly per-vertex normals work and then use this to add gourand shading into my scene. i have a cube with each face at the moment having a normal (+1 or -1 in the x,y and z).
From here how exactly do i change it to per-vertex normals and how do i specify them in opengl. At the moment a normal is set at the beginning of each of the four points to make one face of the cube.
can someone help me asap
Thanx