Skip to content

vsg::LOD node does not support a visible range #1446

@rhabacker

Description

@rhabacker

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).

0001-Add-example-for-vsg-LOD-nodes.zip

vsglod.vsgt.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions