WO2000060543A1 - Graphics processor for stereoscopically displaying a graphical image - Google Patents

Graphics processor for stereoscopically displaying a graphical image

Info

Publication number
WO2000060543A1
WO2000060543A1 PCT/US2000/008000 US0008000W WO0060543A1 WO 2000060543 A1 WO2000060543 A1 WO 2000060543A1 US 0008000 W US0008000 W US 0008000W WO 0060543 A1 WO0060543 A1 WO 0060543A1
Authority
WO
WIPO (PCT)
Prior art keywords
primitive
primitives
display device
pixels
line
Prior art date
Application number
PCT/US2000/008000
Other languages
French (fr)
Inventor
Dale Kirkland
James Deming
Original Assignee
Intergraph Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Intergraph Corporation filed Critical Intergraph Corporation
Publication of WO2000060543A1 publication Critical patent/WO2000060543A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/167Synchronising or controlling image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/189Recording image signals; Reproducing recorded image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/194Transmission of image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/275Image signal generators from 3D object models, e.g. computer-generated stereoscopic image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/296Synchronisation thereof; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/286Image signal generators having separate monoscopic and stereoscopic modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/324Colour aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
    • H04N13/337Displays for viewing with the aid of special glasses or head-mounted displays [HMD] using polarisation multiplexing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
    • H04N13/344Displays for viewing with the aid of special glasses or head-mounted displays [HMD] with head-mounted left-right displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/398Synchronisation thereof; Control thereof

Definitions

  • the invention generally relates to computer systems and, more particularly, the invention relates to processing graphics request data for stereoscopic display on a computer display device.
  • Images may be stereoscopicaliy drawn on a display device in accord with many well known techniques.
  • a first set of (horizontal) lines on the display is directed to a viewer's right eye
  • a second set of different lines on the display is directed the viewer's left eye.
  • every odd line may be directed to the viewer's left eye only
  • every even line may be directed to the viewer's right eye only.
  • the viewer generally must wear a pair of polarized glasses that blocks the first set of lines from view by the left eye, and similarly blocks the second set of lines from view by the right eye. The combined effect viewed by both eyes produces the stereoscopic image.
  • primitives such as lines and points
  • Each primitive of the image is rendered to produce the final displayed image.
  • Display problems arise, however, when primitives are stereoscopicaliy drawn across a small, odd number of lines of the display device. For example, only one eye of a viewer will see a horizontal line (i.e., drawn on one line of the display device), while the other eye will not see such line. This distorts the ultimate stereoscopic image, thus degrading the visual effect of the display.
  • a line drawn at less than or equal to a forty-five degree angle from the horizontal of a display device also is distorted. As shown in figure 1, such a line often lights several consecutive pixels in each of several lines to create a stair effect. Each eye thus sees every other part of the line, effectively creating the illusion of a discontinuous line.
  • a method, computer program product, and graphics processor for stereoscopicaliy displaying a primitive on a display device adds a row of pixels to the primitive to improve its appearance on the display device. To that end, it first is determined if the primitive is to be stereoscopicaliy displayed on the display device. After it is determined that the primitive is to be stereoscopicaliy displayed, then a row of pixels is added to the primitive.
  • the primitive preferably is a point primitive or a line primitive.
  • a method and apparatus improves the appearance of a graphical image for subsequent display on a display device.
  • the graphical image is comprised of a plurality of primitives that each have an associated width. Accordingly, graphics request code representing the plurality of primitives is received. It then is determined if the plurality of primitives are to be displayed in a stereoscopic display mode. If the plurality of primitives is determined to be in the stereoscopic display mode, then the width is increased, by one pixel, of a set of the plurality of primitives.
  • Figure 1 schematically shows an exemplary diagonal line primitive displayed on a prior art computer system.
  • Figure 2A schematically shows a display device displaying a point primitive and a diagonal line primitive in accordance with preferred embodiments of the invention.
  • Figure 2B schematically shows the view by one eye of the diagonally oriented line primitive in figure 2A when such primitive is not displayed in accord with preferred embodiments.
  • Figure 2C schematically shows the view by one eye of the diagonally oriented line primitive in figure 2A when such primitive is displayed in accordance with preferred embodiments.
  • Figure 3 schematically shows an exemplary computer system on which preferred embodiments of the invention may be implemented.
  • Figure 4 schematically shows several of the internal components of a graphics accelerator that may be utilized with preferred embodiments of the invention.
  • Figure 5 shows a process of rasterizing point and line primitives in accordance with preferred embodiments of the invention.
  • Figure 6 shows a process of process of adding rows to line primitives in accordance with preferred embodiments of the invention.
  • point and various line primitives that are to be stereoscopicaliy displayed are modified to include an additional row of pixels. This modification reduces the distortion of a graphical image that is made up of the primitives being modified, thus more accurately displaying the graphical image.
  • FIG. 2A schematically shows a display device displaying both a point primitive 200 and a diagonally oriented line primitive 202 in accordance with preferred embodiments of the invention.
  • the line primitive 202 in the figures is oriented at a forty-five degree angle to the horizontal and thus, has a jagged, stair-case look due to aliasing problems.
  • line primitives 202 forming angles between zero and forty-five degrees against the horizontal are modified as discussed below for stereoscopic display on a display device.
  • line primitives 202 include either more (vertical) columns (of pixels) than (horizontal) rows, or more rows than columns.
  • a line primitive 202 is considered to be oriented in the X-direction when it has more columns than rows (i.e., more pixels are lit in the X-direction than in the Y-direction).
  • a point primitive 200 has an identical number of rows and columns.
  • the point primitive 200 shown in figure 2A for example, is a three-by-three point primitive 200 since it has three rows and three columns. Each of the rows and columns in the displayed point primitive 200 thus has three pixels.
  • each pixel represented by a "o" in figures 2A-2C is lit even when the primitives are not modified in accord with preferred embodiments of the invention.
  • each pixel represented by an "x" in figures 2A and 2C is lit in accord with preferred embodiments of the invention.
  • the addition of the "x" pixels enables a person viewing the point primitive 200 in figure 2A to see two rows with the right eye, and two rows with the left eye.
  • the addition of the "x" pixels to the aliased line primitive 202 has the effect of visually smoothing out the steps 204 of the line.
  • the addition of the "x" pixels enables the right and left eyes to each see a smoother transition between the previous row of lit pixels respectively directed to each eye.
  • Figures 2B and 2C graphically exemplify the difference between line primitives
  • FIG. 2B shows a prior art display of the line primitive 202 where only three pixels are lit for each step 204. This leaves a relatively large gap between each of the steps 204 of the line primitive 202, consequently producing a relatively distorted view.
  • Figure 2C adds "x" pixels between the steps 204, consequently blending each of the steps 204 to reduce the aliasing effect.
  • Figure 3 illustrates the system architecture for an exemplary computer system 300, such as an Intergraph EXTREME-ZTM graphics workstation (distributed by Intergraph
  • the computer 300 includes a central processing unit (CPU) 305 having a conventional microprocessor, random access memory (RAM) 310 for temporary storage of information, and read only memory (ROM) 315 for permanent storage of read only information.
  • a memory controller 300 is provided for controlling system RAM 310.
  • a bus controller 325 is provided for controlling a bus 330, and an interrupt controller 335 is provided for receiving and processing various interrupt signals from the other system components.
  • Mass storage may be provided by known non-volatile storage media, such as a diskette 342, a digital versatile disk (not shown), a CD-ROM 347, or a hard disk 352. Data and software may be exchanged with the computer system 300 via removable media, such as the diskette 342 and the CD-ROM 347.
  • the diskette 342 is insertable into a diskette drive 341, which utilizes a diskette drive controller 340 to interface with the bus 330.
  • the CD-ROM 347 is insertable into a CD-ROM drive 346, which utilizes a
  • CD-ROM drive controller 345 to interface with the bus 330.
  • the hard disk 352 is part of a fixed disk drive 351, which utilizes a hard drive controller 350 to interface with the bus 330.
  • a keyboard 356 and a mouse 357 may be connected to the bus 330 by a keyboard and mouse controller 355.
  • An audio transducer 396 which may act as both a microphone and a speaker, is connected to the bus 330 by audio controller 397.
  • other input devices such as a pen and/or tablet, may be connected to computer 300 through bus 330 and an appropriate controller.
  • a direct memory access (DMA) controller 360 is provided for performing direct memory access to system RAM 310.
  • a visual display may be generated by a video controller 365, which controls a graphics accelerator 367 and a display device 370.
  • the graphics accelerator 367 includes a WILDCATTM video card, available from Intergraph Corporation.
  • the WILDCATTM video card is configured for use with the OPENGLTM application program interface ("API") for rendering three dimensional (“3D") images on the display device 370.
  • the OPENGLTM API also may be utilized to stereoscopicaliy display an item in accord with preferred embodiments of the invention.
  • a network adapter 390 also may be included to enable the computer system 300 to be interconnected to a network 395 via a network bus 391.
  • the network 395 which may be a local area network (LAN), a wide area network (WAN), or the Internet, may utilize general purpose communication lines that interconnect a plurality of network devices.
  • the computer system 300 preferably is controlled and coordinated by operating system software, such as the WINDOWS NT ® operating system (available from Microsoft Corp., of Redmond, Washington). Among other computer system control functions, the operating system controls allocation of system resources and performs tasks such as process scheduling, memory management, networking, and I/O services.
  • operating system software such as the WINDOWS NT ® operating system (available from Microsoft Corp., of Redmond, Washington).
  • the operating system controls allocation of system resources and performs tasks such as process scheduling, memory management, networking, and I/O services.
  • Figure 4 schematically shows several of the internal components of the graphics accelerator 367 shown in figure 3.
  • the graphics accelerator 367 includes an input 400 for receiving graphics request code from the CPU 305, a geometry acceleration stage 402 for performing geometry acceleration on primitive vertices, a gradient producing stage 404 for producing gradients between primitive vertices, an incrementer 405 for adding pixels to selected primitives for improving their display, and a rasterization stage 406 for rasterizing the primitives.
  • the rasterization stage 406 includes an output 408 to a frame buffer controller 410 that directs pixel data to either one of a left frame buffer 412 or a right frame buffer 414.
  • the left frame buffer 412 includes data to be seen by a viewer's left eye
  • the right frame buffer 414 includes data to be seen by a viewer's right eye.
  • the geometry acceleration stage 402 preferably is similar to that described in copending U.S. patent application number 09/353,495, filed July 15, 1999, the disclosure of which is incorporated herein, in its entirety, by reference.
  • the gradient producing stage 404 and rasterization stage 406 preferably are similar to those described in copending U.S. Provisional Patent application number 09/353,420, filed July 15, 1999, the disclosure of which also is incorporated herein, in its entirety, by reference.
  • each stage of the graphics accelerator 367 is a single application specific integrated circuit that is configured to perform its specified function.
  • Each stage of the graphics accelerator 367 may include one or more processing units for performing such stage's desired function.
  • one or more rasterizers in the rasterization stage 406 are utilized with one or more incrementers 405 for stereoscopicaliy displaying a graphical image in accordance preferred embodiments of the invention.
  • the incrementers 405 are utilized with one or more incrementers 405 for stereoscopicaliy displaying a graphical image in accordance preferred embodiments of the invention.
  • incrementers 405 may be located within one gradient producing unit, or distributed across several gradient producing units. Alternatively, the incrementers 405 may be external to the gradient producing units.
  • Figure 5 shows a process of rasterizing point and line primitives of a graphical image in accord with preferred embodiments of the invention. The process begins at step
  • graphics request code e.g., in the OPENGLTM format
  • the graphics request code preferably represents an image to be displayed on the display device that is defined by a plurality of primitives. Among those primitives are point and line primitives.
  • the geometry acceleration stage 402 calculates vertex attributes for the received point and line primitive request code in accord with conventional processes (step 502).
  • vertex attributes for the received point and line primitive request code in accord with conventional processes (step 502).
  • the attribute values for the end-points of the line are calculated.
  • attribute values of the entire point primitive are calculated.
  • the attributes calculated for each primitive are length and width values, which are defined in terms of pixels on the display device. The exact pixels on the display device to be lit for a primitive being processed, however, are not determined until such primitive is processed by the rasterization stage 406.
  • the request code (i.e., the originally received graphics request code and the vertex attribute data) then is forwarded to the gradient producing stage 404 for calculating gradient functions ("gradients") between endpoints of the primitives in accord with conventional processes (step 504).
  • the gradients define the rate of change of attributes (e.g., color, transparency, etc . . .)between the line endpoints as a function of position.
  • the request code i.e., the originally received graphics request code, the vertex attribute data, and gradient(s)
  • the incrementer 405 for additional processing.
  • the incrementer 405 determines at step 506 if the graphics request code is to be processed in a "stereo" mode. Specifically, the graphics request code is preceded by a header having a field indicating whether or not request code following the control header is to be processed in the stereo mode. Accordingly, the incrementer 405 examines the header to determine if processing is to be in the stereo mode.
  • step 508 in which one or more primitive processing register(s) (not shown) within the incrementer 405 are set in accord with the requirements specified in the control header.
  • requirements are an indication as to whether the graphical image is to be displayed in the stereo mode.
  • all of the code following the header is processed in stereo mode until a subsequent control header with different display requirements is received.
  • the primitive processing registers are configured to set the mode in which the rasterization stage 406 is to process the request code.
  • the primitive processing registers are 32-bits wide and include, among other things, fields for the width of each line, a stipple count, stipple repeating, and a single-bit stereo mode indicator. Accordingly, when the stereo mode field is set to a high value (i.e., a "1" value when the request code header indicates stereo mode processing), then the rasterization stage 406 operates in the stereo mode (e.g., a interlaced stereo mode or frame sequential mode, each of which is discussed below).
  • the primitive processing registers also are 32-bits wide.
  • the fields in such primitive processing registers may include the size of the point, and a single-bit stereo mode field.
  • the stereo mode field is set to a high value to cause the rasterization stage 406 to operate in the stereo mode on the subsequently received point primitive request code for that point primitive.
  • step 510 in which rows of pixels are added to each received primitive (i.e., the request code) as necessary (discussed below with reference to figure 6).
  • each received primitive i.e., the request code
  • an additional row is added to all line primitives oriented in the X-direction, and to all point primitives.
  • the center of the point primitive is changed to reflect the additional row. Accordingly, since one row is added to the top of a point primitive (i.e., added above the row with the highest Y value), then the center of the point primitive is moved 0.5 pixels in the positive Y-direction from its original location. Although changed in the Y direction, the center maintains its location in the X direction. The center of a point primitive is subsequently utilized to determine which actual pixels on the display device are to be illuminated. Details of preferred embodiments of adding rows to line primitives oriented in the X-direction are discussed below with reference to figure
  • an additional row is added to point primitives having an odd number of rows, and to all line primitives oriented in the X-direction.
  • additional rows of pixels are added to all line primitives oriented in the X- direction that have line segments with an odd number of rows (see, for example, figure
  • the additional rows of pixels may be added by stepping across each column of the displayed line or point primitive, and adding a pixel to each column having an odd number of lit pixels.
  • the incrementer 405 may execute these functions. For example, with a 3 x 3 point primitive, an additional row of three pixels may be added to the primitive (see figure 2A). The additional row may be added either above the top row of pixels, or below the bottom row of pixels. For the line primitive 202 shown in figure 2A, several of three pixels (i.e., the "x" pixels) are added immediately above each row of previously lit pixels ("o" pixels). As a further example, a single additional row of pixels may be added to a line primitive 202 that forms a zero degree angle against the horizontal. Like the other exemplary primitives, this additional row of pixels preferably is contiguous with the existing row of pixels.
  • step 512 the process continues to step 512 in which the modified primitives (i.e., with the extra rows of pixels) are rasterized by the rasterization stage 406 in accord with conventional processes.
  • the rasterization stage 406 operates in the mode set in the primitive processing registers. To that end, the rasterization stage 406 reads the appropriate register(s) and generates pixel data that specifies attributes of specific pixels to be lit to display the primitive. The pixel data then is forwarded to the frame buffer controller 410, which determines how the pixel data for each pixel is to be stored (step 514).
  • the appropriate frame buffer may be determined by examining a header associated with the pixel data that specifies whether the pixel is an odd or even pixel.
  • the pixel data then is stored in the appropriate frame buffer (i.e., either the left frame buffer 412, or the right frame buffer 414) as specified by the buffer controller (step 516). Once in the specified frame buffer, the data may be displayed on the display device 370 as a stereo display.
  • the process continues to step 518, in which the primitive is processed in accord with conventional non-stereo processes. After executing this step, the process skips steps 508-516, thus completing the process.
  • each primitive is processed serially in accord with the process shown in figure 5. Accordingly, the primitive processing registers are reset as each primitive is serially received by the incrementer 405. The rasterizer stage thus processes each primitive in the order received in accord with the specifications (i.e., requirements) stored in the appropriate primitive processing register(s).
  • a person viewing the display 370 should wear polarized glasses to view the indicia on the display 370 in stereo.
  • Such glasses are designed to ensure that the right eye can see one set of lines only (e.g., only the odd lines), while the left eye can see another, different set of lines only (e.g., only the even lines).
  • Figure 6 shows an exemplary process of adding rows to line primitives, as discussed in step 510 of figure 5.
  • the process begins at step 600, in which it is determined if the line primitive ("subject line") is oriented in the X direction. The process ends if not oriented in the X direction and thus, no additional rows are added to the subject line.
  • step 600 if at step 600 it is determined that the subject line is oriented in the X direction, then the process continues to step 602, in which the width of the subject line is determined, and such width is incremented by one. To that end, the width of the subject line first is ascertained by accessing the primitive processing registers having that data.
  • step 604 a reference line is calculated.
  • the pixels utilized to light the subject line are calculated based upon the reference line (see step 606, discussed below).
  • the reference line is calculated as having the same slope as the subject line, and the same X values.
  • the Y values of the reference line are calculated according to the below equation:
  • the Y value of a point of the reference line that corresponds with a point (of the subject line) having the coordinates (2,3) and a determined width of 5 will thus be calculated as 3 - (5-l)/2, which equals 1. Accordingly, a point having coordinates (2,3) on the subject line corresponds with a point having coordinates (2,1) on the reference line.
  • step 606 in which the appropriate pixels to be lit at a subsequent time (steps 512-516 of the process in figure 5) are determined for the subject line. Once determined, the coordinates of these pixels are stored. To that end, the X-Y coordinates of each pixel through which the reference line passes first is determined. When the reference line passes through two pixels having the same X value, however, then the pixel having the lower Y value is utilized (i.e., such pixel's X-Y coordinates are utilized).
  • the coordinates of these pixels then are stored to be subsequently lit (i.e., steps 512 to 516 of the process of figure 5), as well as the coordinates of various other pixels immediately above them (i.e., in the positive Y direction) up to the determined width.
  • the reference line is below the subject line (i.e., in the negative Y direction)
  • this process also can be utilized in a corresponding manner if the reference line is above the subject line (i.e., in the positive Y direction).
  • the coordinates of the intersected pixels are stored, as well as the coordinates of the other pixels in each respective column to be stored are immediately below the intersected pixels in the negative Y direction.
  • the subject line is determined to be oriented in the Y direction, then normal processing continues. Specifically, the width is not incremented and thus, steps 604 and 606 are executed utilizing the non-incremented width.
  • the display 370 may be any conventional type of display device that utilizes an electron gun for scanning the lines of the display.
  • the display 370 can be a cathode ray tube monitor, such as a INTERVIEWTM 24HD96 color monitor, distributed by Intergraph Corporation of Huntsville, Alabama.
  • the display 370 can be any display device that displays output graphical indicia in a series of lines. Accordingly, this includes liquid crystal displays, and head mounted display devices.
  • the display 370 may be configured to operate in one of two different stereo modes; namely interlaced stereo mode and frame sequential mode. When in the interlaced stereo mode, the electron gun draws every other line per frame of graphical data. For example, the electron gun sequentially illuminates the even lines first, followed by the odd lines, followed by the even lines, etc . . . This process is very similar to conventional television video broadcast techniques, such as those defined by the
  • NSC format National Television Standards Committee
  • PAL format Phase Alternating Line format
  • frame sequential mode all lines are illuminated for each frame. For example, the first line is illuminated first, followed by the second line, and then the third line, etc . . . until the last line is illuminated. The process then repeats after the last line is illuminated.
  • the frame sequence mode produces better visual output, it requires more memory than is required in the interlaced stereo mode. Accordingly, each stereo mode is utilized as dictated by system requirements.
  • the disclosed apparatus and method for stereoscopicaliy displaying graphical images may be implemented as a computer program product for use with a computer system.
  • Such implementation may include a series of computer instructions fixed either on a tangible medium, such as a computer readable medium (e.g., a diskette, CD-ROM, ROM, or fixed disk) or transmittable to a computer system, via a modem or other interface device, such as a communications adapter connected to a network over a medium.
  • the medium may be either a tangible medium
  • the series of computer instructions embodies all or part of the functionality previously described herein with respect to the system.
  • Such computer instructions can be written in a number of programming languages for use with many computer architectures or operating systems.
  • such instructions may be stored in any memory device, such as semiconductor, magnetic, optical or other memory devices, and may be transmitted using any communications technology, such as optical, infrared, microwave, or other transmission technologies.
  • Such a computer program product may be distributed as a removable medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the network (e.g., the Internet or World Wide Web).
  • a computer system e.g., on system ROM or fixed disk
  • a server or electronic bulletin board over the network (e.g., the Internet or World Wide Web).
  • some embodiments of the invention may be implemented as a combination of both software (e.g., a computer program product) and hardware. Still other embodiments of the invention are implemented as entirely hardware, or entirely software (e.g., a computer program product).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A method, computer program product, and graphics processor for stereoscopically displaying a primitive on a display device adds a row of pixels to the primitive to improve its appearance on the display device. To that end, it first is determined if the primitive is to be stereoscopically displayed on the display device. After it is determined that the primitive is to be steroscopically displayed, then a row of pixels is added to the primitive. The primitive preferably is a point primitive or a line primitive.

Description

GRAPHICS PROCESSOR FOR STEREOSCOPICALLY DISPLAYING A GRAPHICAL IMAGE
FIELD OF THE INVENTION The invention generally relates to computer systems and, more particularly, the invention relates to processing graphics request data for stereoscopic display on a computer display device.
BACKGROUND OF THE INVENTION Images may be stereoscopicaliy drawn on a display device in accord with many well known techniques. Among those techniques is one in which a first set of (horizontal) lines on the display is directed to a viewer's right eye, while a second set of different lines on the display is directed the viewer's left eye. For example, every odd line may be directed to the viewer's left eye only, while every even line may be directed to the viewer's right eye only. To stereoscopicaliy view an image utilizing this technique, the viewer generally must wear a pair of polarized glasses that blocks the first set of lines from view by the left eye, and similarly blocks the second set of lines from view by the right eye. The combined effect viewed by both eyes produces the stereoscopic image.
As is known in the art, many conventionally known computer graphical application program interfaces, such as the OPENGL™ API (available from Silicon Graphics, Inc. of
Mountain View, California), break an image into a plurality of primitive shapes ("primitives"), such as lines and points, to display the image. Each primitive of the image is rendered to produce the final displayed image. Display problems arise, however, when primitives are stereoscopicaliy drawn across a small, odd number of lines of the display device. For example, only one eye of a viewer will see a horizontal line (i.e., drawn on one line of the display device), while the other eye will not see such line. This distorts the ultimate stereoscopic image, thus degrading the visual effect of the display.
In a similar manner, because of commonly known aliasing problems, a line drawn at less than or equal to a forty-five degree angle from the horizontal of a display device also is distorted. As shown in figure 1, such a line often lights several consecutive pixels in each of several lines to create a stair effect. Each eye thus sees every other part of the line, effectively creating the illusion of a discontinuous line.
SUMMARY OF THE INVENTION In accordance with one aspect of the invention, a method, computer program product, and graphics processor for stereoscopicaliy displaying a primitive on a display device adds a row of pixels to the primitive to improve its appearance on the display device. To that end, it first is determined if the primitive is to be stereoscopicaliy displayed on the display device. After it is determined that the primitive is to be stereoscopicaliy displayed, then a row of pixels is added to the primitive. The primitive preferably is a point primitive or a line primitive.
In accordance with another aspect of the invention, a method and apparatus improves the appearance of a graphical image for subsequent display on a display device. The graphical image is comprised of a plurality of primitives that each have an associated width. Accordingly, graphics request code representing the plurality of primitives is received. It then is determined if the plurality of primitives are to be displayed in a stereoscopic display mode. If the plurality of primitives is determined to be in the stereoscopic display mode, then the width is increased, by one pixel, of a set of the plurality of primitives.
BRIEF DESCRIPTION OF THE DRAWINGS The foregoing and other objects and advantages of the invention will be appreciated more fully from the following further description thereof with reference to the accompanying drawings wherein: Figure 1 schematically shows an exemplary diagonal line primitive displayed on a prior art computer system.
Figure 2A schematically shows a display device displaying a point primitive and a diagonal line primitive in accordance with preferred embodiments of the invention. Figure 2B schematically shows the view by one eye of the diagonally oriented line primitive in figure 2A when such primitive is not displayed in accord with preferred embodiments.
Figure 2C schematically shows the view by one eye of the diagonally oriented line primitive in figure 2A when such primitive is displayed in accordance with preferred embodiments.
Figure 3 schematically shows an exemplary computer system on which preferred embodiments of the invention may be implemented.
Figure 4 schematically shows several of the internal components of a graphics accelerator that may be utilized with preferred embodiments of the invention.
Figure 5 shows a process of rasterizing point and line primitives in accordance with preferred embodiments of the invention.
Figure 6 shows a process of process of adding rows to line primitives in accordance with preferred embodiments of the invention.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS In accordance with preferred embodiments of the invention, point and various line primitives that are to be stereoscopicaliy displayed are modified to include an additional row of pixels. This modification reduces the distortion of a graphical image that is made up of the primitives being modified, thus more accurately displaying the graphical image.
Figure 2A schematically shows a display device displaying both a point primitive 200 and a diagonally oriented line primitive 202 in accordance with preferred embodiments of the invention. It should be noted that the pixels in figures 2A-2C are substantially enlarged for illustrative purposes only. The line primitive 202 in the figures is oriented at a forty-five degree angle to the horizontal and thus, has a jagged, stair-case look due to aliasing problems. In preferred embodiments, line primitives 202 forming angles between zero and forty-five degrees against the horizontal are modified as discussed below for stereoscopic display on a display device.
It should be noted that although rows and columns, as well as horizontal and vertical dimensions are discussed, various embodiments are applicable to their converse. For example, if a display device is utilized with an electron gun that lights pixels by columns and not rows (i.e., in a column-by-column manner), then those skilled in the art should be able to apply principles of preferred embodiments to such display device to produce the desired results. Accordingly, principles of various embodiments can be applied to a conventional display device oriented on its side. Preferred embodiments nevertheless are discussed in terms of a display device having an electron gun that lights pixels in a row-by-row manner.
As known in the art, line primitives 202 include either more (vertical) columns (of pixels) than (horizontal) rows, or more rows than columns. A line primitive 202 is considered to be oriented in the X-direction when it has more columns than rows (i.e., more pixels are lit in the X-direction than in the Y-direction). As also is known in the art, a point primitive 200 has an identical number of rows and columns. The point primitive 200 shown in figure 2A, for example, is a three-by-three point primitive 200 since it has three rows and three columns. Each of the rows and columns in the displayed point primitive 200 thus has three pixels.
Each pixel represented by a "o" in figures 2A-2C is lit even when the primitives are not modified in accord with preferred embodiments of the invention. Conversely, each pixel represented by an "x" in figures 2A and 2C is lit in accord with preferred embodiments of the invention. The addition of the "x" pixels enables a person viewing the point primitive 200 in figure 2A to see two rows with the right eye, and two rows with the left eye. In a similar manner, the addition of the "x" pixels to the aliased line primitive 202 has the effect of visually smoothing out the steps 204 of the line. Specifically, the addition of the "x" pixels enables the right and left eyes to each see a smoother transition between the previous row of lit pixels respectively directed to each eye. Figures 2B and 2C graphically exemplify the difference between line primitives
202 displayed in accord with the prior art (figure 2B), and those displayed in accord with preferred embodiments of the invention (figure 2C). Both of those figures show the displayed line primitive 202 of figure 2A as seen by one eye. Figure 2B shows a prior art display of the line primitive 202 where only three pixels are lit for each step 204. This leaves a relatively large gap between each of the steps 204 of the line primitive 202, consequently producing a relatively distorted view. Figure 2C, however, adds "x" pixels between the steps 204, consequently blending each of the steps 204 to reduce the aliasing effect.
Figure 3 illustrates the system architecture for an exemplary computer system 300, such as an Intergraph EXTREME-Z™ graphics workstation (distributed by Intergraph
Corporation of Huntsville, Alabama), on which preferred embodiments of the invention can be implemented. The exemplary computer system of figure 3 is discussed for descriptive purposes only, however, and should not be considered a limitation of the invention. Although the description below may refer to terms commonly used in describing particular computer systems, the described concepts apply equally to other computer systems, including systems having architectures that are dissimilar to that shown in Figure 3.
The computer 300 includes a central processing unit (CPU) 305 having a conventional microprocessor, random access memory (RAM) 310 for temporary storage of information, and read only memory (ROM) 315 for permanent storage of read only information. A memory controller 300 is provided for controlling system RAM 310. A bus controller 325 is provided for controlling a bus 330, and an interrupt controller 335 is provided for receiving and processing various interrupt signals from the other system components. Mass storage may be provided by known non-volatile storage media, such as a diskette 342, a digital versatile disk (not shown), a CD-ROM 347, or a hard disk 352. Data and software may be exchanged with the computer system 300 via removable media, such as the diskette 342 and the CD-ROM 347. The diskette 342 is insertable into a diskette drive 341, which utilizes a diskette drive controller 340 to interface with the bus 330. Similarly, the CD-ROM 347 is insertable into a CD-ROM drive 346, which utilizes a
CD-ROM drive controller 345 to interface with the bus 330. Finally, the hard disk 352 is part of a fixed disk drive 351, which utilizes a hard drive controller 350 to interface with the bus 330.
User input to the computer 300 may be provided by a number of devices. For example, a keyboard 356 and a mouse 357 may be connected to the bus 330 by a keyboard and mouse controller 355. An audio transducer 396, which may act as both a microphone and a speaker, is connected to the bus 330 by audio controller 397. It should be obvious to those reasonably skilled in the art that other input devices, such as a pen and/or tablet, may be connected to computer 300 through bus 330 and an appropriate controller. A direct memory access (DMA) controller 360 is provided for performing direct memory access to system RAM 310. A visual display may be generated by a video controller 365, which controls a graphics accelerator 367 and a display device 370. In preferred embodiments, the graphics accelerator 367 includes a WILDCAT™ video card, available from Intergraph Corporation. As is known in the art, the WILDCAT™ video card is configured for use with the OPENGL™ application program interface ("API") for rendering three dimensional ("3D") images on the display device 370. The OPENGL™ API also may be utilized to stereoscopicaliy display an item in accord with preferred embodiments of the invention.
A network adapter 390 also may be included to enable the computer system 300 to be interconnected to a network 395 via a network bus 391. The network 395, which may be a local area network (LAN), a wide area network (WAN), or the Internet, may utilize general purpose communication lines that interconnect a plurality of network devices.
The computer system 300 preferably is controlled and coordinated by operating system software, such as the WINDOWS NT® operating system (available from Microsoft Corp., of Redmond, Washington). Among other computer system control functions, the operating system controls allocation of system resources and performs tasks such as process scheduling, memory management, networking, and I/O services.
Figure 4 schematically shows several of the internal components of the graphics accelerator 367 shown in figure 3. In particular, the graphics accelerator 367 includes an input 400 for receiving graphics request code from the CPU 305, a geometry acceleration stage 402 for performing geometry acceleration on primitive vertices, a gradient producing stage 404 for producing gradients between primitive vertices, an incrementer 405 for adding pixels to selected primitives for improving their display, and a rasterization stage 406 for rasterizing the primitives. The rasterization stage 406 includes an output 408 to a frame buffer controller 410 that directs pixel data to either one of a left frame buffer 412 or a right frame buffer 414. The left frame buffer 412 includes data to be seen by a viewer's left eye, while the right frame buffer 414 includes data to be seen by a viewer's right eye.
The geometry acceleration stage 402 preferably is similar to that described in copending U.S. patent application number 09/353,495, filed July 15, 1999, the disclosure of which is incorporated herein, in its entirety, by reference. In a similar manner, the gradient producing stage 404 and rasterization stage 406 preferably are similar to those described in copending U.S. Provisional Patent application number 09/353,420, filed July 15, 1999, the disclosure of which also is incorporated herein, in its entirety, by reference. In alternative embodiments, each stage of the graphics accelerator 367 is a single application specific integrated circuit that is configured to perform its specified function.
Each stage of the graphics accelerator 367 may include one or more processing units for performing such stage's desired function.
In preferred embodiments, one or more rasterizers in the rasterization stage 406 are utilized with one or more incrementers 405 for stereoscopicaliy displaying a graphical image in accordance preferred embodiments of the invention. Moreover, the incrementers
405 may be located within one gradient producing unit, or distributed across several gradient producing units. Alternatively, the incrementers 405 may be external to the gradient producing units.
Figure 5 shows a process of rasterizing point and line primitives of a graphical image in accord with preferred embodiments of the invention. The process begins at step
500 in which graphics request code (e.g., in the OPENGL™ format) is received at the input 400 of the graphics accelerator 367. The graphics request code preferably represents an image to be displayed on the display device that is defined by a plurality of primitives. Among those primitives are point and line primitives. Once received, the geometry acceleration stage 402 calculates vertex attributes for the received point and line primitive request code in accord with conventional processes (step 502). In the case of a line primitive, the attribute values for the end-points of the line are calculated. In the case of a point primitive, the attribute values of the entire point primitive are calculated. Among the attributes calculated for each primitive are length and width values, which are defined in terms of pixels on the display device. The exact pixels on the display device to be lit for a primitive being processed, however, are not determined until such primitive is processed by the rasterization stage 406.
The request code (i.e., the originally received graphics request code and the vertex attribute data) then is forwarded to the gradient producing stage 404 for calculating gradient functions ("gradients") between endpoints of the primitives in accord with conventional processes (step 504). In the case of a line primitive, the gradients define the rate of change of attributes (e.g., color, transparency, etc . . .)between the line endpoints as a function of position. In the case of a point primitive, however, it is preferred that no gradients be produced since most significant attribute data was calculated by the geometry stage at step 502. After the gradients (if any) are produced, then the request code (i.e., the originally received graphics request code, the vertex attribute data, and gradient(s) ) is forwarded to the incrementer 405 for additional processing.
After receiving the request code, the incrementer 405 determines at step 506 if the graphics request code is to be processed in a "stereo" mode. Specifically, the graphics request code is preceded by a header having a field indicating whether or not request code following the control header is to be processed in the stereo mode. Accordingly, the incrementer 405 examines the header to determine if processing is to be in the stereo mode.
If determined to be in the stereo mode, then the process continues to step 508, in which one or more primitive processing register(s) (not shown) within the incrementer 405 are set in accord with the requirements specified in the control header. Among those requirements, of course, is an indication as to whether the graphical image is to be displayed in the stereo mode. In preferred embodiments, when determined to be in the stereo mode, all of the code following the header is processed in stereo mode until a subsequent control header with different display requirements is received.
The primitive processing registers are configured to set the mode in which the rasterization stage 406 is to process the request code. In the case of line primitives, for example, the primitive processing registers are 32-bits wide and include, among other things, fields for the width of each line, a stipple count, stipple repeating, and a single-bit stereo mode indicator. Accordingly, when the stereo mode field is set to a high value (i.e., a "1" value when the request code header indicates stereo mode processing), then the rasterization stage 406 operates in the stereo mode (e.g., a interlaced stereo mode or frame sequential mode, each of which is discussed below). In a similar manner, in the case of point primitives, the primitive processing registers also are 32-bits wide. The fields in such primitive processing registers may include the size of the point, and a single-bit stereo mode field. Like that field for the line primitive case, the stereo mode field is set to a high value to cause the rasterization stage 406 to operate in the stereo mode on the subsequently received point primitive request code for that point primitive.
Once the registers are set, then the process continues to step 510 in which rows of pixels are added to each received primitive (i.e., the request code) as necessary (discussed below with reference to figure 6). In preferred embodiments, when in the stereo mode, an additional row is added to all line primitives oriented in the X-direction, and to all point primitives. When added to point primitives, the center of the point primitive is changed to reflect the additional row. Accordingly, since one row is added to the top of a point primitive (i.e., added above the row with the highest Y value), then the center of the point primitive is moved 0.5 pixels in the positive Y-direction from its original location. Although changed in the Y direction, the center maintains its location in the X direction. The center of a point primitive is subsequently utilized to determine which actual pixels on the display device are to be illuminated. Details of preferred embodiments of adding rows to line primitives oriented in the X-direction are discussed below with reference to figure
6.
In alternative embodiments, an additional row is added to point primitives having an odd number of rows, and to all line primitives oriented in the X-direction. In still other embodiments, additional rows of pixels are added to all line primitives oriented in the X- direction that have line segments with an odd number of rows (see, for example, figure
2A). In other embodiments, the additional rows of pixels may be added by stepping across each column of the displayed line or point primitive, and adding a pixel to each column having an odd number of lit pixels. The incrementer 405 may execute these functions. For example, with a 3 x 3 point primitive, an additional row of three pixels may be added to the primitive (see figure 2A). The additional row may be added either above the top row of pixels, or below the bottom row of pixels. For the line primitive 202 shown in figure 2A, several of three pixels (i.e., the "x" pixels) are added immediately above each row of previously lit pixels ("o" pixels). As a further example, a single additional row of pixels may be added to a line primitive 202 that forms a zero degree angle against the horizontal. Like the other exemplary primitives, this additional row of pixels preferably is contiguous with the existing row of pixels.
After the rows of pixels are added, then the process continues to step 512 in which the modified primitives (i.e., with the extra rows of pixels) are rasterized by the rasterization stage 406 in accord with conventional processes. As previously noted, the rasterization stage 406 operates in the mode set in the primitive processing registers. To that end, the rasterization stage 406 reads the appropriate register(s) and generates pixel data that specifies attributes of specific pixels to be lit to display the primitive. The pixel data then is forwarded to the frame buffer controller 410, which determines how the pixel data for each pixel is to be stored (step 514). The appropriate frame buffer may be determined by examining a header associated with the pixel data that specifies whether the pixel is an odd or even pixel. The pixel data then is stored in the appropriate frame buffer (i.e., either the left frame buffer 412, or the right frame buffer 414) as specified by the buffer controller (step 516). Once in the specified frame buffer, the data may be displayed on the display device 370 as a stereo display. Returning to step 506, if it is determined that the primitives are not to be processed in the stereo mode, then the process continues to step 518, in which the primitive is processed in accord with conventional non-stereo processes. After executing this step, the process skips steps 508-516, thus completing the process.
In preferred embodiments, each primitive is processed serially in accord with the process shown in figure 5. Accordingly, the primitive processing registers are reset as each primitive is serially received by the incrementer 405. The rasterizer stage thus processes each primitive in the order received in accord with the specifications (i.e., requirements) stored in the appropriate primitive processing register(s).
When in the stereo mode, a person viewing the display 370 should wear polarized glasses to view the indicia on the display 370 in stereo. Such glasses are designed to ensure that the right eye can see one set of lines only (e.g., only the odd lines), while the left eye can see another, different set of lines only (e.g., only the even lines).
Figure 6 shows an exemplary process of adding rows to line primitives, as discussed in step 510 of figure 5. The process begins at step 600, in which it is determined if the line primitive ("subject line") is oriented in the X direction. The process ends if not oriented in the X direction and thus, no additional rows are added to the subject line.
Alternatively, if at step 600 it is determined that the subject line is oriented in the X direction, then the process continues to step 602, in which the width of the subject line is determined, and such width is incremented by one. To that end, the width of the subject line first is ascertained by accessing the primitive processing registers having that data.
Once the width is determined, then it is incremented as required.
The process then continues to step 604, in which a reference line is calculated. Specifically, in preferred embodiments, the pixels utilized to light the subject line are calculated based upon the reference line (see step 606, discussed below). When using an X-Y coordinate system on the display, the reference line is calculated as having the same slope as the subject line, and the same X values. Unlike the subject line, however, the Y values of the reference line are calculated according to the below equation:
Y= Yo ■ (determined width - 1 ) / 2
where Yo is the Y value of the subject line at a given point
By way of example, the Y value of a point of the reference line that corresponds with a point (of the subject line) having the coordinates (2,3) and a determined width of 5 will thus be calculated as 3 - (5-l)/2, which equals 1. Accordingly, a point having coordinates (2,3) on the subject line corresponds with a point having coordinates (2,1) on the reference line.
After the reference line is calculated, the process continues to step 606, in which the appropriate pixels to be lit at a subsequent time (steps 512-516 of the process in figure 5) are determined for the subject line. Once determined, the coordinates of these pixels are stored. To that end, the X-Y coordinates of each pixel through which the reference line passes first is determined. When the reference line passes through two pixels having the same X value, however, then the pixel having the lower Y value is utilized (i.e., such pixel's X-Y coordinates are utilized). The coordinates of these pixels then are stored to be subsequently lit (i.e., steps 512 to 516 of the process of figure 5), as well as the coordinates of various other pixels immediately above them (i.e., in the positive Y direction) up to the determined width.
Continuing with the above example, if one of the pixels intersecting the reference line (having a determined width of 5) is located at coordinates (2,1), then that pixel is stored, as well as the four pixels immediately following such pixel in the positive Y direction. Specifically, in addition to pixel (2,1), the coordinates of pixels (2,2), (2,3), (2,4), and (2,5) are stored. These pixels make up one column of pixels for the subject line.
It should be noted that although the reference line is below the subject line (i.e., in the negative Y direction), this process also can be utilized in a corresponding manner if the reference line is above the subject line (i.e., in the positive Y direction). Accordingly, when storing coordinates of pixels in this case, the coordinates of the intersected pixels are stored, as well as the coordinates of the other pixels in each respective column to be stored are immediately below the intersected pixels in the negative Y direction. In some embodiments, if the subject line is determined to be oriented in the Y direction, then normal processing continues. Specifically, the width is not incremented and thus, steps 604 and 606 are executed utilizing the non-incremented width.
Principles of preferred embodiments of the invention may be applied to other types of primitives, such as triangle and rectangle primitives. In a similar manner, preferred embodiments of the invention may be applied directly to graphical images that are not broken up into primitives. Accordingly, discussion of applying preferred embodiments of the invention to primitives is for exemplary purposes only and is not intended to limit the scope of the invention.
The display 370 may be any conventional type of display device that utilizes an electron gun for scanning the lines of the display. For example, the display 370 can be a cathode ray tube monitor, such as a INTERVIEW™ 24HD96 color monitor, distributed by Intergraph Corporation of Huntsville, Alabama. In general terms, however, the display 370 can be any display device that displays output graphical indicia in a series of lines. Accordingly, this includes liquid crystal displays, and head mounted display devices. As suggested above, the display 370 may be configured to operate in one of two different stereo modes; namely interlaced stereo mode and frame sequential mode. When in the interlaced stereo mode, the electron gun draws every other line per frame of graphical data. For example, the electron gun sequentially illuminates the even lines first, followed by the odd lines, followed by the even lines, etc . . . This process is very similar to conventional television video broadcast techniques, such as those defined by the
National Television Standards Committee (known as "NTSC format"), or the Phase Alternating Line format (known as "PAL format"). Conversely, when in the frame sequential mode, all lines are illuminated for each frame. For example, the first line is illuminated first, followed by the second line, and then the third line, etc . . . until the last line is illuminated. The process then repeats after the last line is illuminated. Although the frame sequence mode produces better visual output, it requires more memory than is required in the interlaced stereo mode. Accordingly, each stereo mode is utilized as dictated by system requirements.
In an alternative embodiment, the disclosed apparatus and method for stereoscopicaliy displaying graphical images may be implemented as a computer program product for use with a computer system. Such implementation may include a series of computer instructions fixed either on a tangible medium, such as a computer readable medium (e.g., a diskette, CD-ROM, ROM, or fixed disk) or transmittable to a computer system, via a modem or other interface device, such as a communications adapter connected to a network over a medium. The medium may be either a tangible medium
(e.g., optical or analog communications lines) or a medium implemented with wireless techniques (e.g., microwave, infrared or other transmission techniques). The series of computer instructions embodies all or part of the functionality previously described herein with respect to the system. Those skilled in the art should appreciate that such computer instructions can be written in a number of programming languages for use with many computer architectures or operating systems. Furthermore, such instructions may be stored in any memory device, such as semiconductor, magnetic, optical or other memory devices, and may be transmitted using any communications technology, such as optical, infrared, microwave, or other transmission technologies. It is expected that such a computer program product may be distributed as a removable medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the network (e.g., the Internet or World Wide Web). Of course, some embodiments of the invention may be implemented as a combination of both software (e.g., a computer program product) and hardware. Still other embodiments of the invention are implemented as entirely hardware, or entirely software (e.g., a computer program product).
Although various exemplary embodiments of the invention have been disclosed, it should be apparent to those skilled in the art that various changes and modifications can be made which will achieve some of the advantages of the invention without departing from the true scope of the invention. These and other obvious modifications are intended to be covered by the appended claims.

Claims

We claim:
1. A graphics processor for preparing a primitive for display on a display device, the display device having a plurality of rows and columns of pixels, the graphics processor comprising: an input that receives a message indicating that the primitive is to be stereoscopicaliy displayed on the display device; and an incrementer operatively coupled with the input, the incrementer adding a row of pixels to the primitive after the input receives the message.
2. The graphics processor as defined by claim 1 wherein the primitive is a line primitive oriented in the X-direction.
3. The graphics processor as defined by claim 2 wherein the line primitive is aliased to include a plurality of steps, wherein the incrementer adds one additional row of pixels to each of the plurality of steps of the line primitive.
4. The graphics processor as defined by claim 1 wherein the message is a header of graphics request code.
5. The graphics processor as defined by claim 1 wherein the primitive is a point primitive.
6. The graphics processor as defined by claim 5 further comprising: a counting processor that counts the number of rows in the point primitive to produce a row count.
7. The graphics processor as defined by claim 6 wherein the incrementer adds a row of pixels to the point primitive if the row count is an odd number only.
8. The graphics processor as defined by claim 7 wherein the incrementer does not add a row of pixels to the point primitive if the row count is an even number.
9. A method of preparing a primitive for display on a display device, the display device having a plurality of rows and columns of pixels, the method comprising: determining that the primitive is to be stereoscopicaliy displayed on the display device; and adding a row of pixels to the primitive after it is determined that the primitive is to be stereoscopicaliy displayed on the display device.
10. The method as defined by claim 9 wherein the primitive is a line primitive oriented in the X-direction.
11. The method as defined by claim 10 wherein the line primitive is aliased to include a plurality of steps, wherein one additional row of pixels is added to each of the plurality of steps of the line primitive.
12. The method as defined by claim 9 wherein the primitive is determined to be in stereo mode if a header is received that includes data indicating that the primitive is to be stereoscopicaliy displayed.
13. The method as defined by claim 9 wherein the primitive is a point primitive.
14. The method as defined by claim 13 further comprising: counting the number of rows in the point primitive to produce a row count.
15. The method as defined by claim 14 a row of pixels is added to the point primitive if the row count is an odd number only.
16. A computer program product for use on a computer system for preparing a primitive for display on a display device, the display device having a plurality of rows and columns of pixels, the computer program product comprising a computer usable medium having computer readable program code thereon, the computer readable program code comprising: program code for determining that the primitive is to be stereoscopicaliy displayed on the display device; and program code for adding a row of pixels to the primitive after it is determined that the primitive is to be stereoscopicaliy displayed on the display device.
17. The computer program product as defined by claim 16 wherein the primitive is a line primitive oriented in the X-direction.
18. The computer program product as defined by claim 17 wherein the line primitive is aliased to include a plurality of steps, wherein one additional row of pixels is added to each of the plurality of steps of the line primitive.
19. A method of improving the visual appearance of a graphical image for subsequent display on a display device having a plurality of pixels, the graphical image being comprised of a plurality of primitives, each primitive having an associated width, the method comprising: receiving graphics request code representing the plurality of primitives; determining if the plurality of primitives are to be displayed in a stereoscopic display mode; and increasing the width, by one pixel, of a set of the plurality of primitives if the plurality of primitives is determined to be in the stereoscopic display mode.
20. The method as defined by claim 19 further including: processing the set of the plurality of primitives for stereo display on a display device.
21. The method as defined by claim 19 wherein the set of the plurality of primitives includes a point primitive.
22. The method as defined by claim 19 wherein the set of the plurality of primitives includes a line primitive oriented in the X-direction.
23. The method as defined by claim 19 wherein the display device includes an electron gun having a scan direction, the width of the primitives being transverse to the scan direction of the display device.
24. A computer program product for use on a computer system for improving the visual appearance of a graphical image for subsequent display on a display device having a plurality of pixels, the graphical image being comprised of a plurality of primitives, each primitive having an associated width, the computer program product comprising a computer usable medium having computer readable program code thereon, the computer readable program code comprising:: program code for receiving graphics request code representing the plurality of primitives; program code for determining if the plurality of primitives are to be displayed in a stereoscopic display mode; and program code for increasing the width, by one pixel, of a set of the plurality of primitives if the plurality of primitives is determined to be in the stereoscopic display mode.
25. The computer program product as defined by claim 24 further including: program code for processing the set of the plurality of primitives for stereo display on a display device.
26. The computer program product as defined by claim 24 wherein the set of the plurality of primitives includes a point primitive.
27. The computer program product as defined by claim 24 wherein the set of the plurality of primitives includes a line primitive oriented in the X-direction.
28. The computer program product as defined by claim 24 wherein the display device includes an electron gun having a scan direction, the width of the primitives being transverse to the scan direction of the display device.
29. A apparatus for improving the visual appearance of a graphical image for subsequent display on a display device having a plurality of pixels, the graphical image being comprised of a plurality of primitives, each primitive having an associated width, the apparatus comprising: an input that receives the graphics request code representing the plurality of primitives; a stereo module operatively coupled with the input, the stereo module determining if the plurality of primitives are to be displayed in a stereoscopic display mode; and an incrementer operatively coupled with the stereo module, the incrementer increasing the width, by one pixel, of a set of the plurality of primitives if the plurality of primitives is determined to be in the stereoscopic display mode.
30. The apparatus as defined by claim 29 further including: a processor operatively coupled with the incrementer, the processor processing the set of the plurality of primitives for stereo display on a display device.
31. The apparatus as defined by claim 29 wherein the set of the plurality of primitives includes a point primitive.
32. The apparatus as defined by claim 29 wherein the set of the plurality of primitives includes a line primitive oriented in the X-direction.
33. The apparatus as defined by claim 29 wherein the display device includes an electron gun having a scan direction, the width of the primitives being transverse to the scan direction of the display device.
PCT/US2000/008000 1999-04-05 2000-03-24 Graphics processor for stereoscopically displaying a graphical image WO2000060543A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12778999P 1999-04-05 1999-04-05
US60/127,789 1999-04-05

Publications (1)

Publication Number Publication Date
WO2000060543A1 true WO2000060543A1 (en) 2000-10-12

Family

ID=22431957

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2000/008000 WO2000060543A1 (en) 1999-04-05 2000-03-24 Graphics processor for stereoscopically displaying a graphical image

Country Status (1)

Country Link
WO (1) WO2000060543A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0406084A2 (en) * 1989-06-28 1991-01-02 Mita Industrial Co., Ltd. Shadow-added image formation device
JPH0721406A (en) * 1993-06-21 1995-01-24 Ricoh Co Ltd Stereoscopic image processor
WO1996041311A2 (en) * 1995-06-07 1996-12-19 Geshwind David M Stereoscopic interactive painting
US5886701A (en) * 1995-08-04 1999-03-23 Microsoft Corporation Graphics rendering device and method for operating same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0406084A2 (en) * 1989-06-28 1991-01-02 Mita Industrial Co., Ltd. Shadow-added image formation device
JPH0721406A (en) * 1993-06-21 1995-01-24 Ricoh Co Ltd Stereoscopic image processor
WO1996041311A2 (en) * 1995-06-07 1996-12-19 Geshwind David M Stereoscopic interactive painting
US5886701A (en) * 1995-08-04 1999-03-23 Microsoft Corporation Graphics rendering device and method for operating same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PATENT ABSTRACTS OF JAPAN vol. 1995, no. 04 31 May 1995 (1995-05-31) *

Similar Documents

Publication Publication Date Title
CA2423497C (en) Method and apparatus for the anti-aliasing supersampling
EP3129974B1 (en) Gradient adjustment for texture mapping to non-orthonormal grid
EP3129976B1 (en) Varying effective resolution by screen location by altering rasterization parameters
US7884825B2 (en) Drawing method, image generating device, and electronic information apparatus
US6144387A (en) Guard region and hither plane vertex modification for graphics rendering
US20060214949A1 (en) Compositing images using logically divided object space
US20060244760A1 (en) Full-scene anti-aliasing method and system
EP3129973A1 (en) Gradient adjustment for texture mapping for multiple render targets with resolution that varies by screen location
WO2015153165A1 (en) Varying effective resolution by screen location by changing active color sample count within multiple render targets
US9030478B2 (en) Three-dimensional graphics clipping method, three-dimensional graphics displaying method, and graphics processing apparatus using the same
WO2000013147A1 (en) System and method for combining multiple video streams
US20070206027A1 (en) Method And Related Apparatus For Image Processing
JP2002503854A (en) Estimating graphics system performance for polygons
US7656416B2 (en) Apparatus for generating anti-aliased and stippled 3d lines, points and surfaces using multi-dimensional procedural texture coordinates
JP2009163724A (en) Graphics interface, method for rasterizing graphics data and computer readable recording medium
US6441818B1 (en) Image processing apparatus and method of same
US6501474B1 (en) Method and system for efficient rendering of image component polygons
US6731301B2 (en) System, method and program for computer graphics rendering
US20040075657A1 (en) Method of rendering a graphics image
US6674440B1 (en) Graphics processor for stereoscopically displaying a graphical image
US8098264B2 (en) Method and apparatus for rendering computer graphics primitive
WO1999064990A2 (en) System for reducing aliasing on a display device
US11302054B2 (en) Varying effective resolution by screen location by changing active color sample count within multiple render targets
US10388060B2 (en) System and method for multi-view rendering
WO2000060543A1 (en) Graphics processor for stereoscopically displaying a graphical image

Legal Events

Date Code Title Description
AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase