What is a normal?
Yeah, the subject says my question. What in the world is a normal and what does glNormal do?
A normal is the vector perpendicular to the face. To see them in action, run the new wave application in the GLUT examples and turn on face normals in the menu.
glNormal sets the normal of every face that is drawn after it, just like glColor.
Normals are used mainly for lighting, but do have other uses.
glNormal sets the normal of every face that is drawn after it, just like glColor.
Normals are used mainly for lighting, but do have other uses.
OpenGL uses vertex normals rather than face normals. This allows smooth shading, as the normal for a point on a face is interpolated from the normals for the vertices.
To calculate the 'lightness' of a face due to a light shinning on it you need to know which direction the face is pointing. This is the normal.
Ah, now I get it!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Normal Mapping Precision on iOS | OptimisticMonkey | 6 | 7,403 |
Apr 13, 2011 11:35 PM Last Post: OptimisticMonkey |
|
| Getting the Normal for a polygon. | Jaden | 3 | 4,678 |
May 1, 2009 01:47 PM Last Post: Nosredna |
|
| Vector (Normal) Map blending operations? | kelvin | 10 | 5,908 |
Mar 16, 2007 04:31 PM Last Post: OneSadCookie |
|
| drawing or displaying vertex normal | shru_ani | 3 | 3,006 |
Oct 29, 2006 06:04 AM Last Post: shru_ani |
|
| Gouraud vs Normal maps for dinamic terrains | sohta | 6 | 3,410 |
Oct 11, 2006 12:55 AM Last Post: sohta |
|

