Class Example11

java.lang.Object
Basic.Vrml97Specification.Example11

public class Example11 extends Object

VRML 97 specification example: The LOD node is typically used for switching between different versions of geometry at specified distances from the viewer. However, if the range field is left at its default value, the browser selects the most appropriate child from the list given. It can make this selection based on performance or perceived importance of the object. Children should be listed with most detailed version first just as for the normal case. This "performance LOD" feature can be combined with the normal LOD function to give the browser a selection of children from which to choose at each distance. In this example, the browser is free to choose either a detailed or a less-detailed version of the object when the viewer is closer than 10 meters (as measured in the coordinate space of the LOD). The browser should display the less detailed version of the object if the viewer is between 10 and 50 meters and should display nothing at all if the viewer is farther than 50 meters. Browsers should try to honor the hints given by authors, and authors should try to give browsers as much freedom as they can to choose levels of detail based on performance.

Related links: Catalog page Example11, source Example11.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title Example11.x3d
translator Don Brutzman
created 26 June 2000
modified 28 October 2019
creator X3D working group
description VRML 97 specification example: The LOD node is typically used for switching between different versions of geometry at specified distances from the viewer. However, if the range field is left at its default value, the browser selects the most appropriate child from the list given. It can make this selection based on performance or perceived importance of the object. Children should be listed with most detailed version first just as for the normal case. This "performance LOD" feature can be combined with the normal LOD function to give the browser a selection of children from which to choose at each distance. In this example, the browser is free to choose either a detailed or a less-detailed version of the object when the viewer is closer than 10 meters (as measured in the coordinate space of the LOD). The browser should display the less detailed version of the object if the viewer is between 10 and 50 meters and should display nothing at all if the viewer is farther than 50 meters. Browsers should try to honor the hints given by authors, and authors should try to give browsers as much freedom as they can to choose levels of detail based on performance.
reference originals/exampleD_11.wrl
specificationSection VRML 97, ISO/IEC 14772-1, Part 1: Functional specification and UTF-8 encoding, D.11 Level of detail
specificationUrl https://www.web3d.org/documents/specifications/14772/V2.0/part1/examples.html#D.11
identifier https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example11.x3d
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
license ../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet (version control) which is used to create Java source code from an original .x3d model.