i am using a SDK which is based on OpenGL ES and provides me a LookAt(from, to, up) function to construct a view matrix for camera.
What i want to achieve is implement a camera which can be moved freely using mouse (looking left/right and up/down) and keyboard (moving foreward/backwar and strafe left/right).
I initially set up the camera matrix with the required vectors (from, to, up) and need to maintain theses vectors while changing the camera orientation (mouse look).
Moving is easy, i can easily change camera location (from), up vector doesn't change.
What i need are code/calculations how to "maintain" the up/to vectors once camera orientation is changed.
any help welcome ;)