Documentation

Viewpoints

Visitors to your virtual world are navigating in an environment you create for them, using navigation methods allowed by the viewer (Walk, Examine, Fly). It is useful to set up in the world several locations, places of interest you want to point the visitors to. These locations are called viewpoints. Visitors can browse through them, carrying out a guided tour you prepared for them, gaining the visual information you consider important in your model.

When entering a world, your are placed at the first Viewpoint node encountered in the file. It is especially important to define this viewpoint carefully as the most interesting entry point - default viewpoint.

Each virtual world has as many viewpoints as you define for it. You can define viewpoints in the virtual world through your chosen editor or through the Simulink® 3D Animation™ viewer.

Defined viewpoints can be:

  • Static — usually created at the top level of the virtual world object hierarchy or as children of static objects (Transforms).

  • Dynamic — created as children of moving objects (objects driven from MATLAB®/Simulink) or linked to them using the VRML ROUTE mechanism.

Dynamic viewpoints allow you to create interesting effects like view at the driving range from the view of the driver.. Visitors to a virtual world navigate through the virtual world environment using the Simulink 3D Animation viewer navigation methods Walk, Examine, Fly, and None. In addition to these navigation methods, a virtual world creator can set up points of interest, known as viewpoints, in the virtual world. You can use viewpoints to guide visitors through the virtual world and to emphasize important points.

When a visitor first enters a virtual world, the default viewpoint is used. The default viewpoint is the first Viewpoint node in the virtual world file. Define the virtual world default viewpoint so that it is the most interesting entry point to the virtual world.

Each virtual world has as many viewpoints as you define for it. You can define viewpoints in the virtual world through your chosen editor or through the Simulink 3D Animation viewer.

Related Examples

Was this topic helpful?