• Advertisement
Sign in to follow this  

Inverse of viewspace

This topic is 1809 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

so the inverse of viewspace is worldspace?, does that mean worldspace position for the camera on the left hand coord axis?

Edited by Anddos

Share this post


Link to post
Share on other sites
Advertisement

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..

Share this post


Link to post
Share on other sites

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".

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement