Visualization Guide
Visualization Guide
Visualization Guide
|
The Animation Producer dialog box's File menu contains items for working with scripts.
Choose: |
To: |
---|---|
Open Script… |
Open an existing script. |
Include Script… |
Include an existing script in the open script (see Including scripts). |
Scale Script… |
Apply a multiplier value to the open script (see Scaling scripts). |
Clear Script… |
Clear all entries in the open script. |
Save Script |
Save the open script to disk with the current filename, and a .scr extension. |
Save Script As… |
Save the open script file to disk with a different name. |
Record Script… |
Record a script, using the open script file. |
Continue Recorded Sequence… |
Continue recording a script on a networked system or a recording that was aborted. |
Record Selected Frames… |
Record selected frames in the sequence. |
Motion Blur |
To exaggerate the motion blur effect in a sequence. |
Exit |
Close the Animation Producer dialog box. |
Script entries from the open script file can be edited from within the MicroStation environment, or manually with a text editor.
Double-clicking a script entry in the Animation Producer dialog box, opens the appropriate Edit dialog box. | |
Conflicts between enabled script entries only are checked. When a conflict is found, an alert box gives you the option of overwriting the existing entry or disabling the new entry. Disabled entries are indicated in red in the Animation Producer dialog box. |
You can edit script files manually, using an ASCII text editor. The format of the script file is similar to material palettes. The simple example below shows how the script files are constructed. Top section: Header information, showing the view to be used, the script scale, and any defined parameters. Middle section: Script for actor BOX1, showing that the actor is to rotate about the z-axis A1 degrees per frame. Bottom section: Script for actor CYL1, showing that the actor is to rotate about the x-axis at twice A1 degrees per frame. |
Where necessary, you can define a multiplier value to be applied to the open script. This is useful for sizing an animation to run for a predetermined time or adding frames to smooth motion.
Choosing Scale Script from the dialog box's File menu opens the Scale Script dialog box. | |
Caution is required when scaling a script that contains parametric motion control (that is, referencing specific frame numbers). |
The scale factor is not cumulative. To restore a script to its original scale, simply reset Scale to 1.0. |
Previously created scripts can be included in the open script. For example, you may have created and scripted a clock actor, with moving hands and pendulum, in a previous design. Rather than create a new animated clock, you can copy this actor into the new design, and then include the script. Alternatively, if you have created a new clock, you simply give the actor(s) the same name(s) as in the original, and then include the script of the original clock.
All animation sequences are assumed to start at frame number 0. If you are using an older script that started at frame number 1, you can use the key-in ANIMATOR SCRIPT ADJUST to adjust the script by subtracting 1 from all the frame numbers. Only use this key-in once. |
You should check to ensure that parametric scripts are still correct after the adjustment. |