|
|

楼主 |
发表于 2007-5-10 12:45:00
|
显示全部楼层
Re:DX中齐次除法执行的时机?
我一直以为是先执行齐次除法,被投影到投影平面上的点被缩放到-1到1之间,然后再根据viewport的变换把坐标映射成正在的屏幕坐标,和你说的设备坐标得到之后,然后进行视口变换生成了窗口坐标一样,但是DX的文档说应用了viewport变换后 After this matrix is applied, vertices are still homogeneous - that is, they still exist as [x,y,z,w] vertices - and they must be converted to non-homogeneous coordinates before being sent to the rasterizer.所以我不知道DX的执行顺序到底是什么
|
|