User`s guide
7 Viewing Virtual Worlds
7-44
quality numbers result in lower video quality and smaller file sizes. You need to
specify an identification string of a codec that your system supports.
• None — Prevents any compression for the animation file.
7
Disable the navigation panel. The navigation panel appears at the bottom of the
virtual scene view. You might want to turn off this panel for a cleaner view of the
virtual scene. Choose View > Navigation Panel > None.
You can re-enable the Navigation Panel (for example, choose View > Navigation
Panel > Halfbar) after you are finished recording the .avi file.
8
Click OK.
After you define an animation file, you can record animations. See “Start and Stop
Animation Recording” on page 7-40. If you want to record animations on a schedule,
see “Schedule Files for Recording” on page 7-44.
Schedule Files for Recording
This topic describes how to schedule the recording of an animation using the MATLAB
interface for a virtual world that is associated with a Simulink model. In this case, the
timing in an animation file derives from the simulation time. One second of the recorded
animation time corresponds to one second of Simulink time. To schedule the recording of
an animation file, you preset the simulation time interval during which the animation
recording occurs. This procedure uses the vrplanets example. It assumes that you have
already configured the recording parameters for an animation file.
1
In the MATLAB Command Window, type the model name. For example:
vrplanets
The Simulink model is displayed. Also, by default, the Simulink 3D Animation
viewer for that model is loaded and becomes active. If the viewer is not displayed,
double-click the VR Sink block in the Simulink model.
2
From the Recording menu, choose Capture and Recording Parameters.
The Capture and Recording Parameters dialog box is displayed. In the Recording
section, this dialog box contains the Record mode list. Note that the Record mode
list is enabled only if you also select either or both of the Record to VRML and
Record to AVI check boxes.