VII.6

Accurate Z-Buffer Rendering

Raghu Karinthi,     West Virginia University. E-mail address: raghu@cs.wvu.edu

This gem describes the software implementation of a high-precision color Z-buffer Tenderer. The system is virtual: No frame-buffer hardware is assumed. Instead, a twenty-four-bit color model supported by a number of widely available Internet utilities ( Fleischer and Salesin 1992, Foley et al. 1990) creates a desirable and highly portable system.

Description

The sequence of steps that map (in perspective) a scene description onto a raster file appears in Figure 1. This gem leverages off several freely available utilities to embody each function block. First, the input is presented using a slightly modified version of the Neutral ...

Get Graphics Gems V (IBM Version) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.