OK i'm writing a sort of scripting thing for scripting camera movements and whatnot. however i don't want to use linear interpolation because it looks bad. very clunky.
what i have is a set of positions and a set of angles for each point (keyframes, really). but i have 2 problems:
1) i need to use hermite interpolation to calculate the path. i used DBP's built-in 3d math commands to do this before, and found that hermite interpolation gave me the best-looking path, but BB doesn't have it as a command.. so i need some way to hermite interpolate stuff. anyone have any code? (i really can't look at sites with calculus on them and translate that into code.. especially since i'm only in geometry)
2) once i have the path... i need some way to make the camera follow it at a constant speed, as hermite creates a nice path -- but it speeds up and slows down. i've never been able to solve this and i did find a solution on some site after hours of searching but it was in calc and i didn't understand it at all.
i'd really like to know how to do this as it can be applied to a lot of stuff.
what i have is a set of positions and a set of angles for each point (keyframes, really). but i have 2 problems:
1) i need to use hermite interpolation to calculate the path. i used DBP's built-in 3d math commands to do this before, and found that hermite interpolation gave me the best-looking path, but BB doesn't have it as a command.. so i need some way to hermite interpolate stuff. anyone have any code? (i really can't look at sites with calculus on them and translate that into code.. especially since i'm only in geometry)
2) once i have the path... i need some way to make the camera follow it at a constant speed, as hermite creates a nice path -- but it speeds up and slows down. i've never been able to solve this and i did find a solution on some site after hours of searching but it was in calc and i didn't understand it at all.
i'd really like to know how to do this as it can be applied to a lot of stuff.