-
Notifications
You must be signed in to change notification settings - Fork 247
Description
0001-Add-example-for-vsg-LOD-nodes.patch.txt
Does your function request refer to a problem? Please describe it
With the current implementation of the vsg::LOD class, it is not possible to hide a node if the distance to the camera falls below a certain value. You can only show an object if the distance falls below a certain value, as can be inspected by the attached test case, which can be applied to the vsgExamples git repo.
Describe the desired solution
The LOD node should support an area in which the associated node is visible. This is necessary, for example, if two different resolutions of an object are required depending on the distance (see e.g. vsg-dev/osg2vsg#61)
Describe the alternatives you have considered
not checked
Additional information
In osg, the LOD node supports the specification of an area in which the associated node is visible (by the attribute RangeList
).