RASTERIZATION OF THREE-DIMENSIONAL IMAGES

Abstract: Rasterization of three-dimensional images are provided in which three-dimensional image data, which includes at least (x, y, z) coordinate and color information, are generated, organized, and stored at memory locations in one or more frame buffers in accordance with z-coordinate information.

Description: RASTERIZATION OF THREE-DIMENSIONAL IMAGES Cross Reference to Related Application This claims the benefit of United States Provisional Application No. 60/256,381, filed 5 . December 18, 2000. Background of the Invention This invention relates to systems that display three-dimensional images. More particularly, this invention relates to frame buffers and the 0 transfer of image data in such systems. Conventional three-dimensional ("3D") graphics typically result in two-dimensional images displayed on conventional two-dimensional computer monitors (e.g., cathode ray tubes (CRT), liguid crystal 5 displays (LCD), plasma displays, etc.). The process involves rendering the spatial geometry and corresponding lighting and texture information of a 3D scene (or other 3D object) represented by an image into a relatively small frame buffer. Instructions that 0 describe this rendering are typically generated by a computer (e.g., a personal computer). The instructions are transmitted to a video board typically present in the computer. The video board processes the instructions to convert the 3D scene into pixel data and transfers this data to the display or monitor. Pixel data indicates the location, color, and sometimes the brightness of a pixel. A pixel (i.e., a picture element) is one spot in a grid of thousands of such spots that form an image. It is also the smallest element manipulated by display hardware and software. Instructions describing an image are often created using an application programming interface (API) such as openGL® or Microsoft's Direct3D®. An API typically describes a scene by defining the spatial geometry, lighting, color, and surface textures of objects in the scene. The geometry may include an array of vertices, or points, each having x, y, and z coordinates, where the z-coordinate represents depth. Each vertex may further include red, green, and blue (RGB) color values, and transparency (alpha) values. Additional arrays may contain lists of vertex indices to describe how the vertices may be combined to form triangles or polygons of x, y, and z coordinates. These triangles or polygons form the fundamental geometric primitives of 3D surfaces, and when used with other triangles or polygons, can describe virtually any two or three dimensional image. Once generated, API instructions are transmitted to the video board. The video board subsequently performs, if necessary, various transformations, such as geometric (e.g., rotation, scale, or any suitable combination) , perspective, or viewport . After receiving the API instructions and performing any needed or desired transformations, the video board rasterizes the images. Rasterization is the conversion of vector graphics (images described in terms of vertices and lines) to equivalent images composed of pixel patterns that can be stored and manipulated as sets of bits. During rasterization, the color of pixels bounded by the surface primitives (i.e., the triangles or polygons) are computed. In order to perform this computation, conventional algorithms are employed for three-dimensional interpolation of an interior pixel from the RBG values of the vertices. The interpolated values at each pixel location are known as image fragments. Additionally, if a z value is provided, the video board may remove occluded pixels. A pixel is occluded if it is spatially located behind an opaque pixel. A pixel is located behind another pixel if it has a higher z value. If a foreground pixel is not opaque (i.e., the alpha value for the pixel is less than 1), the video board may perform an alpha blend operation. An alpha blend operation blends the RGB values of the overlapping pixels to produce a pixel with a new RGB value that takes into account the alpha contribution of each pixel. In conventional systems, alpha blending involves combining the brightness and/or color values of pixels already in the frame buffer into the memory location of the pixel to be displayed. To accomplish these operations, a video board typically includes a graphics processing unit (GPU) , a frame buffer, and an optional digital-to-analog converter. The GPU receives API instructions from the computer, and performs the above-described transformations and rasterizations. Data from the GPU is then output to the frame buffer. The frame buffer is usually a small capacity memory. Typically, data is stored in the frame buffer based only on the x and y coordinates . After the GPU performs occluded pixel removal and alpha blending, the data is output from the frame buffer to the display. In the case of analog displays, the data may be first converted by a digital-to-analog converter. Although this arrangement may be adequate for two-dimensional displays, it is inadequate for systems employing three-dimensional volumetric displays and systems that require a large number of three dimensional images to be displayed. In particular, conventional frame buffers are inadequate because they lack the capacity and data organization to store (x,y,z) coordinate image data such that satisfactory three-dimensional images can be displayed. In view of the foregoing, it would be desirable to be able to provide a frame buffer that has the capacity to store and quickly transfer image data organized such that satisfactory three-dimensional images can be displayed. Summary of the Invention It is an object of this invention to provide a frame buffer that has the capacity to store and quickly transfer image data organized such that satisfactory three-dimensional images can be displayed. In accordance with this invention, a large capacity frame buffer having image data organized according to z coordinates is provided. Advantageously, the frame buffer can be used in applications requiring a large volume of images to be displayed and is particularly well-suited for three- dimensional volumetric displays, such as that disclosed in U.S. Patent No. 6,100,862, which is incorporated herein in its entirety. The frame buffer of the invention allows large amounts of three-dimensional data to be rasterized by assigning a frame buffer memory location to each individual pixel based not only on the pixel ' s x and y location, but particularly its z location. This allows image data for a particular depth to be located in preferably contiguous storage locations. Such data can then be transferred to image generators or projectors at rates sufficient to produce satisfactory three-dimensional images. Three-dimensional images are preferably constructed in accordance with the invention by creating the image from a plurality of pixels grouped into sets mapped from two dimensional "slices" of a 3D object. These slices are positioned or layered one after the other to create the three-dimensional image. The three-dimensional image is projected or displayed on a three-dimensional volumetric display that includes a plurality of optical elements or planes. In one embodiment, the system includes a video controller and a display. The video controller includes a "multiplanar" frame buffer that stores multiple planes of image data. In other embodiments, the display also includes a multiplanar frame buffer. In still other embodiments, the display includes a multiplanar frame buffer and the system includes a conventional video controller with a conventional frame buffer. In yet another embodiment, a non-conventional video controller including a multiplanar frame buffer is integrated with the display. In this last embodiment, the interface between the video controller and the multiplanar frame buffer includes address and data busses. Pixels within a data set are sorted, stored, and processed on the basis of their x, y, and z locations. The depth (i.e., the z) location is used both to determine which plane (or optionally, which pair of planes, if pixels lying between planes are considered) a pixel will be displayed on and to assign a memory address in the frame buffer to the pixel based in part on the z-value. " In other embodiments, each pixel is assigned both "coarse" and "fine" z values. The coarse z value corresponds to a plane which the pixel will be at ' least partially transferred, and the fine z value corresponds to the perpendicular offset in the z direction of the point from an adjacent plane (a pixel with a fine z value of 0 is not offset) . In other embodiments, the z value is specified as a decimal value, with the integer portion of the value corresponding to the coarse z location (that is, the plane or slice with which the point is associated) and the decimal portion corresponding to the offset. Any other suitable encoding scheme may also be used. In some embodiments, the data set of pixels corresponding to each two-dimensional plane of the image, together with pixels having a fine z value, are stored in defined memory sections of the multiplanar frame buffer. To display the image, the contents of the multiplanar frame buffer are transferred in blocks to the display frame buffer via a high-bandwidth interface, and are then used to drive the light modulator of the display to present the image as a layered series of two dimensional images. Alternatively, the contents of the graphics processor frame buffer can be used to drive the display light modulator directly. Data may be block-transferred on a pixel-by-pixel, section-by-section (that is, frame-by- frame, or plane-by-plane) or complete image basis. Brief Description of the Drawings FIG. 1 is a block diagram of an embodiment of a three-dimensional video display system according to the invention; FIG. 2a is a block diagram of another embodiment of a three-dimensional video display system according to the invention; FIG. 2b is a block diagram of a further embodiment of a three-dimensional video display system according to the invention; FIG. 2c is a block diagram of a still further embodiment of a three-dimensional video display system according to the invention; FIG. 3a is an illustration of a three- dimensional image; FIG. 3b is an illustration of two-dimensional slices of the image of FIG. 3a; FIG. 4a is a block diagram of an embodiment of a video controller according to the invention; FIG. 4b is a block diagram of an embodiment of a frame buffer according to the invention; FIG. 4c is a block diagram of another embodiment of a frame buffer according to the invention; FIG. 5a is a flow diagram of an embodiment of assigning memory locations in a frame buffer according to the invention; FIG. 5b is a flow diagram of an embodiment of multiplanar antialiasing according to the invention; FIG. 5c is a flow diagram of another embodiment of assigning memory locations in a frame buffer according to the invention; FIG. 5d is a flow diagram of a further embodiment of assigning memory locations in a frame buffer according to the invention; and FIGS. 6a-f are diagrams of various embodiments of transferring pixel data to a display according to the invention. Detailed Description of the Invention FIG. 1 shows a multiplanar volumetric display system. Volumetric display system 100 generates three- dimensional (3D) images that are volumetric in nature, that is, the images occupy a definite volume of three- dimensional space and actually exist at locations where they appear. Thus, such 3D images are true 3D, as opposed to an image perceived to be 3D because of an optical illusion created by, for example, stereoscopic methods. Three-dimensional images generated by system 100 can have a very high resolution and can be displayed in a wide range of colors. They therefore have the characteristics associated with viewing a real object. For example, such 3D images may have both horizontal and vertical motion parallax or lookaround, allowing a viewer to change viewing positions and yet still receive visual cues maintaining . the 3D appearance of the images . In addition, a viewer does not need to wear any special eyewear such as stereographic visors or glasses to view the 3D image, which is advantageous because such eyewear is cumbersome and can cause eye fatigue. Furthermore, the 3D image has a continuous field of view both horizontally and vertically, with the horizontal field of view equal to about 360° in certain display configurations. Additionally, the viewer can be at any arbitrary viewing distance from system 100 without loss of 3D perception. System 100 includes a graphics source 102, a video controller 105, an image generator 110, and a display 130. Graphics source 102 can be any suitable device capable of generating graphical data for use by video controller 105. For example, graphics source 102 can be any of the following: a personal computer operating appropriate graphics generating software; a graphics application program operating an application program interface (API) and a device driver that provides image data in a format appropriate for video controller 105; or any suitable hardware, software, or combination thereof capable of generating appropriate images . Video controller 105 receives data from graphics source 102 and can be any suitable hardware, software, or any combination thereof capable of performing suitable graphical manipulations. Video controller 105 can be a stand-alone device or it can be integrated with other components of the system. In other embodiments, for example, as shown in FIG. 2a, video controller 205 and frame buffer 206 may be integrated with graphics source 200. In other embodiments, as shown for example in FIG. 2b, video controller 205 and frame buffer 206 can be integrated into the image projector 210. In either of the embodiments shown in FIGS. 2a or 2b, video controller 205 and frame buffer 206 may be a stand- alone add-in card, an integrated circuit, or any suitable combination. In yet other embodiments, portions of the video controller may be integrated into several components of the system. For example, as shown in FIG. 2c, portions of the video controller, such as video circuitry 212, may be integrated with graphics source 200, while other portions of the video controller, such as multiplanar frame buffer 214, may be integrated onto the image generator 210. In the embodiment depicted in FIG. 2c, frame buffer 214 and video circuitry 212 may be interconnected by a high transfer rate connection 225. Connection 225 may be any suitable connection capable of sustaining throughput sufficient to provide a flicker free image generated by image generator 210. In some embodiments, for example, this may require data (whether compressed or not) to be transmitted up to fifty times per second from the frame buffer to the image generator. Image generator 110 can be any suitable device for generating images based on data received from video controller 105. In some embodiments, the image generator may be a high speed projector for projecting images onto multi-surface optical device 130. In this embodiment, the image projector may include a projection lens 111 for outputting images received from the video controller 105. The projector may also include an adaptive optical focusing system (not shown) for focusing each image of a set of images on respective optical elements 115, 120, or 125. In some embodiments, optical elements 115, 120, or 125 may be liquid crystal elements. An optical element controller (not shown) may also be provided for controlling the translucency of the optical elements such that a single optical element is in an opaque light-scattering state to receive and -display a respective image from the image projector, while the remaining optical elements are in a substantially transparent state to allow the viewing of the displayed image on the opaque optical element. Alternatively or additionally, the projector may include a plurality of laser light sources for projecting red, green, and blue laser light to generate and project the set of images in a plurality of colors. Note that components 102, 105, 110 and 130 of system 100 are shown as separate entities for illustrative purposes only. Alternatively, components of system 100 can be combined in a variety of ways. As already described, graphics source 102 and video controller 105 may be integrated into • a single unit. Similarly, image generator 110 and multi-surface optical device 130 may be integrated into a single, stand-alone unit. In other embodiments, optical elements may be self-luminous, which obviates the need for both the image projector and the backlighting of a conventional LCD. In such an embodiment the optical elements may employ electroluminescent elements or organic light emitting diode elements. These electroluminescent elements, or organic light emitting diode elements may be self-luminous and individually addressable. However, any suitable self-luminous elements can also be used. In still other embodiments, components 102, 105, 110 and 130 may be integrated into a single, enclosed unit. In yet another embodiment, the display may be a volumetric display that employs a swept-volume architecture. In such displays, angular slices of a 3D scene are projected sequentially onto a rotating surface. B. Operation of the System Video controller 105 receives image data from graphics source 102. Image data may include a plurality of two-dimensional "slices" of a three- dimensional image. For example, to display three- dimensional image 330 of FIG. 3a, the ' graphics source creates image data corresponding to two-dimensional slices 332, 334, and 336 taken at various depths within image 330. Slices 332, 334, and 336 are shown in FIG. 3b. While the number of two dimensional slices can vary, it preferably corresponds to the number of optical elements being used in the system. This image data is then output from video controller 105 to image generator 110. Image generator 110 selectively projects each two dimensional image onto respective optical elements 115, 120, and 125. In an embodiment, an optical element controller (not shown) cycles through the optical elements at a high rate selecting one ' liquid crystal element therefrom to be in the opaque light-scattering state during a particular imaging cycle, and to cause the opaque light-scattering state to move through the liquid crystal elements for successively receiving a respective image from the set of images. Image generator 110 projects the set of images onto multi-surface optical device 130 at a rate preferably greater than 35 Hz to prevent human perceivable image flicker. That is, each image is preferably projected at a rate greater than about 35 Hz. This requires an image projector to operate at a rate of N times the image rate, where N is the number of optical elements used in the system. For example, if 50 optical elements are used with an image projection rate of about 40 Hz, the image projector operates at a rate of 2 kHz. By projecting the above two-dimensional slices onto multi-surface optical device 130, a volumetric three-dimensional image is achieved. C. Video Controller 1. Structure FIG. 4a, shows a video controller 405 in accordance with an embodiment of the invention. As discussed above, video controller 405 ' may be a video board, which may be inserted into a suitable graphics source (e.g., a personal computer). Video controller 405 also may be integrated with a graphics source, other circuitry, or both. For example, video controller 405 may be integrated onto the motherboard of a personal computer. On a broad level, video controller 405 includes an interface 430 to graphics source 102, an interface 440 to image generator 110, video circuitry 410, and frame buffer 420. Interface 430 may be any suitable interface. Interface 430 may be, for example, a personal computer interface (PCI) , an accelerated graphics port (AGP) interface, a VME backplane interconnection bus system now standardized as the IEEE 1014 standard, a small computer system interface (SCSI) , a NuBus high-performance expansion bus system used in Apple Macintosh, an industry standard architecture (ISA) interface, an extended ISA (EISA) interface, a Universal Serial Bus (USB) interface, a FireWire bus interface now standardized as the IEEE 1394 standard offering high-speed communications and isochronous real-time data services in computers, as well as other open or proprietary interfaces. Interface 440 may be any suitable interface between display system 100 and display equipment with suitable bandwidth for sustaining a flicker free image. Video circuitry 410 may include any suitable circuitry for managing or manipulating data received from graphics source 110 and for transmitting the data to frame buffer 420. Video circuitry 410, for example, may be suitable proprietary hardware, or may be any suitable commercially available GPU. It may be a graphics application program of a computer that operates an API, or any other suitable hardware, software, or combination thereof. Frame buffer 420 is preferably an array of storage devices, such as random access memory (RAM), that store information for each pixel to be displayed. The information preferably includes for example, coordinate (x,y, and z) information, and optionally color (e.g., red, green, and blue) information, chrominance information, luminance information, alpha (transparency) information, or depth (z information) for each pixel, (collectively, "pixel data"). Frame buffer 420 may be any suitable storage device for storing pixel data. For example, frame buffer 420 may be static RAM (SRAM), dynamic RAM (DRAM), extended data output RAM (EDORAM) , video RAM (VRAM) , window RAM (WRAM) , multitask DRAM (MDRAM) , synchronous graphics RAM (SGRAM) , or any other suitable magnetic, electromagnetic, electrooptical, magnetooptical, or other storage medium. In some embodiments, more than one frame buffer may be used. In these embodiments, pixels that are to be displayed on a common optical element may be stored in a common frame buffer or common segment of a frame buffer. For example, the system may include a separate frame buffer for each optical element (e.g., optical elements 115, 120, and 125) of the system. In this embodiment, the frame buffers may be substantially the same size. The separate frame buffers may be logically or physically delineated. For example, as shown in FIG. 4b, each frame buffer occupies a separate physical storage device 422, 424, and 426. In another embodiment, shown in FIG. 4c, each frame buffer may occupy the same physical storage buffer 420, but be logically delineated by assigning memory ranges 430, 432, 434, and 436 to each frame buffer. Such an assignment may be accomplished statically or dynamically, on an as-needed basis according to memory load. 2. Operation of the Frame Buffer The frame buffer in some embodiments of the present invention may operate in several alternative modes. In some embodiments, these modes may include a projection mode, a multi-pass rendering mode, and a direct rasterization mode. The following will describe each of these modes. A. Projection Mode Broadly speaking, it may be desirable to use projection mode in applications where the display employs its own multiplanar frame buffer and/or when it is desirable or unavoidable to use a conventional video controller using a two dimensional frame buffer or single planar frame buffer. Using this method, each image to be displayed is processed and output to the multiplanar frame buffer. The multiplanar frame buffer subsequently performs additional operations on the received data, and displays the data as a three dimensional image made up of a series of discrete, two dimensional images. Accordingly, in this mode, a conventional graphics source 102 and conventional video controller 105 may be employed. 1. Assigning Memory Locations in the Multiplanar Frame Buffer FIG. 5a shows a method of assigning memory locations in a multiplanar frame buffer in accordance with embodiments of the invention. At step 500, the image to be displayed is generated by video circuitry 410. During this step, pixel data for the 2D image is computed based on the API instructions generated by graphics source 102. The data for each pixel in the 2D image includes both color (e.g. red, green and blue) and depth ( z-coordinate) information. In some embodiments, the z value is a floating point number ranging from 0.0 to 1.0. In steps 505 and 510, color and depth information is read for each pixel in the 2D image. The z value for each pixel is scaled, in step 215, to a value within a range equal to the number of optical elements (e.g., from 0 to the number of optical elements-1) . The scaled z-value is then used in step 520 to compute an address in multiplanar frame buffer 420 at which to store the corresponding pixel data. The color value (and, if relevant, the alpha value) of the pixel is then assigned, in step 525 to the memory location of the frame buffer 420 calculated in step 520. The scaling operation used in step 515 may be any suitable scaling operation. In one embodiment, for example, the z value may simply be multiplied by the number of picture elements. However, any suitable scaling function that produces a single-value is acceptable. In other embodiments, a pixel having a location on a VGA resolution (e.g., 640 x 480) display with x, y, z may be calculated using the function: Addr = N b/p * (x 4- 640 * y + 640 * 480 * z x ) where N bp equals the number of bytes of information stored for each pixel, and z is the integer portion of the scaled z value derived in step 515. In yet other embodiments, such as, for example, when the display has a swept-volume architecture, data may be stored in the multiplanar frame buffer using an alternative algorithm. In such systems, it may be desirable to address portions of the screen using cylindrical coordinates (i.e., r, y' , and θ) , rather than Cartesian coordinates (i.e., x, y, and z) . Accordingly, in embodiments of the invention that employ swept-volume architectures, the multiplanar frame-buffer memory may be read out according to cylindrical, rather than Cartesian, coordinates. Cylindrical coordinates may be expressed as Cartesian coordinates using the known transformations: x = r * cosine (θ) , y = y'. z = r *sine (θ) Memory locations in the multiplanar frame buffer may therefore be assigned in such embodiments using the following equation : Addr = N B/P * (r * cosine ( θ ) + N x * y' + N x * N y * r * sine ( θ ) ) where N B/P is the number of bytes of information stored for each pixel, N x is the number of pixels in the frame buffer in the x-dimension and N y is the number of pixels in the frame buffer in the y-dimension. In yet another embodiment, pixel data are assigned memory locations in the multiplanar frame buffer and are converted to cylindrical coordinates prior to being displayed. 2. Anti-aliasing, Hidden Surface Removal, and Alpha Blending In another aspect of projection mode, multiplanar anti-aliasing is provided. When an image is projected or displayed on a volumetric display, diagonal or curved surfaces in the z direction may appear jagged and discontinuous. This may be the result of a number of factors. For example, the generated image may have been undersampled or the display may have an insufficient number of optical elements. Multiplanar anti-aliasing smooths out the jagged or sharp edges, producing a smoother rendered appearance in the z direction. Using multiplanar antialiasing, the fractional portion of the scaled z value (z f ) may be used to compute color values for pixels in adjacent picture elements. FIG. 5B shows a method of multiplanar antialiasing in accordance with embodiments of the invention, is shown. At step 530, the fractional value of the z scaled value (z f ) is read. At steps 535 and 540, the z f value is used to calculate two color values, RGB near and RGB far . The RGB near value is calculated by multiplying the RGB value for that pixel by (l-z f ), while the RGB far value is calculated by multiplying the RGB value for that pixel by z f . In steps 545 and 550, RGB near and RGB far are assigned to the frame buffer sections corresponding to z x and z 1+1 , respectively. Other such methods for accomplishing multiplanar antialiasing are described in U.S. Application No. 09/291,315, filed on April 14, 1999, now U.S. Patent No. (hereinafter "the ' patent"), which is hereby incorporated by reference in its entirety. 3. Transferring the Rendered Data to the Multiplanar Frame Buffer As discussed above, when using projection mode, a standard video controller can be used with a multiplanar frame buffer residing in the display. This requires additional steps when transmitting image data from the video controller to the multiplanar frame buffer. The additional steps depend on the type of system and hardware being used. In one embodiment, all processing is done on the data prior to transferring it to the display. As shown in FIG. 6a, once the data has been generated by video controller 602, it is transferred into a local copy 605 of a multiplanar frame buffer 610. Local copy 605 can be implemented in main memory located on graphics source 102. Alternatively, if video controller 105 has a sufficiently large amount of memory, local copy 605 can be implemented on the video controller. Once local copy 605 has been filled, the data may be block transferred to multiplanar frame buffer 610. In another embodiment, the display may also incorporate display video circuitry 604 in addition to incorporating a multiplanar frame buffer 610. The display video circuitry can be similar in structure to video circuitry 410. As shown in FIG. 6b, once image data for a single 2D image has been generated, it is transferred to display video circuitry 604 located in the display. Further processing is carried out by display video circuitry and the processed data is transferred to multiplanar frame buffer 610. Yet another embodiment is shown in FIG. 6c. In this embodiment, multiplanar frame buffer 610 is located in the display and is memory mapped to video controller 602. Processing is then done on a pixel-by- pixel basis and transferred directly to multiplanar frame buffer 610. B. Multi-Pass Rendering In another embodiment of the invention, the multiplanar frame buffer is filled using a multi-pass rendering technique. This technique can be used in systems where a multiplanar frame buffer is integrated into the display, and a conventional video controller with a small memory space is used. With this approach, a scene is rendered by the computer once for each optical element of the multiplanar display. Multi-pass rendering allows multiple image surfaces to be visible at different viewing angles within the display. That is, there are no "missing" parts of the image when viewed from off- axis. FIG. 5c shows a method of assigning memory locations in the multiplanar frame buffer using the multi-pass rendering technique. At step 530, a pair of software clip planes is defined. The • software clip planes bound the part of the 3D scene to be displayed on a single optical element, making the rest of the 3D scene invisible. Once the clip planes are defined, the 3D scene is rendered at step 540 into a two dimensional frame buffer. At step 545, anti-aliasing is preferably performed. Anti-aliasing can be accomplished using any suitable function, such as, for example, a fog function. Such functions are described in, for example, in the ' patent. At step 550, the rendered data is read out to the frame buffer without the need for further processing. In certain hardware systems, multi-pass rendering of a fraction of the scene should not take much more time than single pass rendering of a whole scene. For example, 50 renderings of l/50 th of the scene should take roughly the same amount of time as rendering the whole scene if the transfer of data from video controller 105 to the multiplanar frame buffer is sufficiently fast. C. Direct Rasterization In yet * another embodiment of the invention, the multiplanar frame buffer may be filled using a direct rasterization technique. In some embodiments, this technique may be used in systems that include a video controller capable of generating multiplanar 3D images, as opposed to the two dimensional images generated by conventional video controllers. Accordingly, using this technique, an image may be viewed off-axis without any resultant surface breaks or loss of quality. Moreover, in a preferred embodiment, a non-conventional video controller 105 is included that incorporates a specialized rasterization processor and/or a multiplanar frame buffer. As discussed above, the multiplanar frame buffer may be divided either physically or logically, with each partition corresponding to a specific optical element. 1. Assigning Memory Locations in the Frame Buffer FIG. 5d shows an embodiment of a direct rasterization process in accordance with the invention. At step 570, fragment information is computed. As discussed above, fragment information may include the RGB values of each pixel defined by a polygon primitive. As also discussed above, the fragment information is computed as the pixel data is being processed from the vertex information of the surface primitives. At step 572, a memory location in the multiplanar frame buffer is computed for the computed fragment. This can be accomplished in any suitable manner in which the x, y, and z coordinates are used at least in part to determine the memory address. In some embodiments, for example, where the planar resolution of the 3D image is 640 pixels by 480 pixels, the address may be calculated using either of the following equations : Addr = N b/p * (x+640 * y + 640 * 480 * z Addr = N B/P * ( r * cosine ( θ ) + N x * y' + N x * N y * r * sine ( θ ) ) The details of these equations are discussed above in the projection mode section. At step 574, depth testing is performed. If a pixel is located behind (i.e., at higher z) a previously processed opaque pixel, the new pixel is not visible and the corresponding pixel data can be discarded. If the pixel is not located behind an opaque pixel, the new pixel is visible and the corresponding pixel data is retained for further processing. At step 574, antialiasing is performed on the image fragment. In an embodiment, the fractional portion of the z value is used to calculate RGB values of adjacent pixels. An example of such a function is disclosed in the ' patent, and as discussed above. Any suitable antialiasing function, however, may be used. Optionally, at step 576, alpha blending may be performed on the multiplanar image. Any suitable alpha blending technique may be used, such as, for example, conventional alpha blending as discussed above. Alternatively, in a multiplanar frame buffer, the brightness and/or color of pixels located behind (i.e., at the same x,y location but at a larger z) a new pixel may be modified if it can be viewed through the new foreground pixel (i.e., the new forground pixel is translucent) . For example, background pixels may have their brightness and/or color modulated depending on the alpha value of the foreground pixel. 2. Transferring Data to the Multiplanar Frame Buffer As in projection mode, the rendered data may be processed and transferred to the display in a variety of ways, depending on the type of system and hardware being used. FIG. 6d illustrates a first method of transferring data to the multiplanar frame buffer. This method may be appropriate in situations where both the video controller and the display incorporate a multiplanar frame buffer. In this method, rendered and processed data may be block transferred from the multiplanar frame buffer 610 of video controller 602 to multiplanar frame buffer 612 of the display. FIG. 6e illustrates another method of transferring data to the multiplanar frame buffer. This method may be appropriate in situations where display 620 does not incorporate a multiplanar frame buffer (e.g., the frame buffer is incorporated in video controller 602) . In this method, the contents of multiplanar frame buffer 610 can be used to drive the display directly using a high bandwidth interface 622. The interface may be of any suitable bandwidth for transferring data such that a flicker free image is provided. Lastly, portions of the video controller may reside on graphics source 102, while other portions reside on the display. This is illustrated in FIG. 6f. In this case, multiplanar frame buffer 610 is integrated into the display. Bidirectional address and data buses from video controller 602 may be included as part of the interface 624. Thus, rasterization of three-dimensional images is provided. One skilled in the art will appreciate that the present invention can be practiced by other than the described embodiments, which are presented for illustration and not of limitation, and the present invention is limited only by the claims that follow.

Claims: WE CLAIM: 1. A method of displaying a three-dimensional image comprising: generating three-dimensional image data for a plurality of pixels, the three-dimensional image data comprising (x,y,z) coordinate and color information, wherein z-coordinate information represents image depth information; and storing the three dimensional image data at locations in a frame buffer in accordance with the z-coordinate information. 2. The method of claim 1 wherein storing comprises : reading the z-coordinate information; scaling the z-coordinate information within a range corresponding to a number of display elements upon which the image data is to be displayed; and assigning locations in the- frame buffer for the three-dimensional image data based on the scaled z-coordinate information. 3. The method of claim 1 wherein storing comprises : storing image data associated with a first pixel in a first memory location; and storing image data associated with a second pixel in a second memory location; wherein the z-coordinate information associated with the first pixel is substantially similar to the z-coordinate information associated with the second pixel, and the first memory location is in close logical proximity to the second memory location. 4. The method of claim 1 wherein the storing comprises storing image data having substantially identical z-coordinate information in memory locations of the frame buffer that are logically substantially proximate. 5. The method of claim 1 further comprising displaying an image on a display having addressable (x,y,z) coordinates. 6. The method of claim 5 wherein storing further comprises assigning a location in the frame buffer for the three dimensional image data in accordance with the equation: Addr = N b/p * (x + N x * y + N x * N y * z wherein Addr is the assigned location in the frame buffer, N b/p is the number of bytes of information stored for each pixel, N x is the number of pixels in the x direction of a display, N y is the number of pixels in the y dimension of a display, and Z is an integer portion of the scaled z-coordinate value. 7. The method of claim 1 further comprising displaying an image on a display having addressable (r, y' and theta) coordinates. 8. The method of claim 7 wherein storing further comprises assigning a location in the frame buffer for the three dimensional image data in accordance with the equation: Addr = N B/P * (r * cosine (theta) + N x * y' + N x * N y * r * sine (theta) ) wherein Addr is the assigned location in the frame buffer, N B P is the number of bytes of information stored for each pixel, N x is the number of pixels in the x direction of a display, N y is the number of pixels in the y dimension of a display, and Z ± is an integer portion of the scaled z-coordinate value. 9. The method of claim 1 wherein storing comprises : providing a first memory at least as large as the frame buffer; filling the first memory with the three dimensional image data; and transmitting the contents of the first memory location to the frame buffer in a single operation. 10. The method of claim 1 wherein storing comprises : providing a first memory smaller than the frame buffer; filling the first memory with a portion of the three-dimensional image data; transmitting the contents of the first memory to a second memory; rasterizing the three dimensional image data; and transmitting the contents of the second memory location to the frame buffer. 11. The method of claim 1 wherein storing comprises : providing a first memory smaller than the frame buffer; filling the first memory with the three dimensional image data; and transmitting the contents of the first memory location to the frame buffer. 12. The method of claim 1 further comprising transmitting the three-dimensional image data to a display in accordance with the z-coordinate information. 13. The method of claim 1 wherein the image data further comprises transparency information and brightness information. 14. The method of claim 13 further comprising adjusting one of the brightness information and color information of a first pixel based on transparency information of a second pixel. 15. The method of claim 14 wherein the z value associated with the first pixel is greater than the z value associated with the second pixel. 16. The method of claim 1 further comprising displaying an image on a three dimensional volumetric display. 17. The method of claim 16 wherein the three dimensional volumetric display comprises multiple planes upon which image data is displayed. 18. The method of claim 16 wherein the three dimensional volumetric display comprises a plurality of self-luminescent optical elements. 19. The method of claim 16 wherein the three dimensional volumetric display is a swept-volume display. 20. The method of claim 1 wherein generating comprises generating the three-dimensional image data with a personal computer. 21. The method of claim 1 wherein generating comprises converting data corresponding to a three-dimensional image into data corresponding to a plurality of two-dimensional cross-sectional images of the three-dimensional image. 22. The method of claim 1 wherein the generating comprises generating the three-dimensional image data using application program interface calls. 23. The method of claim 1 wherein generating comprises generating data indicating a plurality of geometric primitives that define three-dimensional image. 24. A system for displaying a three-dimensional image comprising: means for generating three-dimensional image data for a plurality of pixels, the three- dimensional image dat.a comprising (x,y,z) coordinate and color information, wherein z-coordinate information represents image depth information; and means for storing the three dimensional image data at locations in a frame buffer in accordance with the z-coordinate information. 25. The system of claim 24 wherein the means for storing comprises: means for reading the z-coordinate information; means for scaling the z-coordinate information within a range corresponding to a number of display elements upon which the image data is to be displayed; and means for assigning locations in the frame buffer for the three-dimensional image data based on the scaled z-coordinate information. 26. The system of claim 24 wherein the means for storing comprises: means for storing image data associated with a first pixel in a first memory location; and means for storing image data associated with a second pixel in a second memory location; wherein the z-coordinate information associated with the first pixel is substantially similar to the z-coordinate information associated with the second pixel, and the first memory location is in close logical proximity to the second memory location. 27. The system of claim 24 wherein the means for storing comprises means for storing image data having substantially identical z-coordinate information in memory locations of the frame buffer that are logically substantially proximate. 28. The system of claim 24 further comprising means for displaying an image on a display having addressable (x,y,z) coordinates. 29. The system of claim 28 wherein the means for storing comprises means for assigning a location in the frame buffer for the three dimensional image data in accordance with the equation: Addr = N b/p * (x + N x * y + N x * N y * z wherein Addr is the assigned location in the frame buffer, N b/p is the number of bytes of information stored for each pixel, N x is the number of pixels in the x direction of a display, N y is the number of pixels in the y dimension of a display, and Z x is an integer portion of the scaled z-coordinate value. 30. The system of claim 24 further comprising means for displaying an image on a display having addressable (r, y' and theta) coordinates. 31. The system of claim 30 wherein the means for storing comprises means for assigning a location in the frame buffer for the three dimensional image data in accordance with the equation: Addr = N B/P * (r * cosine (theta) + N x * y' + N x * N y * r * sine (theta) ) wherein Addr is the assigned location in the frame buffer, N B P is the number of bytes of information stored for each pixel, N x is the number of pixels in the x direction of a display, N y is the number of pixels in the y dimension of a display, and Z is an integer portion of the scaled z-coordinate value. 32. The system of claim 24 wherein the means for storing comprises: means for providing a first memory at least as large as the frame buffer; means for filling the first memory with the three dimensional image data; and means for transmitting the contents of the first memory location to the frame buffer in a single operation. 33. The system of claim 24 wherein the means for storing comprises: means for providing a first memory smaller than the frame buffer; means for filling the first memory with a portion of the three-dimensional image data; means for transmitting the contents of the first memory to a second memory; means for rasterizing the three dimensional image data; and means for transmitting the contents of the second memory location to the frame buffer. 34. The system of claim 24 wherein the means for storing comprises: means for providing a first memory smaller than the frame buffer; means for filling the first memory with the three dimensional image data; and means for transmitting the contents of the first memory location to the frame buffer. 35. The system of claim 24 further comprising means for transmitting the three-dimensional image data to a display in accordance with the z-coordinate information. 36. The system of claim 24 wherein the image data further comprises transparency information and brightness information. 37. The system of claim 36 further comprising means for adjusting one of the brightness information and color information of a first pixel based on transparency information of a second pixel. 38. The system of claim 37 wherein the z value associated with the first pixel is greater than the z value associated with the second pixel. 39. The system of claim 24 further comprising means for displaying an image on a three dimensional volumetric display. 40. The system of claim 39 wherein the three dimensional volumetric display comprises multiple planes upon which image data is displayed. 41. The system of claim 39 wherein the three dimensional volumetric display comprises a plurality of self-luminescent optical elements. 42. The system of claim 39 wherein the three dimensional volumetric display is a swept-volume display. 43. The system of claim 24 wherein the means for generating comprises means for generating the three-dimensional image data with a personal computer. 44. The system of claim 24 wherein the means for generating comprises means for converting data corresponding to a three-dimensional image into data corresponding to a plurality of two-dimensional cross-sectional images of the three-dimensional image. 45. The system of claim 24 wherein the means for generating comprises means for generating the three-dimensional image data using application program interface calls. 46. The system of claim 24 wherein the means for generating comprises means for generating data indicating a plurality of geometric primitives that define three-dimensional image. 47. A three dimensional display system comprising: a frame buffer and a microprocessor programmed to: generate three-dimensional image data for a plurality of pixels, the three-dimensional image data comprising (x,y,z) coordinate and color information, wherein z-coordinate information represents image depth information; and store the three dimensional image data at locations in a frame buffer in accordance with the z-coordinate information. 48. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to: read the z-coordinate information; scale the z-coordinate information within a range corresponding to a number of display elements upon which the image data is to be displayed; and assign locations in the frame buffer for the three-dimensional image data based on the scaled z- coordinate information. 49. The three dimensional display system of claim 47 wherein the wherein the microprocessor is further programmed to: store image data associated with a first pixel in a first memory location; and store image data associated with a second pixel in a second memory location; wherein the z-coordinate information associated with the first pixel is substantially similar to the z-coordinate information associated with the second pixel, and the first memory location is in close logical proximity to the second memory location. 50. The three dimensional display system of claim 47 wherein the wherein the microprocessor is further programmed to store image data having substantially identical z-coordinate information in memory locations of the frame buffer that are logically substantially proximate. 51. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to display an image on a display having addressable (x,y,z) coordinates. 52. The three dimensional display system of claim 51 wherein the wherein the microprocessor is further programmed to assign a location in the frame buffer for the three dimensional image data in accordance with the equation: Addr = N b/p * (x + N x * y + N x • * N y * z wherein Addr is the assigned location in the frame buffer, N bp is the number of bytes of information stored for each pixel, N x is the number of pixels in the x direction of a display, N y is the number of pixels in the y dimension of a display, and Z i is an integer portion of the scaled z-coordinate value. 53. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to display an image on a display having addressable (r, y' and theta) coordinates. 54. The three dimensional display system of claim 53 wherein the microprocessor is further programmed to assign a location in the frame buffer for the three dimensional image data in accordance with the equation: Addr = N B/P * (r * cosine (theta) + N x * y' + N x * N y sine (theta) ) wherein Addr is the assigned location in the frame buffer, N B/P is the number of bytes of information stored for each pixel, N x is the number of pixels in the x direction of a display, N y is the number of pixels in the y dimension of a display, and Z ± is an integer portion of the scaled z-coordinate value. 55. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to: provide a first memory at least as large as the frame buffer; fill the first memory with the three dimensional image data; and transmit the contents of the first memory location to the frame buffer in a single operation. 56. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to: provide a first memory smaller than the frame buffer; fill the first memory with a portion of the three-dimensional image data; transmit the contents of the first memory to a second memory; rasterize the three dimensional image data; and transmit the contents of the second memory location to the frame buffer. 57. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to: provide a first memory smaller than the frame buffer; fill the first memory with the three dimensional image data; and transmit the contents of the first memory location to the frame buffer. 58. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to transmit the three-dimensional image data to a display in accordance with the z-coordinate information. 59. The three dimensional display system of claim 47 wherein the image data further comprises transparency information and brightness information. 60. The three dimensional display system of claim 59 wherein the microprocessor is further programmed to adjust one of the brightness information and color information of a first pixel based on transparency information of a second pixel. 61. The three dimensional display system of claim 60 wherein the z value associated with the first pixel is greater than the z value associated with the second pixel. 62. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to display an image on a three dimensional volumetric display. 63. The three dimensional display system of claim 62 wherein the three dimensional volumetric display comprises multiple planes upon which image data is displayed. 64. The three dimensional display system of claim 62 wherein the three dimensional volumetric display comprises a plurality of self-luminescent optical elements. 65. The three dimensional display system of claim 62 wherein the three dimensional volumetric display is a swept-volume display. 66. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to generate the three-dimensional image data with a personal computer. 67. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to convert data corresponding to a three-dimensional image into data corresponding to a plurality of two-dimensional cross-sectional images of the three-dimensional image. 68. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to generate the three-dimensional image data using application program interface calls. 69. The three dimensional display system of claim 47 wherein the microprocessor is further programmed to generate data indicating a plurality of geometric primitives that define three-dimensional image .

Inventors: SNUFFER JOHN T, SULLIVAN ALAN, SNUFFER, JOHN, T., SULLIVAN, ALAN
Applicants: SNUFFER JOHN T, SULLIVAN ALAN, SNUFFER, JOHN, T., SULLIVAN, ALAN
Application year: 2001
Main classification: G06T15
IPC codes: G06T15, G09G5