Generating the view matrix from 3 vectors in OGL

Started by
0 comments, last by kill 23 years, 3 months ago
Hi. I am using 3 vectors to represent my camera (the look vector, the up vector and the right vector). Can someone explain how to generate a matrix that can then be fed to OpenGL from these three vectors? Thanks.
Advertisement
The normal way is to use gluLookAt(exyx, eyey, eyez, centerx, centery, centerz, upx, upy, upz). I do not understand what you mean with the "right vector"?

This topic is closed to new replies.

Advertisement