Build Virtual Reality Worlds
To create a virtual world, use VRML, X3D, or X3Dv code in an editor. You can use the default virtual world editor, the 3D World Editor. For an example that shows the major steps for building a virtual world, see Create a Virtual World.
Use the editor to:
Create a hierarchy of nodes that define the elements of the virtual world and control the display of the virtual world.
Insert nodes from the 3D World Editor libraries of virtual world objects.
Enhance a virtual world with features such as sound, stereoscopic vision, and rendering optimizations.
To create a virtual world, you can use the default virtual world editor, the 3D World Editor. For an example that shows the major steps for building a virtual world, see Create a Virtual World.
|3D World Editor||Edit virtual worlds for 3D animation|
Create and Edit a Virtual World
As an alternative to the default 3D World Editor, you can use another virtual world editor, the MATLAB editor, or a text editor.
The 3D World Editor is a built-in VRML and X3D editor.
When you install the Simulink 3D Animation™ product, the 3D World Editor is the default editor.
Create a virtual world by opening a new virtual world 3D file and adding a ROOT node with a Transform node that includes other nodes, such as Shape and Geometry nodes. Define properties for the nodes.
Create a simple virtual world and associate it with Simulink blocks.
The 3D World Editor includes a library of virtual world objects that you can insert into a virtual world.
Use the 3D World Editor for common tasks involved in creating a virtual world, such as adding objects, editing object properties, and copying and pasting nodes.
Explore the data types used by nodes for defining objects and the types of data that can appear in the node fields and events.
Control viewing and navigation for the visual world in the 3D World Editor.
Install V-Realm Builder to use instead of, or in addition to, the installed 3D World Editor.
Enhance a Virtual World
Set up viewpoints to guide visitors to places of interest in a virtual world.
Move or modify virtual world objects during simulation based on user input from the virtual world or events in the virtual world.
Use Simulink 3D Animation texture files.
For a node that is, or includes, an IndexedFaceSet node, you can improve rendering speed by reducing the number of polygons.
Add sound to a virtual world by using a Sound node.