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)
1 Transform { # Tree
2 translation 0.0 1.0 0.0
3 scale 1.0 2.0 1.0
4 scaleOrientation 0.0 0.0 1.0 -0.785
5 center 0.0 -1.0 0.0
6 children [ # Trunk
7 Shape { appearance USE White
8 geometry Cylinder { radius 0.5
9 height 2.0
10 }
11 },

in Table To:


© 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