LOD
LOD (Level Of Detail) uses camera-to-object distance to switch among contained child levels. (Contained nodes are now called 'children' rather than 'level', for consistent naming among all GroupingNodeType nodes.) LOD range values go from near to far (as child geometry gets simpler for better performance). For n range values, you must have n+1 children levels! Only the currently selected children level is rendered, but all levels continue to send/receive events.
Inheritance
Code
XML encoding
<LOD center='0 0 0' range='' whichLevel='-1' forceTransitions='FALSE' triggerName='Synchronize' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
LOD { center 0 0 0 range [] whichLevel -1 forceTransitions FALSE triggerName "Synchronize" bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
whichLevel | SFInt32 | initializeOnly | -1 | Allows to select and fix a specific level. | ||
forceTransitions | SFBool | initializeOnly | FALSE | The forceTransitions field specifies whether browsers are allowed to disregard level distances in order to provide better performance. | ||
triggerName | SFString | initializeOnly | Synchronize | Name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life nodes will automatically connect the context's eventOutput to the triggerSlot's eventInput slot. | ||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything |