Basic HTML version of Foils prepared March 4 1998

Foil 87 Scale Example - II

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 Scale(A tree scaled along a diagonal axis using scale orientation)
Transform { # Tree
translation 0.0 1.0 0.0
scale 1.0 2.0 1.0
scaleOrientation 0.0 0.0 1.0 -0.785
center 0.0 -1.0 0.0
children [ # Trunk
Shape { appearance USE White
geometry Cylinder { radius 0.5
height 2.0
}
},



© 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