Hi,
'view space' is a Carthesian three dimensional coordinate system like 'world space', but aligned with the position and rotation of a camera. In d3d9, the X axe goes forward on the view direction, Y up, and Z to the left.

worldSpacePos * matView -> viewSpacePos // it had an error, fixed.
viewSpacePos * matViewInv -> worldSpacePos








Last edited by txesmi; 05/13/20 11:58. Reason: ERROR!!!!