News for hackers. Stuff that matters.
Re:Mathematical Intuition Behind Bezier Curves by boulos on Sunday May 08, 2016 @11:32PM (#11657439)
You probably want a Catmull-Rom or similar interpolating (instead of approximating) spline. It's much easier to control animation or other paths when you know it'll precisely go through the points you specify.
Re:Mathematical Intuition Behind Bezier Curves by blt on Monday May 09, 2016 @01:06AM (#11657743)
You also need to care about velocity when using splines as trajectories. In general, if you sample a spline at a constant delta-t, your speed through the world won't be constant.
Re:Mathematical Intuition Behind Bezier Curves by CountHackulus on Monday May 09, 2016 @05:18PM (#11663303)
This is especially true if you've got large smooth curves with small "sharp" curves that you want to keep a constant speed over. You can mostly just ignore it if all of your curves have a fairly constant curvature, but obviously test first.
Re:Mathematical Intuition Behind Bezier Curves by CountHackulus on Monday May 09, 2016 @05:17PM (#11663288)
I did end up using Hermite curves and letting the designers and animators tune it how they wanted.