Skip navigation links
Vrml2Sourcebook Examples Archive Javadoc

Package Vrml2Sourcebook.Chapter25LevelOfDetail

Level of detail (LOD) allows an overall world become very large by letting an author provide high-fidelity models when a viewer is nearby, and simpler geometry when the viewer is far away.

See: Description

Package Vrml2Sourcebook.Chapter25LevelOfDetail Description

Level of detail (LOD) allows an overall world become very large by letting an author provide high-fidelity models when a viewer is nearby, and simpler geometry when the viewer is far away.

The further the viewer can see, the more there is to draw. Note that if a shape is distant, the shape is smaller and the viewer can't see as much detail. So... draw it with less detail. Varying detail with distance reduces initial download time and increases drawing speed.

Increase performance by making multiple levels of shapes: high detail for close up viewing, progressively lower detail for more distant viewing. Group the levels in an LOD node, ordered from high detail to low detail, and using an array of range values to select switching distances .

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

Figure 25.04 Three Torches Side By Side

Figure 25.12 Dungeon Rooms With Sliding Doors

Skip navigation links
Vrml2Sourcebook Examples Archive Javadoc

Copyright ©2005-2019 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.