Skip to main content
GameDev.net gamedev.net
🔒 Locked

Smooth Shading?

Started by mavric Jul 21, 2002 at 9:09 AM 0 replies 300+ views
Original Post
mavric
mavric
Hi Can someone please tell me how to calculate the normal for a point on a triangle from the three vertex normals to create a smooth shaded object(not flat shaded)? I have the three vertex normals , the point on the triangle , the vertex coordinates and the plane normal. Please help me.
alvaro
alvaro
Linearly combine the vectors, using baricentric coordinates as weights. Then normalize the result. Baricentric coordinates are just the areas of the three triangles formed by connecting your point with each vertex of the triangle. That should work fine.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.