Hi guys
I have created an app that reads in Finite Element models (3 - 4 sided polys)
So far its taken a couple of days to get it crudely working and I am loving this OGL stuff
I have spent most of today on this forum looking for past posts on 3D rotation and local/global axes…
So far my app rotates pretty well about the 3 global axes using glRotatef (I am using different mouse buttons to split the X Y and Z)
Now my question…
The model rotates about its own axis system (global or whatever you wish to call it) … fine I need to do this But…
I also want to rotate about the screen X, Y and Z - in fact I want this to be my default rotation as its more intuitive and like other 3D apps I use
To be clear - Imagine the screen as a 2D plane with X horizontal, Y vertical and Z out the screen - Thats the rotation axes I want
I could do with a few pointers on what to research. The OGL Superbible is going home with me tonight.
Is there a simple way to rotate about the screen or is it a ‘transformation job - digging out my oooold Uni text books?’
Many thanks for your time.
Julian