Programming Languages White Papers
Taming VRML Scripts, Part 2: Scripts
Overview
In our first lesson we talked about VRML objects (individual nodes) and how eventIns were handles for methods that execute when events arrive. Until now we've had to assume that there was some underlying code that, for example, changes the appearance of an object when the method "set_diffuseColor" executes. That was kind of abstract, and you may have wondered why I bothered to mention that when it all happens behind the scenes.
Here's why: in a Script node, you get to specify the methods, in a programming language like Java or ECMAScript. In our examples we'll be using ECMAScript exclusively, but any programming language that the browser supports will do.
| Publisher | VRMLworks | File Format | HTML |
|---|---|---|---|
| Date Published | August 2003 | Downloads | 5 |
| Format | White Papers | ||
| Topics | |||



