Trackball/Arckball Camera calculations (3d) ?

Advanced game related topics
Vallan
User
User
Posts: 24
Joined: Thu Mar 09, 2006 1:25 pm

Trackball/Arckball Camera calculations (3d) ?

Post by Vallan »

I have got a problem with 3d Calculations.
How do I calculate an Arckball camera? This is one where you can move your seight with the mouse lke in most Shooters. My Problem is that I don't know how to calculate the Look At point and the Up vector. Couldanyone help me please?
Google 4ever!
User avatar
Comtois
Addict
Addict
Posts: 1432
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

like terrain.pb example ?
Please correct my english
http://purebasic.developpez.com/
Vallan
User
User
Posts: 24
Joined: Thu Mar 09, 2006 1:25 pm

Post by Vallan »

Yes exactly. (Only the camera, top of terrain ie irrelevant)
Google 4ever!
Post Reply