Hello Guest

View matrix and camera rotation (OpenGL 3.2)

  • 1 Replies
View matrix and camera rotation (OpenGL 3.2)
« on: February 11, 2013, 21:59:04 »
Can you help me with a little problem i'm trying to rotate camera (you know LOK UP, LOOK DOWN, TURN LEFT, TURN RIGHT).
Based on
The Quad with Projection, View and Model matrices

i assume that i need to do something with viewMatrix but I have no idea how to go about it.


Offline basil

  • **
  • 81
Re: View matrix and camera rotation (OpenGL 3.2)
« Reply #1 on: February 14, 2013, 23:39:57 »
you need basic understanding on how opengl handles a matrix


select matrix, load-matrix etc.

maybe that helps too : http://www.songho.ca/opengl/gl_transform.html