Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.depthRange
8.0

<node3d>.depthRange

Specify mapping of depth values from normalized device coordinates to window coordinates

<node3d>.depthRange(  
nearVal  
farVal  
node = ''  
op = viz.OP_DEFAULT  
)  
nearVal
Specifies the mapping of the near clipping plane to window coordinates.
farVal
Specifies the mapping of the far clipping plane to window coordinates.
node = ''
Name of sub-node to apply changes to
op = viz.OP_DEFAULT
Can be viz.OP_DEFAULT to use the nodes default op mode or a combination of the following values:

Op modes

viz.OP_TRAVERSE

When performing an operation on a node, traverse the entire subgraph and process all subnodes as well. This is the default value.

viz.OP_OVERRIDE

When applying attributes, have them override attributes of subnodes.

viz.OP_ROOT

When performing an operation on the node, start at the root transform of the node, instead of the model. Processing the root will include all child Vizard nodes.

Remarks

For more information, see the OpenGL documentation for glDepthRange.

Return Value

None