反之,如果您禁用了深度缓冲,那么必须在绘制3d对象的顺序上付出一定精力。
Conversely, if you disable the depth buffer, you have to pay attention to the order in which you draw your 3d objects.
通过使用深度缓冲,对象可得到正确的渲染。
您可以更改两个属性:深度缓冲与投影,如清单7所示。
You can change the two properties, depth buffer and projection, as Listing 7 shows.
应用推荐