User`s guide
Virtual Reality World and Dynamic System Examples
1-27
objects. In this case, the virtual world displays three graphs that update at each major
simulation time step.
Vehicle Dynamics Visualization with Live Rear Mirror Image (vr_octavia_mirror)
The vr_octavia_mirror example extends the vr_octavia example by showing the
capability of the VR Sink block to process video stream on input. In the virtual world, a
PixelTexture texture map is defined at the point of the vehicle left rear mirror. The
example places a 2-D image from a viewpoint at the same position (looking backward).
That image is looped back into the same virtual world and projected on the rear mirror
glass, creating the impression of a live reflection. Texture images can have different
formats (corresponding to the available SFImage definitions according to the VRML97
standard). This example uses an RGB image that has the same format as the output
from the VR to Video block. In the VRML file associated with the scene, you can define
only a trivial texture (in this case, a 4x4 pixel checkerboard) that gets resized during
simulation, according to the current size of the signal on the input. See the Plane
Manipulation Using Space Mouse MATLAB Object example.
Vehicle Dynamics Visualization with Video Output Example (vr_octavia_video)
The vr_octavia_video example illustrates how to use video output from the VR To
Video block. This model performs simple operations on the video output. It requires the
Computer Vision System Toolbox™ product.