|
Many actions are too complex for animation nodes, such as computed animation paths (e.g. gravity),
algorithmic shapes (e.g. fractals), or collaborative environments (e.g. games).
You can create new sensors, interpolators, etc., using program scripts written in
Java (a powerful general-purpose language) or ECMAscript (JavaScript, an easy-to-learn language).
The Script node selects a program script, specified by a url or contained source code.
Program scripts have field and event interface declarations, each with a data type, a name, and an initial value (for fields only).
These X3D scenes are adapted directly from the
original VRML 2.0 Sourcebook chapter examples.
Also available:
Introduction to VRML97 SIGGRAPH98 course notes.
|