I have a triangle and the value of the pixel intensity at each of the three corners of the triangle.  I want to interpolate to find interpolated pixel intensities for a set of points inside the triangle.  How can I do this?The method I've tried is to do an value determination based on the distance of that fill-in point from each of the corners.As an example, here is a single triangle example, with three points described in the format of (Value, X, Y), though in practice all values might be floating point.(1.78, 2337, 1955)(2.95, 2342, 1948)(1.12, 2347, 1941)
Most Efficient Method To Determine Triangle Fill Values Based On Corner Values
algorithms;computational geometry;graphics