3d game guru上用的是水平、垂直视角都相同的视景体,所以实际的视平面为正方形
对于要获得宽高比不为1的视平面,书中是直接对y轴进行缩放(不知道这样对图象是不是会有一定的变形),不过投影公式中y轴的缩放因子是直接乘以宽高比的,这样岂不是y轴被拉长了??不解.......
还有里面的相机数据结构使用了归一的视平面大小,但是却使用不为1的视距
这是andre的回复
that is there is no way to project a 1:1 image where FOV h = v onto a
non-square surface, so one axis has to distort OR you have to slightly
change the FOV on the axis that you are less interested in, usually the Y