Parallel polygon/pixel rendering engine and method

Abstract: A parallel polygon/pixel rendering engine for a digital map capable of producing real-time linear shaded, three dimen­ sional, raster graphics for video generation is suitable for use with avionic display systems, particularly digital map displays which include an instruction and interpreter unit and an image scanner. The apparatus comprises a raster engine (12), a memory interface (14) and a bit mapped memory (16). The raster engine further includes a raster engine control and generic interpolation polygon processor interface (62), an edge interpolator (64), a line interpolator (68) and a controller (74) for the edge and line interpolators. The raster engine control is electrically connected to receive data from the instruction interface unit and is further electrically connected to the edge interpolator (64) and interpolator controller (74). The edge interpolator is adapted to receive data from the raster engine control and the line interpolator is electrically connected to receive data from the edge interpolator. A first edge pipeline (70) is connected to a second output of the raster engineer control (62) and a second edge pipeline (72) is connected to an output (K) of the first edge pipeline (70) as well as an output (X) of the edge interpolator (64). An output (KX) from the second stage (72) of the edge pipeline and a plurality of outputs from the line interpolators (68) are then fed to a memory interface which is connected to receive data from the plurality of outputs. A bit mapped memory (16) is also connected to receive data from the memory interface (14) and control signals from a bit mapped memory controller (20). The bit map memory controller controls the memory interface components and the bit map memory during both normal and test modes.

Description: This invention is directed generally to a rendering engine architecture for computer graphics and, more specifically, to a parallel polygon/pixel rendering engine and method for providing three-dimensional Gouraud shaded objects rapidly. In the computer graphics environment, there is a need to create three-dimensional Gouraud shaded objects rapidly in order to perform high speed operations such as animation. Examples of systems requiring such animation include, but are not limited to, digital map systems, helmet mounted displays and other types of aircraft displays as well as ground based computer graphics systems. In particular, a perspective view digital map system in an airplane cockpit must have the ability to display complex scenes of moving imagery in less than one-tenth of a second in order to assure that the display or display image presents smooth movement when animated. In an article "A32b 3-D Graphic Processor Chip with 10M Pixels/s" published in IEEE International Solid-State Circuits Conference, Volume 31, February 17 - 19, 1988, pages 168, 169 and 352, a three-dimensional graphic processor is described for rendering realistic 3-D images at the rate of 10M. The processor besides Gouraud Shading allows a variety of 2-D, 3-D and bit-map-graphics functions such as high speed line drawing, image data bidirectional transfer between the HOST system and the bit map memory. The large scale integrated circuit consists of four blocks, namely a command processor, a pixel processor, a memory interface and a window block for multi-window support. The pixel processor contains an edge digital differential analyzer, two sets of scan digital differential analyzers and a Z buffer compare circuit. After receiving the parameters and shading instruction from the command processor, the edge DDA starts X, I, and Z computation of the horizontal scan start point and computes only X of the scan-end point on the edges of a polygon in every 50ns. After that the I Scan DDA and the Z Scan DDA are initiated for horizontal shading operation. While the Scan DDA's execute X, I and Z interpolation for one scan line, the edge DDA computes the values for the next scan line. No details of the structure and function of the individual blocks is disclosed. EP-A 0 262 619 describes a shading circuit for shading a plurality of polygons which constitute a solid model, but does not describe the processing of polygons of more than three vertexes. In EP 0 262 619 the shading circuit has a unit for calculating coodinates and intensities of points inside a polygon based on X, Y and Z coordinates and intenstities of vertexes of each ofthe polygons constituting a solid model. The unit includes a preprocessing section for obtaining the depth change of the Z coordinate for each unit change in X coordinate, and the change of intensity for each unit change of the X coordinate based on X, Y and Z coordinates and intensities of three vertexes of each triangular polygon constituting the solid model. Known polygon raster engines typically rasterize only one polygon at a time, a single line at a time while using only one rendering engine pipeline. The invention offers an improvement over the prior art by providing an apparatus which rasterizes one polygon at a time by simultaneously creating multiple lines of pixels to rapidly fill the polygon. The simultaneous rendering of multiple lines results in an increase in throughput capability which further enables display animation to be achieved. While other alternatives to the approach used by the invention are available, they result in systems which are more complex or expensive. For example, one such alternate approach is based upon rasterizing a plurality of polygons in parallel using known single line drawing techniques. However, such an approach requires either a plurality of full frame memories to accommodate the polygons or a way of multiplexing the polygons into frame memory. The first choice using a plurality of memories is expensive, the second choice using multiplexing reduces throughput rates. Both of the above-described methods are complex and costly in comparison to the invention. Earlier filed European patent applications EP-A 0 382 139, entitled Generic Interpolation Pipeline Processor is published 16.08.1990, and EP-A 0 379 983 entitled "Memory Interface Controller" is published 01.08.1990. EP-A 0 382 139 teaches a generic interpolation pipeline processor or "GIPP" design to accelerate the polygon draw-and-fill operations used in real-time video display systems. The GIPP performs integer interpolation calculations, such as those found in intensity interpolation shading, at high speed (effectively, for example, 225 million operations per second). A single independent variable is used to calculate two different dependent variables in parallel. Thus, a single GIPP can be used to draw correctly shaded monochrome lines at up to 25 million pixels per second. To ease control of the draw-and-fill process, the GIPP is equipped with an internal counter to allow the drawing of shaded lines by specifying only the values at the end points. The inputs are double-buffered to allow efficient utilization of the chip's speed. The GIPP uses hardware handshaking to read its input data, and supply status bits indicating division by zero or invalid output data. Two GIPPs may be used to draw polygon edges and another one or more may be used to fill between the edges with a minimal amount of extraneous logic. When polygon edges are joined at their end points, a Join signal may be used to avoid writing both new end points into the GIPP. The present invention utilizes a plurality of GIPPs in order to accomplish high speed rendering of graphic display objects. The memory interface controller (MIC) of EP-A 0 379 983 is a memory interface controller apparatus for use in a digital system, such as a graphics display system. The apparatus comprises means for initializing the system memory, means for receiving incoming pixel data and means for performing hidden surface removal on the incoming pixel data as well as means for construction of images with transparent objects. The present invention uses a plurality of MICs in combination with GIPPs as well as other elements in order to provide three-dimensional animation with Gouraud shading. SUMMARY OF THE INVENTION The invention is characterised in independent claims 1 and 6. Preferred embodiments describe the dependent claims. The apparatus of the invention provides a raster graphics generator (RGG) including a parallel polygon/pixel rendering engine for a digital map capable of producing real-time linear shaded, three dimensional, raster graphics for video generation. The invention is suitable for use with avionic display systems, particularly digital map displays which include an instruction and interpreter unit and an image scanner. The apparatus of the invention as characterized in claim 1 comprises a raster engine, a memory interface and a bit mapped memory. The raster engine further includes a raster engine control and generic interpolation polygon processsor interface, an edge interpolator, a line interpolator and a controller for the edge and line interpolators. The raster engine control and GIPP interface is electrically connected to receive data from the instruction interface unit and is further electrically connected to the edge interpolator and interpolator controller. The edge interpolator is adapted to receive data from the raster engine control and the line interpolator is electrically connected to receive data from the edge interpolator. A first edge pipeline is connected to a second output of the raster engine control and GIPP interface and a second edge pipeline is connected to an output of the first edge pipeline as well as an output of the edge interpolator. An output from the second stage of the edge pipeline and a plurality of outputs from the line interpolators are then fed to a memory interface which is connected to receive data from the plurality of outputs. The memory interface accepts color, linearly shaded, three dimensional pixel data from the raster edge. The memory interface controls data transfers between the raster engine and the memory interface with a hold control signal. A bit mapped memory controller is connected to the memory interface. A bit mapped memory is also connected to receive data from the memory interface and control signals from the bit mapped memory controller. The bit map memory controller controls the memory interface components and the bit map memory during both normal and test modes. In the preferred embodiment of the invention. the edge interpolator is comprised of a plurality of generic interpolation pipeline processors or GIPPs. The edge interpolators may preferably comprise at least two GIPPs while the line interpolators may preferably comprise at least four GIPPs. The memory interface is preferably comprised of a plurality of memory interface chips (MICs). The bit mapped memory controller is preferably comprised of programmable logic arrays. A plurality of test interface units may be included in the design of the raster engine in order to facilitate manufacturing and debugging procedures should a failure occur. The raster engine of the invention has the capability for simultaneously rendering multiple polygon lines for a single polygon. It provides a streamlined memory interface for use in a three dimensional graphics system with an animation capability. The raster engine uses an interleaved memory wherein each parallel pipeline works with a portion of the memory. Such raster engine for a digital display system significantly increases throughput of data for rendering images. It discloses a parallel pipeline architecture which is expandable and capable of meeting increased system requirements. It is modular in design allowing a system design to be downsized or enlarged as required by the display system being serviced by the raster engine. Other objects, features and advantages of the invention will become apparent to those skilled in the art through the description of the preferred embodiment, claims and drawings herein wherein like numerals refers to like elements. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a representation of a block diagram of one embodiment of a raster graphics generator as provided by the invention. Figures 2A, 2B and 2C schematically illustrate the computer algorithm employed by the invention for filling and shading polygons. Figures 3A and 3B are conceptual illustrations showing the placement of a rendered polygon into a bit mapped memory as employed by the invention. Figure 4 is a block diagram of one example of a raster engine as provided by the invention. Figure 5 illustrates the interface connections between the raster engine and memory interface devices as used in one embodiment of the invention. Figure 6 is a block diagram representation of the bit mapped memory (BMM) quarter as used in one embodiment of the invention. Figure 7A is a block diagram representation of the BMM controller provided by the invention. Figure 7B is a flow chart of the initialization cycle of the BMM controller as provided by the invention. Figure 8 is a flow chart of the control process of the raster engine controller as used in the preferred embodiment of the invention. DESCRIPTION OF THE PREFERRED EMBODIMENT Figures 2A, 2B, 2C sequentially illustrate the computer algorithm employed by the invention to generate polygons used for rapidly providing three dimensional Gouraud shaded objects. Referring now to Figure 2A, the raster engine initially accepts data representing a number of points a, b, c, d, e, f and g, generally designated P. Each point is described by cartesian coordinates (X, Y, Z), color coordinates (R, G, B), a translucency coefficient (K) and an invisibility factor (T). The points, P are sorted from top to bottom using the Y coordinate as the sorting discriminator. As shown in Figure 2A, the points generally define a convex polygon. Now referring to Figure 2B, in a second step the points which describe the polygon's sides are calculated by linearly interpolating the Y and Z coordinates and R, G and B across the X coordinates of the points. Those skilled in the art will recognize that X, Y and Z coordinates represent Cartesian coordinates while the color descriptors R, G and B represent red, green and blue color values. In this way the sides, S, of the polygon are determined. The invention is explained herein by means of a description of the preferred embodiment. Those skilled in the art will understand that the description is intended to be by way of illustration and not limitation of the invention and that alternate means may be employed to carry out the invention. Figure 1 shows a block diagram of one embodiment of the polygon/pixel rendering engine of the invention as used in a display system including an instruction interpreter unit (IIU) 10 and an image scanner 18. The raster graphics generator 100 of the invention comprises a raster engine 12, a memory interface 14, and a bit mapped memory 16 having a controller 20. The invention may advantageously include test interfaces 40, 42 and 44. The instruction interpreter unit 10 (IIU) provides an interface for the command bus 46, accepts and processes the graphics commands as provided by the display system 50, and outputs polygon commands to the raster engine via bus 52. The raster engine 12 receives polygon commands via bus 52 from the IIU and outputs linearly shaded, color raster graphics video to the memory interface via bus 54. The memory interface is connected to receive the raster graphics video signals from the raster engine via bus 54. The memory interface also implements hidden surface removal and transparency processes as required for the polygons rendered by the raster engine. The memory interface also outputs this processed data to the bit mapped memory 16. The bit mapped memory (BMM) 16 has two purposes. It is used by the memory interface as a read/write frame buffer to perform transparency and hidden surface removal processes, and it interfaces with the video bus 56, providing colored, transparent, linearly shaded, three dimensional raster graphics video signals to the image scanner 18 via video bus 56. The controller 20 provides control signals to the memory interface and BMM during both normal and test modes. The test interface units 40 and 42 and test interface controller 44 may be advantageously included in a system utilizing the apparatus of the invention for facilitating manufacturing and debugging of large scale integrated circuits embodying the apparatus of the invention. In some cases it may be preferable to build the system as an application specific integrated circuit (ASIC) from gallium arsenide semi-conductor material. Now referring to Figure 2C, for each value of Y between Y-TOP and Y-BOTTOM, two endpoints exists as defined by the sides, S, calculated in the above step. Next, in order to calculate the values of the pixels which fill the polygon, a linear interpolation between each of these two points across Y is accomplished for the Z coordinate and the R, G and B parameters. This interpolation is schematically shown in projection D which is comprised of a number of pixels, PX, representing interpolated points between coordinates Y1 and Y2. In this way the entire polygon 30 is shaded. After shading the polygon is added to the bit mapped memory described in detail below. Figures 3A and 3B conceptually illustrate the addition of a polygon 32 to a bit mapped memory 34 already containing several rendered polygons. The polygon 32, in this example, exhibits transparency characteristics as can be shown in Figure 3B since the polygon 36 has an area 37 which is visible through the overlaid polygon 32 which is overlaid on polygon 36. In a typical digital map display, several polygons are typically joined in this fashion to create images and symbols representing objects in the real world such as terrain, trees, vehicles, etc. Referring now to Figure 4, a block diagram is shown illustrating the raster engine 12 in more detail as well as the interfaces between the raster engine and the IIU and memory interface 14. The IIU 10 further includes a vertex list 60. The raster engine 12 is further comprised of the raster engine control and GIPP interface 62, edge interpolator 64, line interpolators 68, a first stage edge pipeline 70 and a second stage edge pipeline 72. The raster engine control and GIPP interface (REC) 62 is advantageously implemented in a programmable logic device. The REC reads data transmitted on bus 52 from the vertex list 60 which is typically comprised of an instruction list RAM further including at least two. The REC reads the data from the instruction list RAM on an as needed basis to provide data line 80 as required by the edge interpolators 64. Serving as a controller between the edge interpolators and the line interpolators is inter-GIPP controller 74. The REC is further explained below with reference to the REC diagram shown in Figure 8. Still referring to Figure 4, for a three dimensional color graphic application, the edge interpolators 64 are preferably comprised of a first and second edge interpolators GIPP1 and GIPP2 which are each further comprised of at least three GIPP chips. Each GIPP chip can interpolate two axes at a time across the coordinate. Therefore, six of these chips are used for the edge interpolation function. Each of the chips provides edge data, in this case along the X axis to the second stage of the edge pipeline 72 via bus 82. In a similar fashion in the preferred embodiment, there are four line interpolators 84 each comprised of at least 2 GIPP chips. Each line interpolator 84 linearly interpolates Z, R, G and B across the Y coordinates. The line interpolators have outputs 86B which feed the interpolated data into the memory interface 14. The inter-GIPP controller 74 is electrically connected between the edge and line interpolators. The inter-GIPP controller coordinates the transfer of data between the edge interpolators and the line interpolators and monitors the operation of the edge interpolation GIPP chips. Processing of pixel data interior to the polygons is evenly distributed among the four line interpolators by decoding the two least significant bits, (LSBs) of each pixel's X coordinate as the data is clocked out of the edge interpolator onto an inter-GIPP bus 88. Since both edge interpolators share bus 88, the inter-GIPP controller 74 also includes a multiplexer for multiplexing the data by controlling the output enables of the GIPPs via control lines 90 and 92. The inter-GIPP controller further monitors the same two bits of each X coordinate from each of the two edge interpolators 76 to ensure that the data is synchronized as it is passed to the line interpolators. If an error is detected in this synchronization check, error recovery is handed off to the REC 80 through a discrete output 94. Referring now to Figure 8, a detailed flow chart of the claimed method as implemented by the raster engine controller 62 is shown. In the preferred embodiment of the invention, the REC reads from two instruction lists which are contained in the vertex list 60. The first instruction list corresponds to information required for the first edge interpolator GIPP1 and the second corresponds to information required for edge interpolator GIPP2. When a new polygon is initiated, two points are loaded to each of the edge interpolators. After that, each new vertex is JOIN loaded to the last point in accordance with the JOIN function of the GIPP chips as described in Miller, et al. End of file (EOF) and end of polygon (EOP) comprise data in the form of "TAGS" stored in the vertex list 60. As shown in Figure 8, at step 220, the raster engine controller waits for a frame synchronization signal prior to resetting the edge interpolator GIPPS at step 222. After resetting the edge interpolator GIPPS at step 222, the first edge of the polygon is loaded to both edge interpolators at step 224. The raster engine controller will not overload the GIPPS, therefore, at steps 226 and 228. Referring now continuously also to Figures 2B and 2C together with Figure 8, the polygon abcdefg of Figure 2B, for example, may be divided into two display lists. The first display list would include vertices a, b, c and d and the second display list would include vertices a, g, f, e and d. The raster engine controller would read the first display list into the first set of edge GIPPs and the second display list into the second set of edge GIPPS. In this example, point d would be tagged with an end of polygon signal 1 (EOP1) to signify the end of the first display list to the raster engine controller. It would also be tagged with an end of polygon 2 (EOP2) bit to signify the end of this second display list. Note that in this example, the first display list will signal end of polygon prior to exhausting the second display list. Note that the end of polygon signals EOP1 and EOP2 do not refer to separate polygons but two separate display lists describing the top and bottom of a single polygon. In an alternate embodiment of the invention, the polygon could have been divided from left to right using the top most and bottom most values, namely b and f, as the beginning and end of the polygon markers. In the preferred embodiment, the point d is tagged once with a single bit to denote end of polygon. The controller recognizes the end of display list 1 or display list 2 as the case may be, through correlation with the time at which the signal is received. The raster engine controller, therefore, proceeds to process the polygon edges at steps 226 and 228. At step 226 if the first set of edge GIPPs is not full it loads the mix points from display list 1, if the display list is not exhausted, it proceeds to load edge GIPP2 with the next points from display list 2 at step 228. If step 228 encounters an EOP2 signal the process proceeds to step 230 which checks to see if the first set of edge GIPPs is full until an EOP1 signal is received signifying the exhaustion of the display list for edge GIPP1. Similarly, if step 226 encounters an EOP1 signal, the raster engine controller proceeds to finish filling the set of second edge GIPPs until an EOF or EOP2 signal is received. An EOF signal signifies the exhaustion of all polygons in the construction list memory and returns control to step 220 to await the next frame signal. In this way, both edge GIPP interpolators interpolate the edges from left to right with the first edge interpolator, interpolating the top most points and the second edge interpolator interpolating the bottom most points. After the edges have been interpolated and the EOP signals have been received for the top and bottom (display list 1 and display list 2), the information is passed to the line interpolators which interpolate in a similar manner across the Y coordinates of the system as explained with reference with Figure 2C above. Referring now to Figure 5, the interface connections between the raster engine 12 and the memory interface 14 are shown in more detail as are the elements comprising the memory interface. The memory interface as implement in one embodiment of the invention comprises at least 4 MIC chips 102. The interface lines shown are consistent with those described by Snodgrass, et al. The memory interface 14 accepts color, linearly shaded, three dimensional pixel data from the raster engine 12. The memory interface controls data transfers between the raster engine and the memory interface with the holds control line signals. HOLD 1, HOLD 2, HOLD 3 and HOLD 4. Referring now to Figure 6, a more detailed block diagram of a portion of the bit mapped memory is shown with the interfaces between the bit mapped memory and the memory interface and the bit mapped memory and the video bus. The portion shown in Figure 6 is one of four identical sections of the bit mapped memory. Referring now continuously to Figures 5 and 6, note that if a hold signal is asserted, the raster engine will not send new data to the memory interface. The memory interface reads pixel data from the BMM which is located at the same screen coordinates as the pixel data received from the raster engine. The memory interface performs hidden surface removal by comparing the Z-coordinates of the corresponding pixels. For solid objects, the pixel that is "in front" of the other (i.e., the pixel occupying a place on the display screen which is closer to the front of the screen) shall be written into the BMM. The memory interface implements transparencies for transparent objects by combining the pixel data as follows: Pn (xn, yn, zn, rn, gn, bn, kn) = new pixel P (x, y, z, r, g, b, k) = pixel from RE Pm (xm, ym, xm, rm, gm, bm, km) = pixel from BMM (note: x-xm and y-ym by definition) Then: rn = k * r + (1 - k) * rm gn = k * r + (1 - k) * gm bn = k * b + (1 - k) * bm kn = 1 - (1 - k) * (1- km) The new pixel is written into the BMM by the memory interface. The memory interface performs self-test or BMM test at the command of the IIU. The memory interface is also responsible for clearing the BMM before processing the next display's information. The color, Z-coordinate, and transparency initial settings are configured by the IIU in a well-known manner. In one embodiment of the invention, the memory interface operates at 12.5 MHz for processing data and 25 MHz for memory accesses. The memory interface processes a maximum of 50 million pixels per second. The BMM provides the memory interface with a frame buffer which is used by the memory interface as a read-modify-write module to perform hidden surface removal and transparency functions. The BMM is shown in Figure 6 as comprised of a PING-PONG frame buffer memory including PING registers 104 and 106 and RAM 108, as well as output buffer 110. The PONG section of the memory comprises registers 112, 114 and RAM 116 together with output buffer 118. A third section comprises a Z buffer including registers 120, 122 and RAM 124. An example of a digital display system employing such a PING-PONG memory scheme is further described in the applicant's copending patent application EP-A-0 341 645 for a Digital Map Display, by Dawson, et al. The use of Z-buffers for hidden surface removal and transparency processing is well-known in the art. The BMM also provides a video bus interface for the rendering engine. A space is provided for color values and transparency factors. At any given time, one half of the memory is used by the memory interface and the other half by the video bus. The BMM memory is frame sized and provides space for Z-coordinates. The BMM operates in a pipe-line fashion for the memory interface and an asynchronous fashion for the video bus. The memory interface 14 to BMM 16 interface is comprised of a bi-directional data bus and memory controlled discrete lines. The memory interface 14 reads or writes pixel data in 25 MHz cycles. The pixel data is defined by its address (screen coordinates (X, Y)), its Z-depth, its color (R, G, B) and its transparency factor (K). The coordinate system is right handed with the origin at the upper left hand corner of the view volume. The Z-depth represents 256 discrete levels which range linearly from closest to aircraft (Z = 0000 0000) to farthest from aircraft (Z = 1111 1111). The color values (R, G, B) each represent eight discrete color values ranging from no color (color = 0000) to full color (color = 1111). The range of the transparency factor (K) is shown in Table 1 below. Transparency Factor Variable Range for Memory Interface to BMM Interface K Numerical Value 000 0.00 001 0.25 010 0.50 011 0.75 100 1.00 101 unused 110 unused 111 unused The memory interface outputs four control signals to the BMM: WRITE-EN*, CLK-EN*, READ*, and WRITE*. These signals are described in EP-A 0 379 983. Now referring to Figure 7A, a block diagram of the BMM controller 20 as employed by the invention is shown. The BMM controller 20 is preferably implemented in a programmable array logic device (PAL). The BMM controller interfaces the raster graphics generator with the image scanner 18 and provides control signals to the MIC within the memory interface. It also provides control signals to the BMM during both normal operational and test modes. Figure 7B shows a flow chart diagram of an initialization method processed by the BMM controller in the preferred embodiment of the invention. In normal operation, the BMM controller 20 waits for an end of frame (EOF*) signal from the raster engine. When this occurs, it then waits at step 202 for all the empty signals (EMPTY0*, EMPTY1*, EMPTY2*, and EMPTY3*) on all four MIC chips to go low. This event indicates that all the pipeline is empty. At step 204, the BMM controller asserts a signal called RGG_COMPLETE* to the image scanner. This signal is applied when the raster graphics generator has finished processing all the information for the display in a predetermined allotted time frame. The video bus controls the PING-PONG function of the BMM by asserting a signal called FRAME_SYNC*. Upon receiving this signal, the BMM controller changes the appropriate control signals so as to allow the video bus and the MICs to change which half of the PING-PONG memory they are accessing at step 206. The BMM controller determines which half of the memory the MICs can access and which half of the memory the video bus can access. The MICs and the video bus work simultaneously on opposite halves. This is controlled by the states of the MIC_PING*, MIC_PONG, VSM_PING* and VSM_PONG signals. After the PING-PONG cycle is completed at step 208, the controller asserts a CLEAR* signal at step 210 which is transmitted to the MIC chips. This causes the MICs to initialize the half of memory they are allowed access. CLEAR* is deasserted when the MICs signal the completion of initialization by asserting all the MIC empty bits. Upon completion of the initialization cycles, the MICs and the BMM are ready to process the new image. The cycle repeats itself for each new image. The soft reset (S_R*) signal is transmitted from the IIU in some cases. Upon receiving this signal, CLEAR* is asserted which causes the MICs to reset and then clear the BMM. Referring again to Figure 7A, three test interface signals are also included as inputs to the BMM controller, namely, TEST, MIC/MEM* and PING-PONG*. The three test interface signals are only used when the raster graphics generator is in test mode. The TEST pin is asserted by the TI during test mode. The MIC/MEM* signal is issued to signify that the TI is examining the output of the MICs or interfacing with the BMM. If this signifies the latter, the third pin, PING/PONG* is used to select which half of the BMM is being accessed by the IIU. If the BMM is selected, the controller tri-states the MICs' outputs by asserting an OUTPUT_DIS signal.

Claims: An apparatus for rendering three-dimensional objects wherein the three-dimensional objects are comprised of a plurality of polygons (30, 32, 36), wherein the plurality of polygons further comprise at least one complex polygon and wherein each complex polygon includes more than three vertices, the apparatus comprising: a) a means (10) for interpreting instructions, the interpreting means having an output (52) for transmitting vertex data, the vertex data includes a list of vertices for at least one complex polygon having more than three vertices and each vertex is further comprised of X and Y coordinates in a cartesian coordinate system having X, Y and Z axes; b) means (18) for scanning images, the scanning means having an input (56); c) raster engine means (12) comprising, c1) a raster engine control interface (62) having an input (52) connected to the interpreting means (10) output for receiving the vertex data, wherein the raster engine control interface has a raster engine control output (80) for transmitting the vertex data; c2) means (64) for interpolating edges connected at a data input to the raster engine control output (80), the edge interpolator means further having a control input, the edge interpolating means (64) is loaded at its data input (80) with the vertex data for a selected complex polygon by the raster engine control interface (62) and interpolates the vertex data across the X axis so as to generate interpolated edge data for the selected complex polygon at an output; c3) interpolator controller means (74) for synchronizing interpolated edge data transfer, having first and second control signals, wherein the first control signal is coupled to the control input (90) of the edge interpolator means (64) for controlling the output of the interpolated edge data from the edge interpolating means; c4) means (68) for interpolating lines connected at a control input (92) to the second control signal of the interpolator controller means (74) wherein the second control signal controls the input of data to the line interpolating means, the line interpolating means being further connected at a data input (88) to the output of the edge interpolator means (64), wherein the line interpolating means (68) is loaded on its data input (88) with the interpolated edge data for the selected complex polygon, and interpolates the interpolated edge data across the Y axis so as to generate interpolated pixel data for the selected complex polygon on an output (86); and d) means (14, 16, 20) for generating objects, the object generating means connected at a first input (86A) to the output of the edge interpolating means (64) and at a second input (86B) to the output of the line interpolating means (68) wherein the object generating means stores the interpolated edge data and the interpolated pixel data in an interleaved manner so as to output display data, representing three-dimensional objects, the three-dimensional objects comprised of a plurality of said polygons comprising at least one complex polygon, on an output (56) connected to the input of the image scanning means (18). The apparatus of claim 1, wherein the means for generating objects further comprises: a) memory interface (14) having a first input (86A) connected to the output of the edge interpolating means (64) and having a second input (86B) connected to the output of the line interpolating means (68) and having a plurality of outputs for transmitting the interpolated edge and pixel data; b) bit mapped memory controller (20) for providing memory control signals; and c) bit mapped memory (16) having a control input connected to the bit mapped memory controller (20) control signals and having a plurality of data inputs connected to the plurality of outputs of the memory interface (14). The apparatus of Claim 1 or 2, wherein the edge interpolator (64) comprises first and second sets of three interconnected generic interpolation pipeline processors. The apparatus of Claim 1, 2 or 3, wherein the line interpolator (68) includes first, second, third and fourth sets (84) of two interconnected generic interpolation pipeline processors. The apparatus of Claim 2, 3 or 4, wherein the raster engine control and generic interpolation polygon processor interface (62) further includes; a) means (222) for resetting the first and second edge interpolator sets (76); and b) means (224) for loading polygon data into each of the first and second edge interpolator sets. A method for rendering three-dimensional objects wherein the three-dimensional objects are comprised of a plurality of polygons (30, 32, 36), wherein the plurality of polygons further comprise at least one complex polygon and wherein each complex polygon includes more than three vertices, the method comprising the steps of: a) transmitting vertex data, wherein the vertex data includes a list of vertices of at least one complex polygon having more than three vertices and each vertex is further comprised of X and Y coordinates in a cartesian coordinate system having X, Y and Z axes; b) interpolating edges using the vertex data for a selected complex polygon by interpolating the vertex data across the X axis so as to generate interpolated edge data for the selected complex polygon; c) synchronizing interpolated edge data transfer by controlling the output of the interpolated edge data; d) interpolating lines using the interpolated edge data for the selected complex polygon, and interpolating the interpolated edge data across the Y axis so as to generate interpolated pixel data for the selected complex polygon; and e) generating objects by storing the interpolated edge data and the interpolated pixel data in an interleaved manner so as to output display data representing three-dimensional objects, the three-dimensional objects being comprised of a plurality of said polygons representing three-dimensional objects comprising at least one complex polygon. The method of claim 6, comprising the steps of: a) receiving data representing polygon vertices from first and second display lists stored in a memory of an instruction interpreter unit (10); b) sorting the vertice data according to a predetermined sort on a first selected space coordinate; c) interpolating the sorted vertice data across the first selected coordinate so as to define a set of polygon edges; and d) filling in the polygon by interpolating across a second selected coordinate bound by the defined edges. The method of Claim 6 or 7 wherein the data representing the polygon vertices includes coordinates in three dimensional space, color values and transparency values.

Inventors: FISCHER DOUGLAS A, GRAVES JENNIFER A, SNODGRASS THOMAS D, FISCHER, DOUGLAS A., GRAVES, JENNIFER A., SNODGRASS, THOMAS D.
Applicants: HONEYWELL INC, HONEYWELL INC.
Application year: 1990
Main classification: G06T15
IPC codes: G06T15