I'm reading about Interactive Graphics , in particular I started the section about the viewing and I did not understand well this sentence :
Initially, we start with the model-view matrix set to an identity matrix, so the camera frame and the object frame are identical.
I know what is a model view matrix and I know that in this case the camera view is oriented in the z negative axis. But I did not understand exactly what is the difference between the object frame and the camera frame.
Thanks for the help.
you got 2 matrices:
View
andModel
whereView
represents where from are you looking and in which directions (camera) andModel
represents where is and how oriented your object you are currently rendering is.However To speed-up rendering we are using just one cumulative matrix so:
so for example when you write something like this in OpenGL:
Then both
View
andModel
matrices are identical and equal to unit matrix. After this point you add your incremental rotations and translations either toView
(inverse order and direction) or toModel
(normal order and direction).For more info see:
Especially the last 3 links in there...