Interpolation Tricks
category: general [glöplog]
Wrote a short tutorial on different ways of getting from point A to point B.
http://iki.fi/sol/interpolation/
http://iki.fi/sol/interpolation/
A useful resource, thanks for writing this.
Yes, thanks a lot. looks very helpful to me, especially the graphs with the different kinds of curves and the formulas.
Wow great ! At last something useful and simple to understand. Thanks a lot.
cool, nice stuff
splendid!
Neat article :)
I think the "spline" chapter either needs to be redone or scrapped. Perhaps you can keep the graph and say "if you need more control" and link to some more informative page on the topic.
Otherwise its excellent. I am quite sure i am gonna use this to explain why lerps aren't "neat" to "ordinary people".
Otherwise its excellent. I am quite sure i am gonna use this to explain why lerps aren't "neat" to "ordinary people".
Funny. I'm working on some line interpolation techniques. Integrating lines and points and shit to get some smooth curves. Reinventing the wheel. It's just a low pass filter.
Good stuff sol, it's much appreciated :)
Also on the subject of interpolation, with the idea of asm implementation (from a time when muls were slow):
http://abrobecker.free.fr/text/quad.htm
http://abrobecker.free.fr/text/quad.htm
float pos = 0.75f + 0.25f*powf(sinf(t*3.141592f*0.5f), 0.3f);
(really nice tutorial, it's pretty basic stuff but essentially contains all you need to know about making movement look good)
Thanks a lot, baah!
good idea to do a write up on this, as these are needed in so many different areas... You may want to mention, for people doing x86 stuff, that this is a rare case where SSE can help you out: if you're going to be interpolating masses of values, it can be a good idea to do four at a time... (not always practical, though and as always, as you may need to go out of your way with memory layouts...) Agree that the spline part can do with some more work (but then, it's a can of worms, isn't it?) (can of worms, now that gives me an idea) (oh, no!)
Nice tutorial thanks! It will be helpfull since I was only using linear till today.
nice tutorial.
Other nice one here: http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/interpolation/
Other nice one here: http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/interpolation/
Links added as further reading.
And for completeness: submissive's article.