Doing some 3D stuff in wpf- want to use a simpler test to see if everything is working (before moving to curves).
The basic question is given two points x1,y1,z1 and
Let t vary from 0 to 1. Use the following:
t
(x3, y3, z3) = (1-t)*(x1, y1, z1) + t*(x2, y2, z2)
When t=0 you get the first point. When t=1 you get the second.
This method is called linear interpolation.