X3D Specification

Page Description
Alarm Clock X3D specification example: alarm clock plays chimes once each interval.
Chopper Rotor node provides animation and serves as an ExternProtoDeclare example
Chopper Body X3D specification example: main body for Chopper example, used as an Inline to show scene composition.
Chopper Rotor X3D specification example: spinning rotor (with replacable children) Prototype for Chopper example.
Click To Animate X3D specification example: click to animate a Box.
Color Interpolator X3D specification example: ColorInterpolator demonstration modifies Material color.
Directional Light X3D specification example: a DirectionalLight source illuminates only the objects in its enclosing grouping node. The light illuminates everything within this coordinate system, including the objects that precede it in the scene graph.
Elevator X3D specification example: example of animating the camera by depicting an elevator to ease access to a multi-storey building. For this example, a 2 storey building is shown and it is assumed that the elevator is already at the ground floor. To go up, the user just steps onto the elevator platform. A ProximitySensor fires and starts the elevator up automatically. Additional features such as call buttons for outside the elevator, elevator doors, and floor selector buttons could be added to make the elevator easier to use.
Execution Model X3D specification example: execution model demonstrated. Click ball to see script-generated text appear.
Extrusion Figure X3D Specification X3D Extrusion spine-aligned cross-section plane (SCP) at a spine point. Modeled after X3D Specification Figure 13.5.
Geometric Properties X3D specification example: simple demonstration of geometric-property nodes.
Guided Tour X3D specification example: provides control of the viewpoint through use of a script. This is useful for things such as guided tours, merry-go-round rides, and transportation devices such as buses and elevators. These next two examples show a couple of ways to use this feature. This example is a simple guided tour through the world. Upon entry, a guide orb hovers in front of the viewer. Click on this and a tour through the world begins. The orb follows the user around on his tour. A ProximitySensor ensures that the tour is started only if the user is close to the initial starting point. Note that this is done without scripts thanks to the touchTime output of the TouchSensor.
Instancing X3D specification example: demonstrating reuse of content instances throught DEF, USE.
Level Of Detail X3D specification example: LevelOfDetail demonstration.
Point Set X3D specification example: PointSet demonstration.
Prototype X3D specification example: defining a Prototype, demonstration of IS/connect definitions.
Prototypes Plus X3D specification example: using an externally defined prototype.
Red Sphere Blue Box X3D specification example: show simple Shapes, including different Materials and geometry.
Refractive Material X3D specification example: create new node RefractiveMaterial for example PrototypesPlus.
Robot X3D specification example: Robot. Seek or zoom in towards the robot to start a simple animation sequence.
Rotor X3D specification example:
Scripting X3D specification example: this Script node decides whether or not to open a bank vault given openVault and combinationEntered messages. To do this, it remembers whether or not the correct combination has been entered. The Script node combined with a Sphere, a TouchSensor and a Sound node to show how is works. When the pointing device is over the sphere, the combinationEntered eventIn of the Script is sent. Then, when the Sphere is touched (typically when the mouse button is pressed) the Script is sent the openVault eventIn. This generates the vaultUnlocked eventOut which starts a click sound.
Shuttles And Pendulums X3D specification example: animation of shuttle and pendulum prototype nodes.
X3D Header Prototype Syntax Examples X3D scene header and prototype syntax examples. This example header indicates that the content is XML encoded, follows the Interactive Profile and explicitly lists additional necessary components. The X3D header may also contain additional semantic information. Used for specification EXAMPLE excerpts in 19776-1 XML Encoding.