Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 4: Building Text Shapes

../ch04/04fig03.gif
Figure 4.3

Compressed text using a small length field value

04fig03.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Shape {
    appearance Appearance {
        material Material { }
    }
    geometry Text {
        string "Qwerty"
        length 2.0
    }
}