The
Show Scripts window
allows the user to run an animation script in the
MGED display window. The window is basically a front-end to the
MGED preview
command, with the added feature that
the window restores animation curves which are normally
"zapped" from the screen by the preview
command.
The Show Script window has the following entry boxes and
buttons:
- Script file
- This box specifies the file name of the animation script.
- Max frames per second
- This value specifies the maximum rate at which frames will be
shown in the display
window. The actual rate may be slower, depending on speed of the display.
- Start frame
- This box specifies the frame number of the first frame in the
script to be shown.
If no start frame
is specified, then the animation display will start at first frame
encountered in the animation script.
- End frame
- This box specifies the frame number of the last frame of the
script to be shown.
If no end frame is specified, then the animation display will continue
to the end of the animation script.
- Polygon Rendering
- If this checkbutton is enabled, animated objects will be rendered
with polygons rather than in wireframe form.
- Show
- This button begins the animation.
Before pressing this button, the user should
make sure that all of the objects which are to be animated are currently
being edited (i.e. with the MGED
e
command).
- Up
- This button raises the parent of the Show Scripts window to
the top of the stacking order.
- Cancel
- This button closes this window.
- Restore
- When an animation is run in MGED, the animated objects and the
view state are left as specified by the last frame of the animation.
Also, any animation curves maintained by the curve editor are "zapped"
from the screen. The Restore button returns all of the objects
to their normal positions in the model, and restores the viewing state
to the view that was current before running the animation. The
animation curves are also redisplayed.
Previous Section: Combine Scripts
Index