Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated .java source Next Chapter Summary X3D Resources

X3D Example Archives: Basic, Script Conformance

Script Event Passing

Script Conformance examples test the ability of Script nodes to receive, process and produce events that respond to user commands and trigger animation behaviors in the X3D scene graph..

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.

  14 X3D Scenes       Scene Descriptions
AddDynamicRoutesECMAScript Add Dynamic Routes ECMAScript This example shows how to add dynamic ROUTE connections to a scene
AddDynamicRoutesJava Add Dynamic Routes Java This example shows adding dynamic ROUTE connections to a scene
CreateNodesECMAScript Create Nodes ECMAScript This example shows how to use createX3DFromString to create nodes
CreateNodesFromPrototypeECMAScript Create Nodes From Prototype ECMAScript This example shows creation of nodes from a prototype
CreateNodesFromPrototypeJava Create Nodes From Prototype Java This example shows creation of nodes from a prototype
CreateNodesJava Create Nodes Java This example shows how to use createX3DFromString to create nodes
PerFrameNotificationECMAScript Per Frame Notification ECMAScript This example shows how to use per-frame notification to produce a frame rate output in the Browser console
PerFrameNotificationJava Per Frame Notification Java This example shows how to use per-frame notification to produce a frame rate output in the Browser console
ScriptNodeEventOutControl_EcmaScript Script Node Event Out Control Ecma Script Script node interface between VRML and EcmaScript: this conformance example tests event-based VRML-EcmaScript functionality.
ScriptNodeEventOutControl_Java Script Node Event Out Control Java Script node interface between VRML and Java: this conformance example tests event-based VRML-Java functionality.
ScriptNodeFieldControl_EcmaScript Script Node Field Control Ecma Script Script node interface between VRML and EcmaScript: this conformance example tests field-based VRML-EcmaScript functionality.
ScriptNodeFieldControl_Java Script Node Field Control Java Script node interface between VRML and Java: this conformance example tests field-based VRML-Java functionality.
TouchSensorIsOverEventECMAScript 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
TouchSensorIsOverEventJava 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

Validate XHTML 1.1

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 Summary Chapter Viewpoint Slideshow Javadoc for translated .java source Next Chapter Summary 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.