I haveam programming on a little LWJGL applicationproject and I have been trying to figure out how to successfully use the GLU.gluUnProject function in order to transform a given point on the screen (mouse position) to world coordinates. I found several examples on Google and really tried hard to get it to work. I do manage to get a result vector but the values it gives me make no sense.
Reupload images from imageshack to stack.imgur before they get replaced by ads; see http://meta.stackexchange.com/q/263771
Vaillancourt
- 16.3k
- 17
- 55
- 61