so the inverse of viewspace is worldspace?, does that mean worldspace position for the camera on the left hand coord axis?
Edited by Anddos, 10 February 2013 - 09:54 AM.
Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 10 February 2013 - 10:31 AM
so the inverse of viewspace is worldspace?
You probably mean: The inverse of the world-to-view transformation is the view-to-world transformation. Notice that not the spaces but the transformations from one space to another are mentioned..
Posted 10 February 2013 - 06:35 PM
If you were to create a 4x4 matrix representing the orientation and position of your camera, that would be the camera's "world matrix". Transforming any point by such a matrix would translate it from "local space" relative to the camera's position and orientation, to "world space". If you were to invert this matrix, you would get a matrix that does the opposite: it would transform world-space coordinates to local coordinates relative the camera (AKA view space). This would be your "view matrix".
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.