Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 17: Mapping Textures

../ch17/17fig04d.gif
Figure 17.4d

A texture mapped sphere. Compare with Figures 17.4a, b, and c.

17fig04d.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 "testimg.jpg"
        }
    }
    geometry Sphere { }
}