scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
64 stars 17 forks source link

SelectCommand shoots rays, but does not hit objects in scene #69

Closed kephale closed 5 years ago

kephale commented 6 years ago

@skalarproduktraum, select does shoot spheres when debugRaycast is indicated, but it doesnt hit objects that are already in the scene. It does return the debug spheres along the ray, just not preexisting objects.

https://github.com/scenerygraphics/SciView/blob/f38fc410f4784b0d177dcb8191f6132fb95195d8/src/main/java/sc/iview/SciView.java#L286

kephale commented 6 years ago

This isn't 100% true. I was able to click on a mesh in one scene, but it isn't consistent and selects incorrectly quite a bit.

kephale commented 5 years ago

Solved with scenery 0.5.2