摘要 |
A texturing apparatus and method are implemented. These provide a mechanism for texturing graphics objects using a three-dimensional texture in the absence of hardware support therefor. Graphics primitives generated by a decomposition of the graphics object to be displayed are rasterized by interpolating a two-dimensional subset of the threedimensional texture. For each primitive, a texture image is constructed in response to the interpolation, having a size covering the primitive. The texels constituting the texture image are downloaded to a graphics engine, and vertex data corresponding to the primitive are sent to the graphics engine. A hardware rasterization of the primitive is performed., including depth, color, texture interpolation over the downloaded image, as well as any advanced graphics features supported by the hardware.
|