Inline
An inline is a vrml file (3D scene) which can be inserted into the scene as non-modifiable block of external geometry.
Adding 3D elements as inline is very useful for reducing the size of the scene. When you need to repeatedly add to the scene the same element (for example ten identical chairs), you can choose to add them as inlines, because in this way they will weight as one.
Properties
| Name |
Type |
Description |
| Url |
TextBox |
Specifes the url adress for a vrml file. |
Remarks
How to add an Inline to the scene.
To Add an inline into the scene:
- Open the "Add" pull down menu and select this command to add an "inline" element in the scene tree.
- Select the "Inline" element in the scene tree to open the dialogue window.
- Use the button "change" to choose or modify the vrml file to insert in the scene.
- Use the button "clear" to cancel the file. An Inline node with an empty URL does nothing.
On each one of this blocks it is possible to carry out all the operations found in the "Grouping" menu (Transform, Collision, Door, SimpleLod, Anchor, Group), therefore it is possible to move, rotate, scale etc... but it is not possible to modify the materials (textures).
This command is very important and useful as it is possible to organize work for separate blocks: the user (or more users) can work on each single block and then assemble them in a single scene (main scene). Any subsequent modification to each single block will be automatically visible even in the main scenes.
How to prepare 3D scene to Inline.
Before saving a scene as "Inline" you need to clean it (to hide lights and viewpoints, otherwise they both will be added in the main scene):
- Open the "Edit" pull down menu and select "Clean Scene"
- Select "Turn Off All Lights"
- Select "Hide All Viewpoints"
- Save the scene
Now the scene is ready to be inserted as "Inline" into another scene.
When you open the "Inline" scene with VS you have to reactivate all liths (lights menu) to work on it.
How to group two or more Inlines.
If you need to group (Transform, Collision, Door, SimpleLod, Anchor, Group) different inlines it is necessary not to select them in the 3D window, but to select (on the scene tree) the parent Transform of each inline .