Distributed processing apparatus and method for use in global rendering

Abstract: A method and apparatus for use in a three dimensional computer graphics renderer employing global illumination distributes ray intersection calculations over a plurality of transform processors (34) to accelerate the intersection testing process. Results are stored to a shared memory (36) and subsequently retrieved by a host computer (12) for global rendering.

Description: Field of the Invention The present invention relates generally to the area of three dimensional computer graphics. More particularly, the present invention relates to a method and apparatus for accelerating ray intersection calculations in a three dimensional graphics renderer employing a global illumination technique, such as radiosity or ray tracing. Background of the Invention A number of global illumination techniques for generating three dimensional computer graphics are known, the most common of which are ray tracing and radiosity. Both ray tracing and radiosity compute the global illumination of a scene by testing for intersections between (i) surface elements ("polygons") and/or boxes ("bounding volumes") derived from objects to be rendered in the scene, and (ii) rays cast from either viewpoints of the scene (ray tracing) or light sources in the scene (radiosity). These steps are sometimes referred to as polygon testing, box testing and/or shadow testing. The following publications are descriptive of ray tracing and radiosity techniques for solving global illumination of a scene: An Introduction to Ray Tracing , Ed. by Andrew S. Glassner, Academic Press, 1989 (chapter 2, pp. 33-77); Kay, T. L. et al., "Ray Tracing Complex Scenes," SIGGRAPH Proceedings , vol. 20, no. 4, pp. 269-277 (August, 1986); Greenberg, D.P. et al., "Radiosity: A Method For Computing Global Illumination," The Visual Computer, vol. 2, pp. 291-297 (1986); Cohen, M.F. et al., "The Hemi-Cube: A Radiosity Solution For Complex Environments," SIGGRAPH Proceedings , vol. 19, no. 3, pp. 31-40 (1985). One presently preferred method of solving the global illumination of the scene, and in which the present invention has particular application, is described in US-A-5 313 568, entitled, "Three Dimensional Computer Graphics Employing Ray Tracing to Compute Form Factors in Radiosity." See also, Wallace, J.R. et al., "A Ray Tracing Algorithm for Progressive Radiosity," SIGGRAPH Proceedings, Computer Graphics, vol. 23, no. 3, pp. 315-324 (July, 1989). Typically, data defining the scene to be rendered, including a description of objects and light sources in the scene, are provided in a database upon which the global renderer operates (e.g., by ray tracing or radiosity) to compute global illumination, and generally all of the computations, including the ray intersection calculation, are carried out in a host computer. One of the problems with prior art global renderers, however, is that the ray intersecting calculations are extremely time consuming; most of the time spent solving global illumination is performed on the ray intersection calculations. The following publications generally discuss hardware and software systems for accelerating the global illumination solution: Potmesil, M. et al., "The Pixel Machine: A Parallel Image Computer," SIGGRAPH Proceedings, Volume 23, No. 3, pp. 69-78 (July, 1989); Akeley K. et al., "High-Performance Polygon Rendering", SIGGRAPH Proceedings, Volume 22, No. 4, pp. 239-246 (August, 1988). These systems, however, do not adequately address the need for accelerating ray intersection calculation in global rendering. In an article entitled "GENERATION D'IMAGES PAR LANCE DE RAYONS SUR UN CALCULATEUR PARALLELE" by Marie-Claire Forgue et al. (GRETSI, 1 May 1987, Paris, France) and in an article entitled "FAST RAY TRACING" by Koichi Murakami et al. (Fujitsu Scientific & Technical Journal, Vol. 24, No. 2, 1988), there are described systems wherein ray tracing is performed on a parallel basis, the rays passing through each pixel of a display screen being processed in parallel. It would be desirable to provide a method and apparatus that may be employed with either ray tracing or radiosity (or any other global illumination technique that relies upon ray intersections) for accelerating the ray intersection calculations, but which is simple, efficient and relatively inexpensive to implement. The present invention attempts to achieve these goals. In accordance with a first aspect of the present invention, there is provided apparatus for accelerating the testing for intersections between a ray under consideration and objects in a scene to be rendered on a display device, as defined by Claim 1. In accordance with a second aspect of the present invention, there is provided a method for accelerating the testing for intersections between a ray under consideration and objects in a scene to be rendered on a display device, as defined by Claim 14. A shared memory is preferably operatively coupled to communicate with both the transform engine and the host, and each transform processor is programmed to store the results of its ray intersection calculations in the shared memory for retrieval by the host. According to one embodiment of the invention, a block data transfer path is provided between the host and the transform engine for rapidly transferring the bounding volume and polygon data from the host to the transform engine. The block data transfer path may comprise a DMA (direct memory access) circuit. In accordance with another embodiment of the invention, the transform engine includes a plurality of dedicated memories, with one dedicated memory being associated with each transform processor. In accordance with this embodiment, data from the host is stored directly into the dedicated memories in DMA cycles for operation thereupon by each transform processor. In yet another embodiment, the bounding volume and polygon data are stored as datawords in sequential memory locations of each dedicated memory, and each transform processor is programmed to perform ray intersection calculations on every Pth dataword in its associated dedicated memory (where P is the number of transform processors). Each transform processor starts with a different dataword than all other transform processors so that the transform processors collectively perform the ray intersection calculations on all of the datawords. The ray intersection calculations are thereafter stored in the shared memory for retrieval by the host. In a preferred method of carrying the invention, the following steps are performed: (a) storing graphics data, including bounding volume and polygon data, in a host; (b) transmitting, via block data transfers, the bounding volume and polygon data from the host to a transform engine of a type comprising a plurality P of transform processors and associated dedicated memories and storing the data as datawords in sequential locations of the dedicated memories; (c) distributing ray intersection calculations to be performed on the bounding volume and polygon data over the P transform processors by performing ray intersection calculations on every Pth dataword in each associated dedicated memory with each transform processor starting with a different dataword than other transform processors; (d) storing the results of the ray intersection calculations in a shared memory; and, (e) transmitting the ray intersection results stored in shared memory to the host for global rendering after a last of the transform processors has completed performing ray intersection calculations. Further details of the invention will become evident from a reading of the following specification and claims. Brief Description of the Drawings Figure 1 is a block diagram of a computer graphics renderer in which the apparatus and method of a present invention may be employed. Figure 2 is a block diagram of an apparatus embodying the principles of the present invention. Figures 3A and 3B are a flowchart illustrating the method of the present invention. Figure 4 illustrates the concept of an information register as provided in accordance with the practice of a preferred embodiment of the invention. Figure 5 is a flowchart illustrating further details of the method of the present invention. Figure 6 illustrates a preferred organization of shared memory in accordance with the practice of the present invention. Figure 7 is a flowchart illustrating yet further details of the method of the present invention. Figures 8A and 8B conceptually illustrate the types of data that are provided as a result of ray intersection calculations. Detailed Description of the Invention Referring to the drawings, wherein like numerals represent like elements, there is illustrated in Figure 1 a block diagram of a computer graphics renderer 10 in which the apparatus and method of present invention may be employed. It should be understood, however, that the present invention is not limited to graphics renderers of the type illustrated in Figure 1. Rather, the invention may be employed in connection with any graphics renderer employing a global illumination technique such as ray tracing or radiosity. The details of the graphics renderer 10 are more fully described in US-A-5 224 210, entitled, "Methods and Apparatus For Accelerating Windows in Graphics Systems." See also, Rhoden, D. et al., "Hardware Acceleration For Window Systems," SIGGRAPH Proceedings, Computer Graphics, vol. 23, no. 3, pp. 61-67 (July, 1989). Except as set forth in the appended claims, the details of the graphics renderer 10 do not form a part of the present invention, and thus will not be described in detail herein. Rather, reference should be made to the aforementioned documents. Suffice it to say that the graphics renderer 10 of Figure 1 comprises a host computer 12 communicating with a transform engine 14 via an interface 16. The transform engine 14 communicates graphics data to a rendering VLSI (very large scale integrated circuit) 18, which in turn communicates with window circuitry 20. Window circuitry 20 provides data to a frame buffer 22 which in turn communicates with a video generator 24. The video generator 24 controls the display of images on a raster display 26. Data is also communicated from the host computer 12 to window circuitry 20, frame buffer 22 and video generator 24 via interface circuit 16 and a pipeline bypass 28. If a graphics renderer of the type of Figure 1 is employed, the apparatus and method of the present invention is preferably incorporated into the host computer 12, interface 16 and transform engine 14 as described in detail herein. Turning now to Figure 2, there is illustrated a block diagram of an apparatus embodying the principles of the present invention. As illustrated, the host computer 12 communicates with the transform engine 14 by means of an interface (IFU) 16, as in Figure 1. However, the interface 16 is provided with a block data transfer circuit, which in the preferred embodiment is a DMA circuit 30. Additionally, unlike the diagram of Figure 1, the transform engine 14 comprises a plurality P of transform processors 34 and associated dedicated memories 32 which will be described in more detail hereinafter. Data defining the scene, including data indicative of bounding volumes and polygons derived from objects to be rendered in the scene, and data defining rays to be intersected with the bounding volumes and polygons, are stored in the memory of the host computer 12. The bounding volume and polygon data, and the ray description data, are rapidly transferred to each of the dedicated memories 32 in block data transfers (preferably DMA cycles) as will be described in greater detail hereinafter. Thus, after the host downloads data, each dedicated memory 32 will contain the same bounding volume and polygon data and ray description data. Preferably, the bounding volume and polygon data are stored as datawords in sequential memory locations of each dedicated memory 32. As will also become evident hereinafter, each transform processor is programmed to perform ray intersection calculations on only selected bounding volume and polygon data provided by the host 12 and stored in an associated dedicated memory 32, and the ray intersection calculations for all of the bounding volume and polygon data are distributed over the transform processors 34. As will also be explained in more detail hereinafter, in a preferred embodiment, each transform processor is programmed to perform ray intersection calculations on every Pth dataword (where P equals the number of transform processors 34) in its associated dedicated memory, and each transform processor starts with a different dataword than other transform processors so that the transform processors collectively perform the ray intersection calculations on all of the datawords. As also illustrated in Figure 2, there is preferably provided a shared memory 36 communicating with each of the transform processors 34 via bus 42. Also provided is a dual port communications register 38 which communicates with each of the transform processors 34 and also with a multiplexer 40 via buses 42, 46. A read only output 44 of the communications register 38 is also supplied as an input to the multiplexer 40 for reasons that will become evident hereinafter. As shown, the multiplexer 40 is disposed between the host 12 and the shared memory 36 and communications register 38 for directing the flow of information therebetween in a manner which become evident hereinafter. Each transform processor 34 is preferably programmed to store intermediate ray intersection calculation results in its associated dedicated memory 32, but is further programmed to store all of the ray intersection calculation results from its associated memory 32 to the shared memory 36 when its ray intersection calculations have been completed. As will become evident hereinafter, the shared memory 36 includes a completion register having a number, P, of bit locations corresponding to the number of transform processors 34. Each transform processor 34 sets a corresponding bit in the completion register when the corresponding transform processor stores its ray intersection calculation results in the shared memory 36. The transform processor 34 that sets the last bit in the completion register thereafter sets a flag in the communications register 38. The host periodically polls the communication register via multiplexer 40, bus 46 and read only output 44, and, when it detects the presence of a raised flag at the output 44, it retrieves the ray intersection calculation results from the shared memory 36 via multiplexer 40. If desired, the data from shared memory 36 may be transferred to the host computer 12 by block data transfers through the DMA circuit 30. It will be appreciated that the communications register therefore provides an indication that data in the shared memory is ready for retrieval by the host. The communications register is preferably polled by a handshaking technique wherein the communications register 38 is addressed and the flag status is provided on output 44 to the host 12 via multiplexer 40. As will become evident from the following discussion, as each transform processor 34 completes its ray intersection calculations, it requests and is granted the shared memory 36 (i.e., to the exclusion of all other transform processors 34) to store the results of its ray intersection calculations. After all ray intersection calculation results from that transform processor have been stored in the shared memory 36, the shared memory 36 is released so that another transform processor 34 may store its results in the same fashion. In a preferred practice of the invention, each transform processor 34 includes an information register 80 (Figure 4) having a code that uniquely identifies it to the exclusion of the other transform processors. The starting dataword for computing ray intersection calculations is preferably determined according to the code stored in the information register 80 for that transform processor. Figure 4 illustrates one embodiment of an information register. As shown, the information register 80 comprises a number, P, of bit locations, where P is equal to the number of transform processors 34 in the transform engine 14. An information register 80 is provided in each transform processor 34, and only a single bit is set in each information register. The particular bit that is set not only uniquely identifies that transform processor, but also indicates where this particular transform processor is located relative to the other transform processors. For example, if bit location 3 of register 80 is set in a particular transform processor 34, then this indicates that this transform engine is the third one in line. Turning now to Figures 3A and 3B, the method of the present invention will be described in greater detail. Except as noted, the flowchart of Figures 3A and 3B illustrate the operation of each of the transform processors 34. Thus, each of the transform processors 34 operate in identical fashion. Preferably, each transform engine is a programmable device such as a microcomputer and is programmed to perform the functions illustrated in Figures 3A and 3B. As illustrated at block 50, each transform processor 34 waits for a ray intersection command from the host 12. In other words, after the database has been established, and the ray descriptions have been defined and the bounding volume and polygon data has been obtained by the host, ray intersections may be performed by the transform processors 34 in a well known fashion. Once a transform processor 34 receives a ray intersection command, it inquires whether the command is a ray setup command, as illustrated at 52. In other words, it inquires whether the command is one for setting up a ray for intersection with the bounding volume and polygon data. If it was a ray setup command, then the ray description data is downloaded to all of the dedicated memories 32, preferably by block data transfer via the DMA 30. The ray description data is provided to and stored in all of the dedicated memories 32. If, at step 52, it was determined that the command was not a ray setup command, then it is assumed that the command was for the transform processors to begin performing the ray intersection calculations. To perform the ray intersection calculations, all of the bounding volume (BV) or polygon (PGON) data must also be supplied to and stored in all of the dedicated memories 32. As illustrated at step 56, this data is rapidly downloaded to all of the dedicated memories 32 from the host 12 in block data transfers via the DMA circuit 30. Once all of the bounding volume and polygon data has been downloaded to the dedicated memories 34, then the functions illustrated at steps 58 et seq. may be performed. It will be appreciated that, at this point, the information content of each of the dedicated memories 32 will be identical. In order for the ray intersection calculations to be distributed over all of the transform processors 34, however, a method must be provided that instructs each transform processor to select different data upon which to operate and perform the ray intersection calculations. This is generally shown at step 58, but the procedure for selecting the data upon which to operate is shown in more detail in the flowchart of Figure 5. As shown at step 90 of Figure 5, each transform processor employs a software pointer ("POINTER") which is initially set to point to the first bounding volume/polygon dataword in its associated dedicated memory 32. A variable, BV, is initially set to one. Also, a P bit counting register is initially set so that only its least significant bit is a 1 and all other bits therein are 0. The counting register is designated "i" in the flowcharts for simplicity. At step 92, a test is made to determine whether the contents of the register i are identical to the information register 80 (Figure 4) for this particular transform processor. If they are not equal, then the variable BV is incremented by one, and the software pointer is incremented so that it points to the next bounding volume/polygon dataword in the associated dedicated memory 32. Next, the contents of the counting register "i" are shifted left by one bit location so that the bit that was formerly in the least significant bit location is now in the next to least significant bit location. Steps 92, 94 are repeatedly performed until a match is established between the contents of the counting register "i" and the contents of the information register 80 for each transform processor 34. Once a match is established for a particular transform processor 34, that transform processor goes on to perform steps 60 et seq. illustrated in Figure 3B. Thus, it will be appreciated that a different starting dataword will be selected for each transform processor 34 and each transform processor 34 will begin performing ray intersection calculations on a different dataword. It will also be appreciated that the starting dataword for each transform processor 34 is determined according to the code stored in its associated information register 80. Turning now to Figure 3B, it will be seen that, once the starting dataword for a particular transform processor 34 has been located, ray intersection calculations upon the bounding volume or polygon indicated by that dataword may be performed. The manner of performing the ray intersection calculations does not comprise a part of the present invention inasmuch as this is well known in the art. See, for example, the above-referenced publication entitled, An Introduction to Ray Tracing . Once the ray intersection calculation for this particular bounding volume/polygon is completed, the transform processor 34 inquires whether this calculation resulted in an actual intersection of a ray with a bounding volume or polygon. If an intersection did occur, then the results are temporarily stored in the transform processor's associated dedicated memory 32 as shown at step 64, and step 66 is next performed. If the results of the calculation indicate that there was no intersection of a ray with the bounding volume/polygon, then no data is stored in the associated dedicated memory 32 for this particular bounding volume/polygon, and step 66 is next performed. At step 66, a loop count is incremented by the number of transform processors in the transform engine, i.e., by P. At step 68, the bounding volume/polygon pointer (initially set at step 90 and incremented at step 94 of Figure 5) is also incremented by the number of transform processors 34 in the system, i.e., by P. At step 70, an inquiry is made as to whether all of the bounding volume/polygon data in this transform processor's associated dedicated memory 32 has been processed. If it hasn't, steps 60-68 are repeated until all data in the dedicated memory 32 has been processed, i.e., tested for ray intersections. It will be appreciated from the foregoing that each transform processor 34 performs ray intersection calculations on every Pth dataword in its associated dedicated memory 32, and that each transform processor 34 starts with a different dataword than other transform processors in the system so that the transform processors collectively perform the ray intersection calculations on all of the datawords that were handed down by the host computer 12. Thus, the ray intersection calculations are substantially equally distributed over all of the transform processors 34. It will also be appreciated that, as each transform processor performs steps 60-68 (Figure 3B), intermediate ray intersection calculation results will be stored to its associated dedicated memory 32. As each transform processor 34 completes its ray intersection calculations, it writes the results (stored in associated dedicated memory 32) to the shared memory 36, as illustrated in block 72. Figure 7 illustrates the manner in which this is performed. Prior to discussing Figure 7, it will be helpful to describe a preferred organization of the shared memory 36. As shown in Figure 6, shared memory 36 is preferably organized to include the following data. First: the "completion register." As previously discussed, this is preferably a P bit register having one bit location corresponding to each of the P transform processors. As each transform processor 34 completes its ray intersection results and stores them to shared memory, it sets the corresponding bit location in the completion register. This is the same bit stored in the information register 80. As mentioned, the transform processor that sets the last bit in the completion register also sets the flag in the communications register 38 so as to signal the host 12 that the ray intersection results are ready to be retrieved from shared memory 36. Second: a dataword indicating "running total intersections." This is a running count of the number of intersections returned by each transform processor 34. Third: a dataword indicating "total words." "Total words" indicates the number of datawords stored in shared memory to be transferred to the host 12. This is provided so that the total block size of the data will be available if it is desired to retrieve the results from shared memory 38 via a DMA cycle. Fourth: a dataword indicating "total ray intersections." This indicates the total number of intersections detected by all transform processors 34. The difference between "total intersections" and "running total intersections" is that "running total intersections" is continuously updated as each transform processor stores its ray intersection calculation results to shared memory. "Total intersections" indicates the final, total number of intersections. Fifth: the actual ray intersection calculation results provided by each of the transform processors 34. Turning now to Figure 7, there is illustrated the routine for transferring the ray intersection calculation results from each of the dedicated memories 32 to the shared memory 36. As illustrated at 100, as each transform processor 34 completes its ray intersection calculations, it requests the shared memory 36 and then goes into a waiting loop. When the shared memory is granted to a transform processor 34 (i.e., to the exclusion of all other transform processors), that transform processor sets the respective bit in the "completion register" discussed above, as illustrated at 102. At step 104, an inquiry is made as to whether or not this transform processor detected zero intersections as the result of its ray intersection calculations. If there were actual intersections, then the steps indicated at 106 are performed. In particular, the ray intersection results are copied from the transform processor's associated dedicated memory 32 to shared memory 36, and the dataword indicative of running total intersections is updated to reflect the number of additional intersections detected by this transform processor. If, at step 104, it was determined that no intersections were detected, then no data is copied from the transform processor's associated dedicated memory 32 and the functions illustrated at 108 are performed. At step 108, an inquiry is made as to whether all transform processors have stored their intersection results in the shared memory 36. If they haven't, control passes directly to step 112 where the shared memory is released so that the next transform processor can transfer its intersection results. On the other hand, if this is the last transform processor, as indicated by all of the bits in the completion register being set, then some shared memory housekeeping must first be performed as shown at 110. In particular, if all transform processors have now stored their intersection results in the shared memory, then the communications register flag must be raised, and the completion register zeroed out. Additionally, the "running total intersections" dataword is copied into the "total intersections" memory location in shared memory. The "total words" (total number of datawords to be transferred to the host) is then computed and stored in the "total words" location in shared memory. Lastly, the "running total intersections" dataword is cleared. The shared memory 36 is now ready to receive new data from the transform engine 14. Figures 8A and 8B illustrate the types of data that are stored in shared memory 36 as the result of a ray intersection calculation. Figure 8A illustrates an intersection of a ray R 0 with a bounding volume 120. The intersection of the ray R 0 with the bounding volume 120 results in two indices, t near and t far , representing the parametric distance along the ray R 0 where it entered and exited, respectively, the bounding volume 120. Figure 8B illustrates the intersection of a ray R 0 with a polygon 130. Since polygons are planar, only one value needs to be returned, i.e., the value of t dist, , representing the parametric distance along the ray R 0 at which it intersected the polygon 130.

Claims: Apparatus for accelerating the testing for intersections between a ray under consideration and objects in a scene to be rendered on a display device (26), said apparatus comprising: a) a host computer (12) for storing data defining the scene, including data indicative of bounding volumes and polygons (120,130) derived from the objects in the scene, and for storing data indicative of the ray under consideration, the data indicative of each bounding volume and polygon being stored as sequential datawords wherein each dataword represents either one of the bounding volumes or one of the polygons; and b) a transform engine (14) comprising a plurality P of transform processors (34) each being programmed to test for intersections between the ray under consideration and the bounding volumes and polygons, represented by every Pth dataword, each transform processor (34) starting with a different dataword from that of the other transform processors so that, collectively, the transform processors perform ray intersection tests on all of the bounding volumes and polygons. Apparatus according to Claim 1, further comprising a shared memory (36) operatively coupled to communicate with both the transform engine (14) and the host computer (12), each transform processor (34) further being programmed to store the results of ray intersection tests performed thereby in the shared memory (36) for retrieval by the host computer (12). Apparatus according to Claim 2, further comprising a communications register (38) communicating with the transform engine (14) and with the host computer (12) for providing an indication that data in the shared memory (36) is ready for retrieval by the host computer (12). Apparatus according to Claim 3, wherein the transform processors (34) are further programmed to set a flag in the communications register (38) when a last one of the transform processors has stored the results of ray intersection tests in the shared memory (36), and the host computer (12) polls the communications register (38) and retrieves data stored in the shared memory (36) after the flag has been set. Apparatus according to Claim 3 or Claim 4, further comprising a multiplexer (40) disposed between (i) the host computer (12) and (ii) the communications register (38) and shared memory (36) for directing data flow between the host computer (12), the shared memory (36) and the communications register (38). Apparatus according to any one of Claims 2 to 5, wherein each transform processor (34) is arranged to communicate with the shared memory (36) to the exclusion of all other transform processors to store results of ray intersection tests from the transform processor after the transform processor has completed ray intersection tests for each of the selected bounding volume and polygon data. Apparatus according to any one of Claims 1 to 6, wherein each transform processor (34) includes an information register (80) having a code for uniquely identifying the transform processor to the exclusion of other transform processors, and the starting dataword for each transform processor is determined according to the code stored in its information register (80). Apparatus according to any one of Claims 2 to 7, wherein the shared memory (36) includes a P bit completion register having a bit location corresponding to each transform processor (34), and wherein each transform processor is arranged to set a corresponding bit in the completion register when the corresponding transform processor (34) stores its ray intersection test results in the shared memory (36). Apparatus according to any preceding claim, further comprising a plurality of dedicated memories (32), one associated with and operatively coupled to each transform processor (34), the data indicative of said bounding volumes and polygons (120,130) being stored as sequential datawords in each of said dedicated memories (32), each transform processor (34) performing ray intersection calculations on every Pth dataword in its associated dedicated memory (32). Apparatus according to Claim 8, further comprising a DMA circuit (30) disposed between the host computer (12) and the transform engine (14) for rapidly providing the bounding volume and polygon data from the host computer (12) for storage in the associated dedicated memories (32) in DMA cycles. Apparatus as claimed in any one of Claims 2 to 7, further comprising: a) a plurality of dedicated memories (32), equal to said plurality P of transform processors, one associated with and operatively coupled to each transform processor, each dedicated memory receiving from the host computer the data indicative of the ray under consideration and the data indicative of each bounding volume and polygon; and b) a block data transfer path disposed between the host computer (12) and the transform engine (14) for rapidly transferring the ray data and the bounding volume and polygon data from the host computer (12) to the dedicated memories (32). Apparatus according to Claim 11, wherein the shared memory (36) includes a P bit completion register having a bit location corresponding to each transform processor (34), and each transform processor sets a corresponding bit in the completion register when the corresponding transform processor stores its ray intersection test results in the shared memory (36), and the communications register flag is set when all bits in the completion register have been set. Apparatus according to Claim 11 or Claim 12, wherein the block data transfer path comprises a DMA circuit (30). A method for accelerating the testing for intersections between a ray under consideration and objects in a scene to be rendered on a display device, said method comprising: a) transmitting data indicative of the ray under consideration, and data indicative of bounding volumes and polygons that define the objects in the scene, from a host to a transform engine comprising a plurality P of transform processors, the polygon and bounding volume data transmitted from the host being stored as sequential datawords wherein each dataword represents either one of the bounding volumes or one of the polygons; and b) distributing tests for intersection between the ray under consideration and said bounding volumes and polygons over the P transform processors such that each processor performs ray intersection tests upon the bounding volumes and polygons represented by every Pth dataword and starts with a different dataword from that of other transform processors so that, collectively, the transform processors perform ray intersection tests on all of the bounding volumes and polygons. A method according to Claim 14, further comprising the step of transmitting the ray intersection test results back to the host for global rendering of the scene. A method according to Claim 14 or Claim 15, wherein the data is transmitted from the host to the transform engine by a block data transfer. A method according to Claim 16, wherein the block data transfer is a DMA cycle. A method as claimed in any one of Claims 14 to 17, further comprising the steps of: a) storing graphics data, including said bounding volume and polygon data, in said host; and b) storing the results of the ray intersection calculations in a shared memory. A method according to any one of Claims 14 to 18, further comprising the step of assigning a unique code to each transform processor and wherein the starting dataword of each transform processor is determined according to the code.

Inventors: BREMNER DAVID F, BREMNER, DAVID F.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1991
Main classification: G06T15
IPC codes: G06T15, G06T17