You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our current pick functionality works by rendering a plot id and a plot element / instance id to a buffer and reading that buffer at the appropriate pixel position when pick is called. An alternative to that is casting a ray and finding plots by checking which bounding boxes intersect with it.
The benefits of ray based picking are that it can be implemented on the CPU, i.e. it can be largely backend independent, and it can pick multiple objects. This means that occluded and transparent objects can be picked. What suffers is accuracy and potentially performance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Our current pick functionality works by rendering a plot id and a plot element / instance id to a buffer and reading that buffer at the appropriate pixel position when
pick
is called. An alternative to that is casting a ray and finding plots by checking which bounding boxes intersect with it.The benefits of ray based picking are that it can be implemented on the CPU, i.e. it can be largely backend independent, and it can pick multiple objects. This means that occluded and transparent objects can be picked. What suffers is accuracy and potentially performance.
Beta Was this translation helpful? Give feedback.
All reactions