79782851

Date: 2025-10-05 07:45:08
Score: 1
Natty:
Report link

Sorry this answer is way too late, but I discovered a way to transform vertices from model to world-view space. The geometry still looks fine in world-view space. Here is the question/answer: Can you extract a world (or world-view) matrix from a World-View-Projection (WVP) matrix?

The key is guessing the projection matrix using parameters. And when you have a projection matrix that is close enough you can calculate the WV matrix (WV = WVP*P^-1). You can calculate how close it is by transforming a known object like a 1x1x1 cube and checking how close the edges are after transformation - if its still a 1x1x1 cube then the error is low.

Even though this question is very old, it might help people who land on the page via searching.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Twinsen