Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow 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 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

Figure 23.1 Fog Test World    
  [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)


Figure 23.2a Linear Fog Visibility 0    
  [4] Figure23.2aLinearFogVisibility0.x3d - Seven pairs of columns

  [5] Figure23.2aLinearFogVisibility0.x3d - (default X3D view from 0 0 10)


Figure 23.2b Linear Fog Visibility 40    
  [6] Figure23.2bLinearFogVisibility40.x3d - Seven pairs of columns

  [7] Figure23.2bLinearFogVisibility40.x3d - (default X3D view from 0 0 10)


Figure 23.2c Linear Fog Visibility 30    
  [8] Figure23.2cLinearFogVisibility30.x3d - Seven pairs of columns

  [9] Figure23.2cLinearFogVisibility30.x3d - (default X3D view from 0 0 10)


Figure 23. 2D Linear Fog Visibility 20    
  [10] Figure23.2dLinearFogVisibility20.x3d - Seven pairs of columns

  [11] Figure23.2dLinearFogVisibility20.x3d - (default X3D view from 0 0 10)


Figure 23.3a Exponential Fog Visibility 100    
  [12] Figure23.3aExponentialFogVisibility100.x3d - Seven pairs of columns

  [13] Figure23.3aExponentialFogVisibility100.x3d - (default X3D view)


Figure 23.3b Exponential Fog Visibility 40    
  [14] Figure23.3bExponentialFogVisibility40.x3d - Seven pairs of columns

  [15] Figure23.3bExponentialFogVisibility40.x3d - (default X3D view)


Figure 23.3c Exponential Fog Visibility 20    
  [16] Figure23.3cExponentialFogVisibility20.x3d - Seven pairs of columns

  [17] Figure23.3cExponentialFogVisibility20.x3d - (default X3D view)


Figure 23.4 Black Fog Visibility 40    
  [18] Figure23.4BlackFogVisibility40.x3d - A foggy world using black fog

  [19] Figure23.4BlackFogVisibility40.x3d - (default X3D view from 0 0 10)


Figure 23.5 Binding Fogs And Backgrounds    
  [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/Chapter23-Fog/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/Chapter23-Fog/_viewpoints

Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Next Chapter Viewpoint Slideshow X3D Resources