From the DOCs:
"The smooth triangles use a formula called Phong normal interpolation to
calculate the surface normal for any point on the triangle based on
normal vectors which you define for the three corners."
I'm curious as to what the "Phong normal interpolation" formula is.
Actually I guess my real question is:
In a smooth_triangle you have a 'surface normal' vector. What is
considered
the NORMAL normal for each vertex? I really have no idea how to use this
part.
I want to be able to average any given number of smooth_triangles who
have
a vertex at the same vector location, .ie (please excuse my ascii art)
____
\ /\ I want to average a,b and c's normals together
for
\ / \ a smooth transition but I'm not sure what would be
a \/c___\ the correct starting point.
b \ /
\ /
\/
--
...coffee?...yes please! extra sugar,extra cream...Thank you.
Post a reply to this message
|