Hi all,
 
I am developing a project that requires me to retrieve an intersection point on a terrain based on a mouse click. I manage to deal with this problem by generating a pickRay onto a canvas3D and retrieving the point3d with the pickIntersection method. Since I generated my terrain using a quadarray, I have basically no problem setting the capability bits for the geometry and the shape3D. But once I try to use a terrain loaded by a loader, which load me a scene (added to a branchgroup), I don't know where I should set the capability for the shape3D as i kept on getting this error:
 
javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to get geometry
Can I somehow set the capability bit on the branchgroup associated with the scene that will allow me to retrieve an intersection point?
 
Thanks in advance.
 
-Alex-

Reply via email to