Show frames
Go to:
Attributes.
This lodThresholds node can be used to detect when an object is
a certain distance from a bounding box.
For example, when the distance between the bounding box and a
camera point is less than the first threshold (threshold[0]),
then only the first output attribute (output[0]) is true.
When the distance is between threshold[0] and threshold[1],
then the only the 2nd output attribute (output[1]) is true.
Historic note: This was originally developed for the "Level of
Detail" feature but was eventually replaced by the LodGroup node.
Hence the confusing names.
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
lodThresholds | node | auxiliary/camera | kLodThresholds | kBase kNamedObject kDependencyNode kLodThresholds |
Attributes (16)
activeLevel, camera, cameraX, cameraY, cameraZ, distance, inBoxMax, inBoxMaxX, inBoxMaxY, inBoxMaxZ, inBoxMin, inBoxMinX, inBoxMinY, inBoxMinZ, outLevel, threshold
Long name (short name) | Type | Default | Flags |
---|
|
activeLevel
(al )
| integer | 0 |    |
|
|
camera
(cam )
| double3 | |     |
|
| cameraX
(cax )
| distance (double) | 0.0cm |     | |
|
| cameraY
(cay )
| distance (double) | 0.0cm |     | |
|
| cameraZ
(caz )
| distance (double) | 0.0cm |     | |
|
|
distance
(d )
| distance (double) | 0.0cm |    |
|
|
inBoxMax
(bmx )
| double3 | |     |
|
| inBoxMaxX
(bmax )
| distance (double) | 0.0cm |     | |
|
| inBoxMaxY
(bmay )
| distance (double) | 0.0cm |     | |
|
| inBoxMaxZ
(bmaz )
| distance (double) | 0.0cm |     | |
|
|
inBoxMin
(bmn )
| double3 | |     |
|
| inBoxMinX
(bmix )
| distance (double) | 0.0cm |     | |
|
| inBoxMinY
(bmiy )
| distance (double) | 0.0cm |     | |
|
| inBoxMinZ
(bmiz )
| distance (double) | 0.0cm |     | |
|
|
outLevel
(ol )
| bool | false |    |
|
|
threshold
(th )
| distance (double) | 0.0cm |       |
|