SplitGroup
Determines if and how view frustum shall be partitioned into several parts to avoid z-fighting artifacts due to limited depth-buffer precision. Node can be used as child of any ViewBindable.
Inheritance
Code
XML encoding
<SplitGroup zSplit='' numBins='1' partitionType='auto' useCameraNearFar='FALSE' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
SplitGroup { zSplit [] numBins 1 partitionType "auto" useCameraNearFar FALSE 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 |
---|---|---|---|---|---|---|
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
numBins | SFFloat | inputOutput | 1 | if zSplit field empty, numBins is used to automatically partition scene into numBins parts | ||
partitionType | SFString | inputOutput | auto | [auto, linear, logarithmic] | if zSplit field empty, partitionType defines how scene is subdivided into numBins parts (e.g. linear) | |
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
useCameraNearFar | SFBool | inputOutput | FALSE | if true, the outer bounds of the values in zSplit (namely zNear/zFar) are taken directly from the camera, which also allows using the automatically calculated values | ||
zSplit | MFFloat | inputOutput | z-positions; ordered list starting from zNear up to zFar (in- or exclusively depending on 'useCameraNearFar'); used for rendering scene in several bins |