Basic HTML version of Foils prepared March 4 1998

Foil 155 Extrusion Node

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

VRML2.0 Example of Extrusion Shape
Extrusion { set_crossSection # eventIn MFVec2f set_orientation # eventIn MFRotation set_scale # eventIn MFVec2f set_spine # eventIn MFVec3f beginCap TRUE # field SFBool ccw TRUE # field SFBool convex TRUE # field SFBool creaseAngle 0 # field SFFloat crossSection [1 1, 1 -1, -1 -1, -1 1 , 1 1] # field MFVec2f endCap TRUE # field SFBool orientation 0 0 1 0 # field MFRotation -- can be array scale 1 1 # field MFVec2f -- can be array solid TRUE # field SFBool spine [0 0 0, 0 1 0] # field MFVec3f }
Roughly take the 2D crossSection shape and extend to 3D with spine (vertical extension) using modification given by scale and orientation.



© 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 Apr 5 1998