This topic is now archived and is closed to further replies.


calculating normals

Recommended Posts

the same as with any model
take 3 points (a,b,c) of a quad,tri from the landscape
p = b - a;
q = c - a;
normal = crossproduct(p,q)

this''ll give u the planes normal for the tri.

step 2 to make it smoother take a landscape point see what other tris/point share this point add up all their normals add divide them by the number of tris. repeat with all the landscape points

Share this post

Link to post
Share on other sites