Hi, I have spent days on this and I cant work it out
I have a selection of points (not on a flat plane) and I have a test position.
It returns an array that represents the weighting, related to the proximity to 
the other points.
I want to have it so that when the test position is directly at a point, the 
value for that point in the array = 1
and the rest will be zero
as the test point moves around the area it interpolates these values, but they 
always add up to 1
It sounds really easy, but I’ve been literally* tearing my hair out over this 
for days.
Ive managed to get barycentric interpolation working for a flat plane, and only 
3 points, but I need it to accept multiple points in 3d space.
Please help. I’m going bonkers over this
Paul
*(not really literally) 

Reply via email to