Create a Virtual World
Creating a virtual world involves several tasks. You can use the 3D World Editor throughout the process of building a virtual world, and you can perform the tasks 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.
Here is an example of 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 Edit a Virtual World.
Open a new virtual world 3D file.
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.
Under the
ROOT
node, add aTransform
node in the virtual world for each object that you want to share properties with other object in that sameTransform
node.Under the
Transform
node, include nodes in a hierarchy, such as:children Shape appearance Appearance material Material texture textureTransform Geometry Box
Use the object properties edit pane to change default property values to create the effects that you want.
To define aspects (such as textures) for virtual world objects, insert 3D World Editor library objects. Give a
DEF
name to each object that you create, so that you can access them using Simulink® 3D Animation™.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)
Save or export the virtual world 3D file.