Hello java3D experts,

I got a serious problem in picking two kinds of object by one shot mouse 
click. I have a class called PolyLine extending BranchGroup that 
contains a point array. I created similar classes called Circle, Oval, 
Curve etc. extending Branchgroup also. They in turn use the PolyLine 
class to construct their geometry. Ultimately everything is a bundle of 
PolyLines. I drew a Circle in the canvas3D and rendered it as surface. I 
drew a PolyLine on the top of the surface. Now I tried to pick these two 
objects by one shot mouse click. This time I succeded.

I again drew a circle in the canvas3D. I made it as surface. I drew 
another circle on top of the circle. Then I tried to pick those two 
circles with one shot mouse click but I could not pick them. The result 
is only when I draw a polyline on top of a surface I can pick them with 
one mouse click but if I draw other shapes like circle or oval on top of 
the surface I can not pick them with one mouse click. What is the reason 
behind it? My PickObject mode uses PickObject.BOUNDS. Please help me to 
get rid of the problem.

Regards,

Yadav.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to