Fig. 1 is a structural diagram illustrating essential components of this image rendering device. In order to provide data necessary for image rendering processing, the image rendering device comprises a buffer (memory buffer) 1 as an example of a semiconductor device, a pixel pipeline processor 2 having a serial operation pipeline, and a crossbar switch 3 connected between the buffer 1 and the pixel pipeline processor 2 via interface components.
The buffer 1 is a data memory storing the above-mentioned data that are to be transmitted to the crossbar switch. In the present embodiment, as an example, data such as
CLUT (Color Look Up Table) and texture for generating the entire color and pattern on a polygon by mapping are stored. The CLUT comprises a table for the three primary colors, R (red), G (green), and B (blue) and ana value table. The table for the three primary colors, R, G, and B is used for determining the color of each pixel of the texture, and the a value is a coefficient value for determining for each pixel the blend(a blending) ratio of images when the texture is mapped, that is, a coefficient value representing semi-transparency. The index for picking up the three primary colors R, G, and B from the CLUT (the value for specifying the table number in the CLUT) is defined for each pixel represented by the XY coordinates of the texture.
The pixel pipeline processor 2 conducts reading of data from the buffer 1 and also conducts texture mapping, comparison of Z coordinates, and pixel value calculations by a pipeline system.
The pixel pipeline processor 2 also conducts the processing of extracting the edge of image brightness, the processing of picking up the data for the three primarycolors, R, G, andB from the CLUT according to the texture index and setting the color of each pixel, and thea blend processing using the a value (graded a value) picked up from the CLUT by using byte values of each pixel ina G plane as an index. Furthermore, the pixel pipeline processor 2 conducts processing such as scissoring, dithering, and color clamping.
Scissoring is a processing technique for deleting data that fall outside of a screen, dithering is a processing technique for incorporating the arrangement of colors for representing a large number of colors with a small color palette, and color clamping is a processing technique employed during color computation for limiting the value thereof so that it does not exceed 255 or does not become less than 0.
Data obtained by conducting the above-mentioned processing in the pixel pipeline processor 2 are stored in a frame buffer (not shown in the figures) and then converted into frame data (two-dimensional image data) rendered on a two-dimensional monitor screen.
Those frame data are then read out from the frame buffer, produced from an output terminal and sent to a two-dimensional monitor unit.