Would it be useful to add an option so that meshes with opacity set to 0.0 or below a threshold opacity are not picked?
My interest in this is that as part of a project to rig and animate a human skeleton I am using pick as a debug tool, I can pick a part, have its name pop up, set its texture to a “picked colour” etc, very useful with so many small objects on the screen.
I also have debug tools to change opacity of groups of objects so that I can see the things I want to see but not have other objects adding visual complexity.
When I pick it is counter-intuitive to have objects with opacity 0.0 be selected in the pick rather than the non-transparent object lying behind.
I do not rate this as a high priority - I simply orientate my view before starting to pick.
I include it only as a suggestion because…
- It might be useful to others.
- It is counter intuitive to pick invisible objects.
It’s probably a messy thing to define since identical equal to zero is an unsafe test etc etc…so quite possibly not worth the hassle.