Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

OpenGL Question

Name: Anonymous 2010-11-27 15:05

What do normal points actually do? There are 3 axises for vertex position, 2 texture coordinates, but what are the normals for, and how does one determine what they should be?

Name: sage 2010-11-27 15:11

sage

Name: Anonymous 2010-11-27 15:20

>>2
Why?

Name: Anonymous 2010-11-27 15:31

If the normal points towards the screen, draw the polygon.

Name: Anonymous 2010-11-27 15:52

They're also used for reflection and other effects.

Name: Anonymous 2010-11-27 15:55

>>4
Ah, so it's a vector, relative to the mesh, that points out from the mesh?

Name: Anonymous 2010-11-27 17:44

>>1
They're points normal to the mesh. You can't figure out why this information might be useful?

Name: Anonymous 2010-11-27 18:00

>>6
They're normalized (i.e. unit) vectors. Face normals are simply perpendicular to the face, in the direction of the face. You can probably guess how to compute vertex normals if you need them.

Just about any shader apart from flat shader pays attention to normals, it's not just for fancy stuff.

Don't change these.
Name: Email:
Entire Thread Thread List