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