In article
<7bc88e7f-fc92-4218-873f-0874643fced5@[EMAIL PROTECTED]
>,
Sebastian Paul <sebpaul79.work@[EMAIL PROTECTED]
> wrote:
> I could somehow calculate the factor so that the translation
> synchronizes with the mouse cursor.
This is the "correct" solution, and the whole reason the factor exists.
Obviously, if you scale the image or change view parameters, you need a
different factor.
Btw, you can calculate the factor for orthographic projection, but you'd
need to do some trig -- it's similar to when the view params change or
the image scales, but you have to update it "live."
--
Please take off your pants or I won't read your e-mail.
I will not, no matter how "good" the deal, patronise any business which
sends
unsolicited commercial e-mail or that advertises in discussion newsgroups.


|