Visitors to your virtual world navigate in an environment that 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.

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.

Related Examples

Was this topic helpful?