These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Using Quaternion for smooth camera animation

regal
regal's picture
Registered: Jun 10 2008
Posts: 9

Hi,
In Acrobat3D API ref I found Quaternion can be used for smoothing camera and mesh animation..
But How can we implement this in camera?
I have certain buttons each displaying a camera view created using the canvas.setCamera() method.. Each button lead to correct camera, but the movement between them is not smooth as views selected from ModelTree or views set using 'Go To 3D View'..

Can anybody please help me..

Thanks in Advance..

lkassuba
lkassuba's picture
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Have you seen the javascripts available in the [url=http://www.acrobatusers.com/tutorials/2007/3d_smooth_camera_rotation/3d_SmoothRotation.pdf]Smooth Rotation[/url] tutorial?

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

regal
regal's picture
Registered: Jun 10 2008
Posts: 9
Hi,
Thanks for your reply..
I have the Smooth Camera Rotation javascript with me.I tried to implement some of the methods in that to my script.But its not working..The rotation that specified in Smooth camera rotation is not my actuall requirement.
I want implement the smoothness using the Quaternion object as specified in the API specification..Hope we can use that for smoothning camera animation,but I have no idea about its implementation..

Thanks again..