3D Spaces (Model/World, View/Eye, Projection)

て烟熏妆下的殇ゞ 提交于 2019-12-06 15:22:23

Just as an idea, but you could add a final stage "Viewport Space" (or something along those lines).

You hinted at it in the Projection Matrix stage, but it is a separate transformation applied to the vertices after the projection matrix in which the x, y and z coordinates are divided by their w component to map them to the "real plane", from homogeneous coordinates, and the coordinates are adjusted to move (0,0), the origin, from the center of the screen to the top left.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!