Go to: Related nodes. Attributes.
This transform node is a group node that can be used to detect how
close a group of objects is to a camera. Typically this node is
used for controlling "Level of Detail" visibility. With "Level of
Detail", the visibility of the children of this transform are
controlled by the distance of a group to a camera and the threshold
values.
For example, under a LOD group node, there are three children:
ship_detailed, ship_medium, and ship_rough. There are three
threshold values: 5, 10 and 15. When the camera is within 5 units
of the group bounding box, only ship_detailed is visible. When the
view is zoomed out and the camera is 9 units away from the group,
only ship_medium is visible. When the view is zoomed out to 30
units away, only ship_rough is visible.See also documentation on
the "Level Of Detail" feature.
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
lodGroup |
transform |
drawdb/geometry/transform |
kLodGroup |
kBase
kNamedObject
kDependencyNode
kDagNode
kTransform
kLodGroup |
Related nodes
groupParts, groupId, makeGroup,
baseGeometryVarGroup,
meshVarGroup, geometryVarGroup, curveVarGroup, surfaceVarGroup, tweak
Attributes (10)
activeLevel, cameraMatrix, displayLevel, distance, maxDistance, minDistance, minMaxDistance, output, threshold,
worldSpace
Long name (short name) |
Type |
Default |
Flags |
|
cameraMatrix
(cm ) |
matrix |
identity |
    |
|
threshold
(th ) |
distance
(double) |
0.0cm |
      |
|
displayLevel
(dl ) |
enum |
0 |
      |
|
worldSpace
(ws ) |
bool |
1 |
    |
|
minMaxDistance
(mmd ) |
bool |
0 |
     |
|
minDistance
(mid ) |
double |
-100.0 |
     |
|
maxDistance
(mxd ) |
double |
100.0 |
     |
|
distance
(d ) |
distance
(double) |
0.0cm |
   |
|
activeLevel
(al ) |
integer |
0 |
   |
|
output
(o ) |
bool |
false |
   |