Basic HTML version of Foils prepared April 6 1997

Foil 75 Transform Node

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


The Transform node allows you to position shapes and groups of shapes anywhere in your world by using its translation field. Every transform node defines a new coordinate system within its parent's coordinate system.
  • Transform { children [] # exposedField MFNode translation 0.0 0.0 0.0 # exposedField SFVec3f rotation 0.0 0.0 0.0 0.0 # exposedField SFRotation scale 1.0 1.0 1.0 # exposedField SFVec3f scaleOrientation 0.0 0.0 1.0 0.0 # exposedField SFRotation bboxCenter 0.0 0.0 0.0 # field SFVec3f bboxSize -1.0 -1.0 -1.0 # field SFVect3f center 0.0 0.0 0.0 # field SFVec3f addChildren # eventIn MFNode removeChildren # eventOut MFNode }



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 Mar 15 1998