Sign in to follow this  
Lord_Vader

2d && 3d Interpolation

Recommended Posts

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

Share this post


Link to post
Share on other sites
For cameras and enemy movements the coolest onethat I've had a chance to use so far is Catmull-rom splines.


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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this