PDA

View Full Version : normal calculations



anezch
05-29-2003, 12:35 PM
Hi! I'm a real-real beginner.
Could someone tell me the vertex normal calculations?
Links to 3D basic calculations articles would be very helpfull.
Thanks! (^_^)
(Sorry about my English!)

chowe6685
05-29-2003, 04:39 PM
look up the cross product, you can use this to find a face normal, then average the face normals for each face attached to a vertex to compute the normal for that vertex.
Alternately if your surface is mathmatical, like a bezier curve you could use calculus and a derivative, but unless you are familier with that, the cross product is your best bet

yaro_dup1
05-30-2003, 08:05 AM
http://www.flipcode.com/geometry/