hi there…
i got one problem…
how can i transform cursor coordinates(2D)…
to eye coordinates (i use gluLookAt() func)…
Hi !
Quick answer, you can’t…
A 2D coordinate cannot be converted to 3D unless you specify the third coordinate value or else you get a wild guess only.
But you may want to have a peek at the gluProject and gluUnproject functions.
Mikael