OpenGL VRML Shockwave 3D
Home Tutorials Books Applications Tools Docs Models Textures

Send me bugs and suggestions, please
VRML Script Tutorial
Full list

VRML Interactive Tutorial

Introduction
VRML File Structure
Drawing: Shape node
Geometry Nodes:
Box
Sphere
Cone
Cylinder
PointSet
IndexedLineSet
IndexedFaceSet
Extrusion
ElevationGrid
Example: Chessboard
Text
FontStyle
Appearance
Material
Textures
Image Texture
Movie Texture
Pixel Texture
Texture Coordinate
Texture Transform
Let there be Light
Directional Light
Point Light
Spot Light
Materials with Colored Lights
Hierarchical Node Structures
Group
Transform
Collision
Anchor
Billboard
Switch
Inlining Files
Defining and Instancing Nodes
Defining Levels of Detail
Events in VRML
Creating Paths between events: ROUTE
Generating Events based on Timers or User Actions
Timers
Touch Sensor
Visibility Sensor
Dragging Sensors
Plane Sensor
Sphere Sensor
Cylinder Sensor
Proximity Sensors
Example: Proximity sensor
Interpolators
Color
Coordinate
Normal
Orientation
Position
Scalar
Example
Let the Music Play
Sound
AudioClip
Bindable Nodes
Who Am I: NavigationInfo
Where Am I: ViewPoint
Adding Realism to the world
Background
Fog
Information about your world
WorldInfo
Definition for Auxiliary Nodes
Coordinate
Color
Normal

Inline Node


In VRML you can split your world over a set of files. This simplifies world design, and lets you reuse world parts in many worlds. For instance you can have a set of shapes that draw a door in a file door.wrl and use the file in a house, contained in a file house.wrl.

The Inline node lets you specify a url where the data can be retrieved from. The url must contain a valid and complete VRML file, header included.

The following fields are present:
  • url which lets you specify the location of the file to be included. You can specify multiple locations if you want to, the browser will look for data in those locations in decreasing order of preference.
  • bboxCenter specifies where the center of a box that encloses the nodes in the inlined file. The value for this field is a 3D point.
  • bboxSize specifies where the size of a box that encloses the nodes in the inlined file. By default this field has a value of -1 -1 -1, which implies that no box is defined. The values for this field must be greater than or equal to zero.
  • The latter two fields are optional. They can be used by the browser for optimization purposes.

    Note that any node definitions using DEF which occur inside the inlined file are not visible outside the inlined file.

    Syntax:
    Inline {
    url []
    bboxCenter 0 0 0
    bboxSize -1 -1 -1
    }




    Site designed and maintained by António Ramires Fernandes
    Your comments, suggestions and references to further material are welcome!

    Lighthouse 3D privacy statement