I just read the thread. It looks like this is a simple solution...
Quote: "1. after setting up splines in my editor, I would generate a linear array of points.
2. to create the array you traverse the spline as you normally do, however you only add a point to the array when DISTANCE between the current position and the last sample point is greater than n."
Many years ago, this is how I managed my tracks in a very simple project.
I was interested in the theory that you could use the length of the curve handles to calculate the velocity. I use nodes and handles to create a c-spline. But it would need to be combined with the angle of the curve which makes it very complex.
For example, you could have handles close to zero from the node, but the angle could be anything from 0 to 180 degrees.
Quote: "You just have to write a normalize function for you catmull rom and everything will be fine"
For me, the word
just is complicated.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt