Basic HTML version of Foils prepared April 6 1997

Foil 81 Scale Field in Transform

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

(A tree scaled along a diagonal axis using scale orientation)
scale and scaleOrientation field of the Transform node allows to scale shapes and groups of shapes to any size.
scale field has three values and each of them defines the appropriate scale factor on the corresponding axis.This allows to warp the shapes.
scaleOrientation field allows to specify an orientation for the scaling. When it is specified, before the scaling operation the coornidate system is rotated and after the scale operation the coordinate system will be rotated back so that coordinate system remains unchanged. This orientation change enables to scale shapes diagonally instead of just horizontally, vertically, and front to back.



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