Interpolating Normals

Started by
0 comments, last by hplus0603 18 years, 4 months ago
I am wanting to find the surface normal of any posistion on my map given the x,z posistion and the vertex normals of the surface. What is the best way to find a weighted average of the vertex normals surrounding the given point?
Advertisement
Do a lerp of the surrounding normals, weighted by the distance to the specific normals. Then normalize that lerped value.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement