Download SimMechanics User`s Guide

Transcript
mech_pdf.book Page 29 Tuesday, February 1, 2005 1:57 PM
Custom Visualization with Virtual Reality
Example: Viewing Custom External VRML Files for the Conveyor Loader
The demo model mech_conveyor_vr is a modified version of the original
conveyor model mech_conveyor and comes with external VRML files
containing static renderings of the machine parts in their initial positions. This
example uses the V-Realm Builder editor to view the files.
1 In the matlabroot\toolbox\physmod\mech\mechdemos\ directory, open
these external VRML files with V-Realm Builder:
base.wrl, convmech.wrl, link1.wrl, link2.wrl, link3.wrl,
link4.wrl, pusher.wrl
2 With the conveyor.wrl world in focus, click the Test Mode button
in the
V-Realm Builder toolbar and view the complete machine in the Main view.
Right-click in this window to configure the navigation. If the colors seem
washed out, toggle off the headlight.
Main view
Toggle Headlight
These conveyor parts are more realistic than the equivalent ellipsoids or
convex hulls available in SimMechanics visualization:
6-29