Closed chrisjsewell closed 6 years ago
@chrisjsewell As far as I can tell, that problem is no longer relevant: Three.js now supports OrthographicCamera for the Raycaster, and current master of Pythreejs should support it as well. Let me know if this sounds reasonable to you, or if I have missed something!
I believe that, if the camera is orthographic, then a pickingRay, rather that Raycaster needs to be used (see https://stackoverflow.com/questions/20361776/orthographic-camera-and-pickingray). Or there is a discussion here that may be of relevance mrdoob/three.js#599
Would love to try myself, but I have no experience in JS and I can't get the devlopment version to work :(
Here is my minimal use case, which does not work for orthographic (the picker only selects the closest object to the camera, irrespective of mouse position):