This resolves all code review comments indicated in the original review.
MacOS support
Better documentation
Bug fixing, etc.
Background On Original PR:
This submission adds deep selection capabilities to HdStorm. This allows for selection of all objects within a pick-point or frustum to be selected even if the objects are obscured by other objects drawn on top.
It uses a GPU rendering technique similar to ID based picking except that it accummulates all pick results into a one dimensional "pickBuffer" instead of storing a single selection per pixel like the ID buffer approach does.
It can be enabled by setting a new resolve mode defined as HdxPickTokens->resolveDeep.
A new helper function named TestIntersections(plural) has been added to UsdImagingGlEngine to exercise the new functionality. A new Unit test is included to test the new resolve mode and UsdImagingGLEngine helper function.
Fixes Issue(s)
N/A
[X] I have verified that all unit tests pass with the proposed changes
[X] I have submitted a signed Contributor License Agreement
Description of Change(s)
Following up on the feedback from https://github.com/PixarAnimationStudios/OpenUSD/pull/1831
This resolves all code review comments indicated in the original review.
Background On Original PR:
This submission adds deep selection capabilities to
HdStorm
. This allows for selection of all objects within a pick-point or frustum to be selected even if the objects are obscured by other objects drawn on top.It uses a GPU rendering technique similar to ID based picking except that it accummulates all pick results into a one dimensional "pickBuffer" instead of storing a single selection per pixel like the ID buffer approach does.
It can be enabled by setting a new resolve mode defined as
HdxPickTokens->resolveDeep
.A new helper function named
TestIntersections
(plural) has been added toUsdImagingGlEngine
to exercise the new functionality. A new Unit test is included to test the new resolve mode andUsdImagingGLEngine
helper function.Fixes Issue(s)