Basic HTML version of Foils prepared 5 August 97

Foil 28 Dynamic Generation of VRML nodes - The world

From VRML97 Scripting: Java Nodes and External Authoring Interface UC Web Applications Certificate -- July 24 1997. by Wojtek Furmanski and Balaji Natarajan


#VRML V2.0 utf8
DEF GEN_ROOT Transform{
children[ DEF GEN_TOUCH TouchSensor {}
Shape { geometry Sphere{} } ] }
DEF GENSCRIPT Script {
url "DynamicGen.class"
eventIn SFTime touched
eventOut MFNode addSphere }
ROUTE GEN_TOUCH.touchTime TO GENSCRIPT.touched
ROUTE GENSCRIPT.addSphere TO GEN_ROOT.addChildren



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998