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

Camera Transition Part 2

dudeBot
dudeBot's picture
Registered: Mar 29 2007
Posts: 4

This is a follow-up to the question addressed by Donna.
 
I have seen examples of PDFs which have smooth camera transitions, and I believe that it was all done in Acrobat using JavaScript. I believe that it has to do with maxtrix transformations.
 
I'm not looking for a solution as easy as it would be if I was using Director, (I'll take it though if there is one :) ).
 
I've done some 3D programming
where I had to use trig, and I figured that a similar approach would be needed in this case.
 
I was just hoping that someone could either point me to some actual code examples, or provide an overview of how to approach this problem in Acrobat using JavaScript.
 
Thanks again for any advice on this matter.
 
This was the original question:
 
I have created multiple views in a project I am working on in Acrobat Pro 8 and
have tied in buttons to go to each of the views. Instead of having the views snap to place, I would like to have a smooth transition.
I have used interpolation in
Director MX, but I'm not sure how to get it to work in Acrobat.
 
I need an EXPERT, and I hear that this is the place to find one :)

My Product Information:
Acrobat Pro 8, Windows
thomp
thomp's picture
Expert
Registered: Feb 15 2006
Posts: 4411
Smooth transitions aren't a problem with Acrobat 3D. But all those samples you see where an object like a brake assembly transitions to an exploded view are done with animations, not views. There are two ways to do animations, with "Key Frames" or JavaScript.

Here's a fancy sample using JavaScipt.
[url=http://www.windjack.com/WindJack/RobotArm_3Ddemo2.pdf]http://www.windjack.com/WindJack/RobotArm_3Ddemo2.pdf[/url]

You could code this up yourself (you'll need analytic geometry more than trig), but I'm pretty sure there are tools out there for creating various types of 3D animations by simply specifying the endpoint parameters. Take a look at the 3DToolkit that comes with Acrobat 3D, look on the 3D page on this site and the Adobe 3D user to user forum. I think you'll find plenty on this topic.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script