Tag Info

New answers tagged


EDIT (added short steps): get triangle normal vector v1 (normalized) get reference surface normal vector v2 (normalized) get angle between normals : angle = acos(v1•v2) (where • = 'dot' product ) get slope = Tan(angle) if you need a surface normal here come the simple algoritm : A surface normal for a triangle can be calculated by taking the vector ...

Top 50 recent answers are included