Replies: 1 comment
-
A polytope intersector is way to tackle this type of requirement. The VSG
does yet have one but will soon.
…On Fri, 30 Aug 2024, 07:23 Dov Grobgeld, ***@***.***> wrote:
In my application, I'd like the option of selecting all objects that
intersect a rectangle defined by the mouse. Is there any rectangle/scene
intersection support in VSG? If not, I thought that it may be implemented
by creating a "label buffer" in which each pixel represents the index of
the mesh in the scene, and then simply finding what labels exist in the
selection. But how would I create the label image? Should I create a
separate "graphics pipeline" that contain label image shaders? Can I share
the vertexDraw nodes between the different pipelines. Is there an example
showing how this is done?
—
Reply to this email directly, view it on GitHub
<#1270>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKEGUFC2DW2CSDMLMUREETZUAFVDAVCNFSM6AAAAABNL2HL6CVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGEYTCMRYG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my application, I'd like the option of selecting all objects that intersect a rectangle defined by the mouse. Is there any rectangle/scene intersection support in VSG? If not, I thought that it may be implemented by creating a "label buffer" in which each pixel represents the index of the mesh in the scene, and then simply finding what labels exist in the selection. But how would I create the label image? Should I create a separate "graphics pipeline" that contain label image shaders? Can I share the vertexDraw nodes between the different pipelines. Is there an example showing how this is done?
Beta Was this translation helpful? Give feedback.
All reactions