Background: First I have simple program, more of a proof of concept. I have a number of objects that are roughly spherical. No matter where the user clicks on 3DCanvas the 'nearest' object should be selected.
Pseudo code: It seems the easiest approach is upon object loading, to save a single center point for each object. Add a mouselistener(adapter) and upon click apply current 3Dtransform to initial coodinates, convert to screen coordinates (pixel) and select nearest from event.x, event.y Problem: How to I convert the initial co-ordinates (1.2,3.2,-4.5) to screen coordinates. How do I apply the latest transform to initial co-ordinates. Apology: Sorry I am NEW to java3D, if this question is elementary I apologize in advance. Chris =========================================================================== 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".