Hi,
I need to retrieve the coordinates of a rectangle in the virtual world tha feet
exactly with the window size. I need also to have this rectangle exactly placed in the
front clip plane.
To do this, I've tried the following code in an application with a canvas of 256x256
pixels.
getPixelLocationInImagePLate(0, 0, leftPoint);
getPixelLocationInImagePlate(255, 0, rightPoint);
getImagePlateToVWorld(vWorldConv)
vWorldConv.transform(leftPoint);
vWorldConv.transform(rightPoint);
The result give me points which aren't placed in the front clip plane. Why ?
How are Z coordiantes of leftPoint and rightPoint computed ?
Results are respectively (-1.0, 1.0205357142857148, -2.4142135623730954)
and (0.9921875, 1.0205357142857148, -2.4142135623730954)
Can someone explain this to me ?
Thanks.
===========================================================================
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".