Interpolate the normal of a point along a triangle

Miscellaneous Forums/General Discussion/Interpolate the normal of a point along a triangle

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

In other words:

1. Calculate the normals at the endpoints of each scanline of the polygon by linearly interpolating the vertex normals across the polygon edges.
2. Then linearly interpolate the normals at the end of each scanline across the scanline.
3. You will also need to normalize the resulting normal at the end of each scanline and at the point in the polygon.