I'm trying to write my own 3D model viewing app, and I want to be able
to drag the model around.
My question is: How can I take the mouse position (x, y), and get the
world coordinates (x and y only) at the object's current z position for
that screen (x, y)?
Basically, I want the object to track the mouse, no matter what it's Z
position is (consider the camera to be at the origin).
Asher Dunn
--------------------------------------------------------
President and Head Developer of Fireye Software
<http://www.fireyesoftware.com/>
Make PDFs from your RB app
<http://www.fireyesoftware.com/code/pdfclasses/>
AIM and Yahoo: fireye7517
REALbasic 5.5.3 Mac OS X 10.3.5
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|