Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

X3D Example Archives: Basic, Script Conformance

Script Event Passing

The Script Conformance examples provide examples for the X3D Scripting Component, as implemented using the X3D language binding for ECMAScript. and the X3D language binding for Java.

Original examples are derived from "The Virtual Reality Modeling Language and Java," Communications of the ACM, vol. 41 no. 6, June 1998, pp. 57-64 by Don Brutzman.

X3D Scenes Descriptions
Add Dynamic Routes ECMAScript This example shows how to add dynamic ROUTE connections to a scene
Add Dynamic Routes Java This example shows adding dynamic ROUTE connections to a scene
Create Nodes ECMAScript This example shows how to use createX3DFromString to create nodes
Create Nodes From Prototype ECMAScript This example shows creation of nodes from a prototype
Create Nodes From Prototype Java This example shows creation of nodes from a prototype
Create Nodes Java This example shows how to use createX3DFromString to create nodes
Per Frame Notification ECMAScript This example shows how to use per-frame notification to produce a frame rate output in the Browser console
Per Frame Notification Java This example shows how to use per-frame notification to produce a frame rate output in the Browser console
Script Node Event Out Control - Ecma Script Script node interface between VRML and EcmaScript: this conformance example tests event-based VRML-EcmaScript functionality.
Script Node Event Out Control - Java Script node interface between VRML and Java: this conformance example tests event-based VRML-Java functionality.
Script Node Field Control - Ecma Script Script node interface between VRML and EcmaScript: this conformance example tests field-based VRML-EcmaScript functionality.
Script Node Field Control - Java Script node interface between VRML and Java: this conformance example tests field-based VRML-Java functionality.
Touch Sensor Is Over Event ECMAScript This example demonstrates a scripted response to a TouchSensor isOver event by changing the color of a Box from blue to red
Touch Sensor Is Over Event Java This example demonstrates a scripted response to a TouchSensor isOver event by changing the color of a Box from blue to red

Online at http://www.web3d.org/x3d/content/examples/Basic/ScriptConformance

Master source code archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/ScriptConformance

Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

Also available: current and archived nightly builds and distributions of these examples, all published under an Open-Source License.

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.