Question

If I have a matrix which is a combination of WorldViewProjection and I multiply it by the inverse of the projection does it yield the WorldView matrix or something else? If not then how can I extract the WorldView matrix from a WorldViewProjection matrix?

Thanks for any help :)

Was it helpful?

Solution

If you multiply on the right by the inverse of Projection, you will get World*View.

If you multiply on the left you'll get something entirely different, since matrix multiplication isn't commutative.

This assumes that Projection has an inverse. Not all matrices do.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top