The 3D World Editor includes a library of virtual world objects, which you can insert into a virtual world. The library consists of component, texture, and material objects.
These library objects supplement the default empty nodes available
via the Nodes menu or the Insert
From context menu item. The library objects are predefined
with specific nodes and property settings to represent common virtual
world effects. For example, from the
you can choose from several vehicle objects, such as a van or pickup
After you add a library object to a virtual world, you can modify its nodes and properties.
To add a 3D World Editor library object to a virtual world:
Select the parent node under which you want to insert the library object.
Use one of these techniques to access the library objects:
Select the Nodes > Insert From menu item.
Right-click the parent node and select the Insert From menu item.
The set of objects displayed depends on the parent node that
you select. For example, if you select a child node under a
you can choose among
Component sublibrary objects.
Follow the folder paths to find the object that you want to insert.
You can also insert VRML objects from other locations, using the Insert From > Other Location menu item.
Transform node of the
file that you select from another location is inserted in place into
the tree view of the virtual world that you are editing.
If you want to insert a whole VRML file into the virtual world that you are editing, use the Nodes > Inline VRML file menu option.
Before you add a custom library object from a location other than from the 3D World Editor object library, see Guidelines for Using Custom Objects.
If you use a VRML object from a source other than from the 3D World Editor object library, the object must comply with the following guidelines:
A component object must be in a VRML file that contains
at least one
A material object must be a VRML file whose only content
is a fully-qualified
A texture object must be in either:
.gif graphics file for use in the URL field
A VRML file whose only content is a fully qualified
If you create VRML objects to use with the 3D World Editor, create your own folder for storing the custom objects. Avoid using the 3D World Editor library folder to ensure that you can:
Edit the custom library object in the library folder; the 3D World Editor library folders are generally read-only.
Update to a future version of the Simulink® 3D Animation™ product without compatibility issues relating to mixing custom objects with the 3D World Editor objects.