WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   Smooth transition from Linear to Bezier in animation (

masaki 01-11-2008 09:19 AM

Smooth transition from Linear to Bezier in animation
hello all,
I was wondering if there is a way to switch from Linear to Bezier translatemode in an animation path without it becoming jerky when the switch happens. I have a pretty simple path that starts off translating in a straight line (this is the part i need to have it linear), and then i need the path to start curving and then at the end it is a straight translation again. I've tried making the straight line control points linear, and the others bezier. I've also tried making a timer function to turn autorotate on and off while keeping all controlpoints bezier. Please let me know if there's a way to make a seamless combination of straight and curved animation paths. thanks in advance.


farshizzo 01-11-2008 08:54 PM

Have you tried using cubic bezier mode? This will ensure that the object passes through the control point.

masaki 01-13-2008 11:22 AM

Hi farshizzo,
yes i've tried cubic bezier but it behaves very oddly when i use it. instead of following a smooth curve, it swings from left and right between each control point. Oh and by the way, the animation path is linked to the mainview - so any jerkyness is really apparent and i really need a seamless transition. if it would help, here are the control points for one of the paths:

positions = [[0,0,0],[0,0,1],[0,0,2],[0,0,3],


All times are GMT -7. The time now is 10:22 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC