Create a Virtual World

There are a number of tasks involved in creating a virtual world. You can use the 3D World Editor throughout the process of building a virtual world, and you can perform activities in many different ways.

For a step-by-step tutorial about building a virtual world using the 3D World Editor, see Build and Connect a Virtual World.

In general, the following is a common workflow for creating a virtual world using the 3D World Editor. This example workflow includes optional tasks and a small subset of the types of tasks that you can perform. For more information, see Basic Editing.

  1. Open a new VRML file.

  2. Under the ROOT node, optionally add:

    • A WorldInfo node to document the virtual world.

    • A NavigationInfo node to define overall navigation characteristics of the virtual world, such as the Avatar size.

  3. Under the ROOT node, add a Transform node in the virtual world for each object that you want to share properties with other object in that same Transform node.

  4. Under the Transform node, include nodes in a hierarchy, such as:

    children
      Shape
        appearance
          Appearance
            material
              Material
            texture
            textureTransform
          Geometry
            Box
  5. Use the object properties edit pane to change default property values to create the effects that you want.

  6. Insert 3D World Editor library objects to define aspects, such as textures, for virtual world objects.

    • Give a VRML DEF name to each object that you create, so that you can access them using Simulink® 3D Animation™.

    • You can use Orbisnap to view library objects to determine which objects you want to insert into the virtual world.

  7. In the virtual world display pane, use the context menu to specify display characteristics, such as:

    • View characteristics (for example, zooming and a navigation panel)

    • Viewpoints

    • Navigation characteristics (for example, methods (such as fly or walk) and speed)

    • Rendering techniques (for example, antialiasing, lighting, and transparency)

  8. Save or export the VRML file.

Was this topic helpful?