Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Viewpoint Slideshow X3D Resources

X3D Example Archives: VRML 2 Sourcebook, Chapter 23 Fog

[1] Figure23_1FogTestWorld.x3d - 30m above 60m x 60m square
Chapter Viewpoint Slideshow

Fog simulates atmospheric effects by blending distant objects with fog color.

Fog increases realism and can be used to set a mood, even indoors. Add fog outside to create hazy worlds, or add fog inside to create dark dungeons. Fog has a color, a type, and a visibility range. Fog limits the viewer's sight, reducing the amount of the world you have to build and the amount of the world that must be drawn.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

Figure 23.5 Binding Fogs And Backgrounds
10 X3D Scenes                 21 Viewpoint Snapshots

Figure23_1FogTestWorld
Figure 23 1 Fog Test World.x3d    
[1] Figure23_1FogTestWorld.x3d - 30m above 60m x 60m square
[2] Figure23_1FogTestWorld.x3d - 60m above 60m x 60m square
[3] Figure23_1FogTestWorld.x3d - (default X3D view from 0 0 10)

Figure23_2aLinearFogVisibility0
Figure 23 2a Linear Fog Visibility 0.x3d    
[4] Figure23_2aLinearFogVisibility0.x3d - Seven pairs of columns
[5] Figure23_2aLinearFogVisibility0.x3d - (default X3D view from 0 0 10)

Figure23_2bLinearFogVisibility40
Figure 23 2b Linear Fog Visibility 40.x3d    
[6] Figure23_2bLinearFogVisibility40.x3d - Seven pairs of columns
[7] Figure23_2bLinearFogVisibility40.x3d - (default X3D view from 0 0 10)

Figure23_2cLinearFogVisibility30
Figure 23 2c Linear Fog Visibility 30.x3d    
[8] Figure23_2cLinearFogVisibility30.x3d - Seven pairs of columns
[9] Figure23_2cLinearFogVisibility30.x3d - (default X3D view from 0 0 10)

Figure23_2dLinearFogVisibility20
Figure 23 2D Linear Fog Visibility 20.x3d    
[10] Figure23_2dLinearFogVisibility20.x3d - Seven pairs of columns
[11] Figure23_2dLinearFogVisibility20.x3d - (default X3D view from 0 0 10)

Figure23_3aExponentialFogVisibility100
Figure 23 3a Exponential Fog Visibility 100.x3d    
[12] Figure23_3aExponentialFogVisibility100.x3d - Seven pairs of columns
[13] Figure23_3aExponentialFogVisibility100.x3d - (default X3D view)

Figure23_3bExponentialFogVisibility40
Figure 23 3b Exponential Fog Visibility 40.x3d    
[14] Figure23_3bExponentialFogVisibility40.x3d - Seven pairs of columns
[15] Figure23_3bExponentialFogVisibility40.x3d - (default X3D view)

Figure23_3cExponentialFogVisibility20
Figure 23 3c Exponential Fog Visibility 20.x3d    
[16] Figure23_3cExponentialFogVisibility20.x3d - Seven pairs of columns
[17] Figure23_3cExponentialFogVisibility20.x3d - (default X3D view)

Figure23_4BlackFogVisibility40
Figure 23 4 Black Fog Visibility 40.x3d    
[18] Figure23_4BlackFogVisibility40.x3d - A foggy world using black fog
[19] Figure23_4BlackFogVisibility40.x3d - (default X3D view from 0 0 10)

Figure23_5BindingFogsAndBackgrounds
Figure 23 5 Binding Fogs And Backgrounds.x3d    
[20] Figure23_5BindingFogsAndBackgrounds.x3d - Binding fog and background pairs
[21] Figure23_5BindingFogsAndBackgrounds.x3d - (default X3D view)
 

This viewpoint slideshow is online at
http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter23Fog/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter23Fog/_viewpoints

Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Viewpoint Slideshow X3D Resources