rotate and zoom world in blender (math question)
Posted on 2007-12-04
I have created a model in blender and I would like to programmatically rotate and zoom in and out on the object.
So far I have been directed to using the
Window.GetViewMatrix() command in blender.
I can manually rotate my world using blender and then spit out the GetViewMatrix().
This matrix is 4x4 in size.
I would like to know what math is involved to manipulate this matrix to rotate my world by say, 5 degrees.
I'm guessing that one might not need to be familiar with blender to help with this question.