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

Modifying CameraRotate.js

bludin
bludin's picture
Registered: Jun 25 2007
Posts: 29

I would like to modify the CameraRotate.js from the Smooth Rotation tutorial to achieve two things:

1. The initial camera view should not be re-calculated but taken over from the default view.
2. The model should start coasting at a certain speed when the 3D annotation is enabled.

Is there anybody out there willing and able to show me how to do it?

Thanks in advance,

Beat

- - - - - -

OK, I just found the answer to the second point myself:

Under Private Variables, change

var yawDelta = 0.0; to 0.5

and

var yawCoast = true; to true

Now I just need to find out about point 1

prenni
prenni's picture
Registered: Nov 28 2008
Posts: 2
Hi, I'm searching for a way as well to use CameraRotate.js with the standard view. Have you allready figured something out?

What do you think about contacting the programmer Daniel Beardsley directly?

Best Markus
bludin
bludin's picture
Registered: Jun 25 2007
Posts: 29
No, I still haven't found the solution. Contacting Daniel Beardsley might be a good idea - go ahead!

Cheers, Beat
prenni
prenni's picture
Registered: Nov 28 2008
Posts: 2
Hi,
sometimes you don't see the forrest because of all that trees;)

There is a solution for using individual cameras within the CameraRotate-Script:

http://www.acrobatusers.com/tech_corners/3d/3d_ask_expert/2006/camera_rotate_js/

Best Markus