Skip to content

Picking should use pick-window-rectangle. #165

Description

@fredrik-hjelmaeus

When using static pick method in Potree, picking window is not used.
Only when directly hovering within a points rendered area is it picked.
The provided screenshots displays when the mouse is within and a sphere is created on pickPoint hit position.
pick_hit
pick_miss

I have setup a forked repo based on your example scene
here: https://github.com/fredrik-hjelmaeus/pnext-three-loader-pickwindow-issue
usage: When pointcloud is loaded, sphere will be displayed on any pick point hits.

When pick window works as intended, we would expect all points within specified picking rectangle window to be considered hits. And after this, the closest of those hits would be the one returned as PickPoint.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions