Path animation with lots of control points.....
Hi,
I got the script working with lots of tweaking. The value of x, y, z in Blender translates as x, z, y in Vizard. With my control points in OSG format I have to make it as x, -z, y in vizard, with other format.... different xyz coordinates.
It runs. It works fine. Now in my huge environment, I have 1200 control points that the camera will have to go though. I used viz.CUBIC_BEZIER and viz.BEZIER but none of them give me smooth curve results. It seems like at every single control points the camera tends to jerk a little bit before moving to the next control point.
i.e between point 1 to point 2 the animation is smooth, but by the time it hits point 2 the camera angle move quickly to the direction of point 3. This quick movement doesn't blend from the previous camera orientation smoothly.
Is there another method to get a smoother result? perhaps cubic_bezier on top of cubic_bezier?
Thank you,
k_Iwan
|