I'm not sure what 'normalized' coordinate space means. If the screen has W != H, would we have to non-uniformly scale stuff in the original coordinate space then?
HelloWorld
I think the normalized space is the (-1,-1) to (1,1) space. If you scale that to the screen coordinates, the aspect ratio will be distorted, but this can be avoided by scaling up to a square space larger than the screen space and cropping it down.
keenan
@zyx, @HelloWorld Yep, you do indeed have to be careful about the aspect ratio.
Asterix
Is the answer to the question at the bottom of the slide is that you translate by (1,1) and then scale by (W/2,H/2)?
I'm not sure what 'normalized' coordinate space means. If the screen has W != H, would we have to non-uniformly scale stuff in the original coordinate space then?
I think the normalized space is the (-1,-1) to (1,1) space. If you scale that to the screen coordinates, the aspect ratio will be distorted, but this can be avoided by scaling up to a square space larger than the screen space and cropping it down.
@zyx, @HelloWorld Yep, you do indeed have to be careful about the aspect ratio.
Is the answer to the question at the bottom of the slide is that you translate by (1,1) and then scale by (W/2,H/2)?
@Asterix Yes, I think so. throw away the reflect