3D objects are defined in local space and are then all brought into one world space system. To facilitate projection, culling, and other operations, the objects are then transformed to view space, where the camera is positioned at the origin and looking down the positive z-axis. Once in view space, the objects are projected to the projection window. The viewport transformation transforms the geometry on the projection window to the viewport. Finally, the rasterization stage computes the individual pixel colors of the final 2D image.
3D对象被定义在模型空间中,并一起被引入到一个世界空间系统中。然后进行简单的投影、选取和其他一些操作,这些对象模型然后被转换到视觉空间中,视觉空间是从摄像机的位置开始,并沿着z轴的正方向延伸的。一旦视觉空间建立,这些对象就被投影到投影窗体中。视角的转换是通过转换投影窗体中的几何图形来实现的。最后,光栅化步骤来完成最终的2D图像中的独立的象素颜色。
所以,总结起来就是物体建模->世界空间->具体操作(投影,选取等)->视觉空间->光栅化。
博客介绍了3D对象从建模到生成2D图像的流程。3D对象先在模型空间定义,引入世界空间系统,经投影、选取等操作转换到视觉空间,再投影到投影窗体,通过视角转换,最后经光栅化步骤计算出2D图像的像素颜色。
8977

被折叠的 条评论
为什么被折叠?



