Controlling the Runtime Behavior of 3D Views
A list of views can run based on parameters that you define, including the sequence of views that run and the interval between views. You can configure views to run as a screen saver or you can set up a button that runs views. With camera patrol, views are a series of "camera shots" that run in sequence, moving the camera around the 3D view from one shot to the next.
To define how you want views to behave in runtime:
-
Drop down the Camera button list in the Home ribbon's View section, then select Camera Patrol Options from the menu. The Camera Animation Options dialog box appears.
-
Select the Enabled check box to set up a camera patrol that automatically walks through the views during runtime. In runtime, after the user is inactive for a specified period of time (that is, the number of seconds you specify in the Inactivity Time field), the camera patrol will automatically cycle through the views in sequence.
-
At the top of the dialog box, set up global default values for the views you will be adding to the camera patrol:
-
In the Inactivity Time box, specify the number of seconds of inactivity that is to pass before the sequence begins. If you want the sequence to begin immediately, enter 1. The default is 30.
-
The Shot Duration field at the top of the dialog box specifies the default number of seconds that the camera will pause at each shot. The length of time is determined by the purpose of the shot and what runtime users will be expected to do, if anything, with the shot. You can override this value for each shot.
-
The Track-in Duration field at the top of the dialog box determines the default number of seconds it takes for the camera to move from one shot to the next. The number of seconds you enter will be determined by the size of the scene in which users will be maneuvering and how long it takes graphics to load. You can experiment with this number to achieve an optimum number of seconds. If you don’t want any animation between views, change the number of seconds to 0 (zero). You can override this value for each shot.
-
-
In the Shots box, use the icons to add the views to be included in the camera patrol. You can add selected shots, or add them all. You can also reuse a shot in the sequence by duplicating it and then moving the shot to an appropriate spot in the sequence.
-
Set up shot settings for each shot:
-
Select the shot in the Shots box.
-
In the Shot Settings box:
-
A checkmark in the Include in Camera Patrol checkbox includes the shot in the camera patrol. To remove it, uncheck this checkbox. This lets you keep a shot's configuration, even if you don't want it included in the camera patrol.
-
The Camera ID shows the shot you are defining. You can choose a different shot from the drop-down list.
-
The Shot Duration field specifies the number of seconds that the camera will pause at the shot. The length of time is determined by the purpose of the shot and what runtime users will be expected to do, if anything, with the shot.
-
The Track-in Duration field determines the number of seconds it takes for the camera to move to this shot. The number of seconds you enter will be determined by the size of the scene and how long it takes graphics to load. You can experiment with this number to achieve an optimum number of seconds. If you don’t want any animation leading into this shot, change the number of seconds to 0 (zero).
-
In the Track-in Acceleration [%] field, specify the percentage by which the camera animation leading up to this shot accelerates or speeds up as it leaves the prior shot. The default is 25%. To maintain a constant speed, enter 0.
-
In the Track-in Deceleration [%] field, specify the percentage by which the camera animation leading up to this shot decelerates or slows down as it approaches this shot. The default is 25%. To maintain a constant speed, enter 0.
-
-
Repeat for each shot.
-
-
If you don't want the set of camera shots to be made available at runtime, uncheck the Enabled checkbox. You can always return later to enable the camera shots.
-
Click the OK button.
Edit Views and Delete Views
You can also control the sequence of the views in the cycle. Click the Camera button, then select Edit views from the menu. The Edit Views dialog box appears.
-
In the Members box, select the view.
-
Click the Up arrow to move the view up in the list or the down arrow to move it down on the list of views. (Click Remove to delete the view permanently from the list.)
-
Modify the properties if you need to.
-
Click the OK button.
Set up a Button that Runs Views
You can add a button that users click to run one or a series of views. You can even set up a radio button group that lets users choose which selection of views to run. Follow these steps:
-
Add a button to the display. For more information, refer to Buttons.
-
For the button's pick dynamic, select Set View as the Command property.
-
Set the CommandParameter properties as described for the Set View command in Commands for Buttons, Pick Actions, and Function Keys.
See also: