Hi, I am trying to draw lines that are always displayed on
top of Canvas3D. The lines should be visible no matter what objects are in the SceneGraph. Here is the code used to get the point from image space(x, y) to 3D space (Point3d). In order to draw lines that appear on top of Canvas3D, the points must be further projected to the near clipping plane to be able to achieve the objective. Is there better or easier way to do this? Thanks! -- Scott --------------------------------------------------- public Point3d getWorldCoordinate(Canvas3D canvas, int x, int y ) { Canvas3D canvas; Transform3D ipToVworld = new Transform3D(); Point3d point = new Point3d(); //get the transformation canvas.getImagePlateToVworld(ipToVworld); canvas.getPixelLocationInImagePlate( x, y, point ); //Get coordinate in world coordinate system. ipToVworld.transform(point ); return point; } ---------------------------------------------------- __________________________________ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com =========================================================================== 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".