Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 23: Adding Fog

../ch23/23fig02a.gif
Figure 23.2a

A linear, foggy world with a visibility range of 0.0. Compare with Figures 23.2b, c, and d.

23fig02a.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
Group {
    children [
        Fog {
            color 1.0 1.0 1.0
            fogType "LINEAR"
            visibilityRange 0.0
        },
        Background { skyColor 1.0 1.0 1.0 },
        Inline { url "fogworld.wrl" }
    ]
}