WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-11-2008, 10:19 AM
masaki masaki is offline
Member
 
Join Date: Jan 2008
Posts: 63
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.

-masaki
Reply With Quote
  #2  
Old 01-11-2008, 09:54 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Have you tried using cubic bezier mode? This will ensure that the object passes through the control point.
Reply With Quote
  #3  
Old 01-13-2008, 12:22 PM
masaki masaki is offline
Member
 
Join Date: Jan 2008
Posts: 63
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:
Code:
positions = [[0,0,0],[0,0,1],[0,0,2],[0,0,3],
			[-0.0523359562429438,0,3.99862953475457],
			[-0.156864419510597,0,4.99315143012285],
			[-0.313298884550828,0,5.98083977071799],
			[-0.521210575368588,0,6.95898737145179],
			[-0.780029620471108,0,7.92491319774086],
			[-1.08904661484606,0,8.87596971403601],
			[-1.44741456439136,0,9.80955014053321],
			[-1.85415120746716,0,10.7230955981758],
			[-2.30814170720670,0,11.6141021223642],
			[-2.80814170720670,0,12.4801275261486],
			[-3.3081417072067,0,13.3461529299331],
			[-3.8081417072067,0,14.2121783337175]]
thanks.
-m
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Animation Tracks.... k_iwan Vizard 2 03-26-2007 06:52 PM
Jumpy animation Elizabeth S Vizard 1 11-08-2006 03:11 PM


All times are GMT -7. The time now is 06:36 AM.


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