In this case is the point (-1,-1) in the normalized device coordinates supposed to map to (0,H) or to (W, 0) in the image space?
(0,H)
A translation + negative scaling(reflection in y) would be needed. both can be done in 1 matrix itself using homogenous coordinates
``` A = [
[W/2 ,0 ,W/2 ], [0 ,-H/2 ,H/2 ], [0 ,0 ,1 ]
]
and
P_image = A P_device ```
In this case is the point (-1,-1) in the normalized device coordinates supposed to map to (0,H) or to (W, 0) in the image space?
(0,H)
A translation + negative scaling(reflection in y) would be needed. both can be done in 1 matrix itself using homogenous coordinates
``` A = [
]
and
P_image = A P_device ```