I am working with an application that requires
using a PickRay independent of the mouse or the viewpoint. I want to be
able to have a Java class generate x and z coordinates, set a PickRay's origin
at (x, [very high above the scene y value], z), then use the utilities
(PickIntersection) to get the y value of the first object picked.
The problem is, my SceneGraphPath[0] is null, resulting in a null pointer exception. I'm sure it's a simple fix like setting bounds or setPickable(true) on the objects in the scene (I've checked both of these). Can anyone point me to an example that uses a PickRay not attached to either the mouse or the viewpoint? The demo classes all refer to the mouse or the camera, neither of which is useful to me. Thanks, Jason |
- Re: [JAVA3D] Picking problem Jason Stine
- Re: [JAVA3D] Picking problem Doug Gehringer
- [JAVA3D] picking problem Stokkermans, Bart
- Re: [JAVA3D] picking problem Andreas Ebbert
- Re: [JAVA3D] picking problem Stokkermans, Bart
- [JAVA3D] Terrain Following Algorithm &am... Adriano Cavalcanti Silva
- [JAVA3D] Picking problem David Yazel
- Re: [JAVA3D] Picking problem Kelvin Chung
- Re: [JAVA3D] Picking problem David Yazel
- Re: [JAVA3D] Picking problem Chien Yang
- [JAVA3D] Picking Problem Rong Wang