• FEATURED

View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# Inverse of viewspace

Old topic!

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.

2 replies to this topic

### #1Anddos  Members

Posted 10 February 2013 - 09:30 AM

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.

### #2haegarr  Members

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

### #3MJP  Moderators

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

Old topic!

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.