| View previous topic :: View next topic |
| Author |
Message |
Kahz
Joined: 12 Sep 2005 Posts: 190
|
Posted: Fri Sep 28, 2007 4:14 am Post subject: Mouse movement along a catmull-rom spline |
|
|
| If I have two points a beginning and a destination how can the movement between these two points be plotted with a random point in the middle using catmull-rom interpolation? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Fri Sep 28, 2007 8:44 am Post subject: |
|
|
a catmull-rom spline requires 4 points at least (technically just 3).
you will have to write a loop to iterate along the path.
It looks interesting, but I need to actually sleep tonight _________________
(Common Answers) |
|
| Back to top |
|
 |
evandevon
Joined: 22 Apr 2008 Posts: 82
|
|
| Back to top |
|
 |
|