Archived

This topic is now archived and is closed to further replies.

Paths .....

This topic is 5779 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Ok, I want my camera to move along a set path. This is for the mini-demo contest. Now, the easiest way I can think of is to have a series of points, and then to linearly interpolate between these points. This is easy but I can forsee one problem: Its linear eg if the points are not good enough it will jerk. So I looked around and found out there is cubic spline interpolation. Except that looks like a nightmare with control points, lotso maths etc. So I was wondering if anyone can suggest an easy way to move the camera along a set path but have the path nice and smooth. Or am I going to be resigned to linear interpolation? Thanks, -wolfman

Share on other sites
set points....ok im just being stupid about it....however

make an equation, pull out your little TI 83, nice little function, and use those points. Dont have to worry about jerky.

Iknow this is a bit more complicated then it has to be, but its how i would do it.

Share on other sites
Quit yer whining. Cubic spline interpolation is pretty much the easiest way out there to make curves. Spend a little time reading about them, and you will be rewarded.

Don''t listen to me. I''ve had too much coffee.

Share on other sites
Ok, I had a look at quaternion slerps .... and went right off em! Im not sure that complex numbers & 4D maths is easier than cubic splines ..... so I went and had a major look around for a good CS tutorial .... and I found one that had stuff I could follow in it .... and now im almost done, so thanks for giving me a kick up the backside Sneftel - its what I needed. My maths has allways been my weak point!

-wolfman

1. 1
Rutin
42
2. 2
3. 3
4. 4
5. 5

• 9
• 27
• 20
• 9
• 15
• Forum Statistics

• Total Topics
633392
• Total Posts
3011637
• Who's Online (See full list)

There are no registered users currently online

×