# Normal smoothing on an n-gon

This topic is 4518 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi there, Given a point on a polygon with n vertices, and a vertex normal for each of those vertices, I want to calculate a smooth interpolated normal at given point. For n = 3, my solution was to calculate the barycentric coordinates and interpolate the normals using those weights. For artibitray n, I could do something along the lines of: 1. Triangulate the polygon 2. Loop through the triangles, and calculate the barycentric coordinates for the point. If barycentric coordinates indicate point-in-triangle, interpolate and exit. However, I am actually hoping for a more elegant solution (perhaps assuming convexity of the polygon) that does not involve triangulating the polygon. If anyone could comment on this, it'd be very much appreciated! Thanks in advance for any help you smart folks might have to offer, Paul-Jan

1. 1
2. 2
3. 3
frob
15
4. 4
5. 5

• 9
• 20
• 12
• 13
• 14
• ### Forum Statistics

• Total Topics
632143
• Total Posts
3004419

×