Skip to main content
gamedev.net
🔒 Locked

Untitled

Started by Gadz 1 reply 350+ views
Original Post
Gadz
Gadz
Thanx guys. Found Some stuff to calculate the norms. One question. the new point nx ny nz calculated after the cross product. Does glNormal3f() see that as a vector starting at (0,0,0) going thru (nx,ny,nz)?
wendigo23
wendigo23
It is just a direction. It doesn't start anywhere.
Solias
Solias
Quote:
Original post by Gadz
Thanx guys. Found Some stuff to calculate the norms.
One question. the new point nx ny nz calculated after the cross product. Does glNormal3f() see that as a vector starting at (0,0,0) going thru (nx,ny,nz)?


Yes you could look at it that way. Remember that only the direction and length of that vector matter however (and the length should be 1.0 if you want correct lighting).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.