Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 17: Mapping Textures

../ch17/17fig06b.gif
Figure 17.6b

A brick texture mapped to a text shape.

17fig06b.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 { }
        texture ImageTexture {
            url "brick.jpg"
        }
    }
    geometry Text {
        fontStyle FontStyle {
            style "BOLD"
        }
        string [ "Qwerty", "0123" ]
    }
}