i have no trouble in finding the coordinates of a specific point
where the mouse is pressed when that point lies on a geometry.
but what about if im clicking on an empty space? how should i
do it? here's what i have done: (see more in attached file)

  canvas3D.getCenterEyeInImagePlate(camerapoint);
  canvas3D.getPixelLocationInImagePlate(mouseevent.getX(),mouseevent.getY(),point);
  vector3d.sub(point,camerapoint);
  vector3d.normalize();

as it was used in the PickCanvas class. but this doesnt give me a correct reading
of the coordinate where the mouse was clicked. it can be further adjusted
mathematically but i just think there must be a better way than this.

thanks in advance.

- ian

__________________________________
www.edsamail.com

Attachment: Example3.java
Description: Binary data

Reply via email to