全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Depth buffer, back-face culling?

又称: depth buffer · back-face culling

Definition 31.5 University Computer Science — Year 3 · 第 31 章 — Computer Graphics: From Triangles to Pixels

A depth buffer, or z-buffer, holds one depth per pixel, initialised to the far plane; a triangle’s pixel is drawn only if its depth at that pixel is smaller than the one stored, which it then replaces. Back-face culling drops, before rasterisation, every triangle of a closed surface that faces away from the camera; with the triangles of every surface listed in the same order seen from outside, it is the triangles whose screen order is reversed.

The image that zbuffer.c writes: the two triangles cross along the line where their depths are equal, and each is darker where it is farther. No order of drawing the two whole triangles would give this picture.
The image that zbuffer.c writes: the two triangles cross along the line where their depths are equal, and each is darker where it is farther. No order of drawing the two whole triangles would give this picture.
在原文中阅读 →