Datasheet
Functional Description
R
182 Datasheet
• Gouraud shading
• Alpha-blending
• Per Vertex and Per- Pixel fog
• Z/W buffering
These features are independently controlled via a set of 3D instructions. The 3D pipeline
subsystem performs the 3D rendering acceleration. The main blocks of the pipeline are the Setup
Engine, Scan Converter, Texture Pipeline, and Raster Pipeline. A typical programming sequence
would be to send instructions to set the state of the pipeline followed by rendering instructions
containing 3D primitive vertex data.
5.4.2.1 Setup Engine
The GMCH 3D setup engine takes the input data associated with each vertex of a 3D primitive
and computes the various parameters required for scan conversion. In formatting this data, the
GMCH maintains sub-pixel accuracy. The per Vertex data is converted into gradients that can be
used to interpolate the data at any pixel within a polygon (colors, alpha, Z or W depth, fog, and
texture coordinates). The pixels covered by a polygon are identified and per-pixel texture
addresses are calculated.
5.4.2.2 Viewport Transform and Perspective Divide
A 3D-geometry pipeline typically involves transformation of vertices from model space to
clipping space followed by clip test and clipping. Lighting can be performed during the
transformation or at any other point in the pipeline. After clipping, the next stage involves
perspective divide followed by transformation to the viewport or screen space. The GMCH can
support Viewport Transform and Perspective Divide portion of the 3D geometry pipeline in
hardware.
5.4.2.3 3D Primitives and Data Formats Support
The 3D primitives rendered by the GMCH are points, lines, discrete triangles, line strips, triangle
strips, triangle fans, and polygons. In addition to this, the GMCH supports DirectX* Flexible
Vertex Format* (FVF), which enables the application to specify a variable length parameter list,
obviating the need for sending unused information to the hardware. Strips, Fans, and Indexed
Vertices as well as FVF improve the delivered vertex rate to the setup engine significantly.
5.4.2.4 Pixel Accurate Fast Scissoring and Clipping Operation
The GMCH supports clipping to a scissoring rectangle within the drawing window. The GMCH
clipping and scissoring in hardware reduce the need for software to process polygons, and thus
improves performance. During the setup stage, the GMCH clips polygons to the drawing window.
The scissor rectangle accelerates the clipping process by allowing the driver to clip to a bigger
region than the hardware renders to. The scissor rectangle is pixel accurate, and independent of
line and point width. The GMCH supports a single scissor box rectangle.