> Date: Tue, 11 Mar 2003 18:33:57 -0500 > From: Mark Vasudevan <[EMAIL PROTECTED]> > > I am trying to get the screen coordinates from a node in a scene. How do I > carry out the operations? According to the Canvas3d docs, > getPixelLocationFromImagePlate(Point3d imagePlatePoint,Point2d > pixelLocation) should work but I am getting coordinates that are way off the > mark.
getPixelLocationFromImagePlate() just converts canvas pixel locations to physical image plate coordinates. Try calling getImagePlateToVworld() and inverting that transform. Then you can transform your node coordinates to vworld and from there to image plate and canvas coordinates. -- Mark Hood =========================================================================== 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".
