2d && 3d Interpolation
Hello guys.
I am looking for any possible 2d and 3d interpolation method. I have done some search but I havent found anything good enough(with analysis of the method) except 1d interpolation which is abundant.
I would like if possible some links that describe any of those methods(especially 3d interpolation).
Thanks
For cameras and enemy movements the coolest onethat I've had a chance to use so far is Catmull-rom splines.
Pn are the control points
Q is the intepolated value
t = value from 0 to 1 (0 = start, 1 end)
t2 = t * t
t3 = t * t * t
The beauty of this is that the spline passes though all the control points if you want to loop it.
Q = 0.5 * ((2*P1) + (P2 -P0)*t + (2*P0 - 5*P1 + 4*P2 - P3)*t2 + (-P0 + 3*P1- 3*P2 + P3)*t3)
Pn are the control points
Q is the intepolated value
t = value from 0 to 1 (0 = start, 1 end)
t2 = t * t
t3 = t * t * t
The beauty of this is that the spline passes though all the control points if you want to loop it.
A 2D or 3D interpolation of a curve is just 2 or 3 1 demensional interpolations where each 1 demensional curve represents the position in one axis with respect to the parameter. Unless you are referring to interpolations of surfaces or spaces rather than curves which is something completely different.
Quote:
Unless you are referring to interpolations of surfaces or spaces rather than curves which is something completely different.
I am referring to interpolations of surfaces ans spaces.
I want to create 3d perlin noise.
http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
http://mrl.nyu.edu/~perlin/noise/
http://mrl.nyu.edu/~perlin/noise/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement