Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit geometry selection #129

Open
c42f opened this issue Sep 6, 2016 · 1 comment
Open

Revisit geometry selection #129

c42f opened this issue Sep 6, 2016 · 1 comment

Comments

@c42f
Copy link
Owner

c42f commented Sep 6, 2016

The current selection model has a few "interesting" attributes:

  • Objects which are invisible (eg due to a discard in the shader) are selectable.
  • Line segments and triangles are selectable via their vertices only.
  • It's based on a non-projected distance, so lidar noise near to the camera position can get selected by mistake.

Selection of objects based on the actual OpenGL framebuffer around the mouse position would help with some of these things. The issue is that the user can do arbitrary things to the shader; this is great sometimes, but means we can't get object IDs flowing through the shader easily. The depth buffer might be good enough, though some heuristics will probably be required - needs experimentation!

@c42f
Copy link
Owner Author

c42f commented Sep 6, 2016

@Ross-Batten here's an issue which may help with selecting lines. Can't promise when I'll get to it though, it's not super simple.

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

No branches or pull requests

1 participant