Sorry, I forgot to attach the code in the previous mail, probably it is one of those times when you can't do anything right.
The problem: I have a point array in my view. I want to have a pick utility which picks one of these points, even if it is not clicked very near to the point. I'm creating a Cylindrical PickRay for that with the required radius. The Pick works fine in the initial view but when I rotate the view it does not pick the point properly. I'm doing a getPixelLocationInImagePlate( x, y, p3d) to get the point corresponding to the mouise click, then I'm transforming the point with the transform of getImagePlateToVworld(Tranform3d) and setting this point as the origin of the ray and the direction is taken as the opposite of the 'z' parameter of this point(I think this is the place where I'm screwing this up) I'm sending you a test program, I would appreciate if you can execute the code and point out the mistake I'm doing. Regards, Nitin Jain =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
PickTest.java
Description: Binary data
