Apparatus for fixed-point graphics and method therefor

Computer graphics processing and selective visual display system – Computer graphics processing – Attributes

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C345S426000, C345S503000, C708S204000, C708S208000

Reexamination Certificate

active

06559856

ABSTRACT:

TECHNICAL FIELD
The present invention relates in general to data processing systems, and in particular, to the rendering of graphics objects using fixed-point arithmetic.
BACKGROUND INFORMATION
Graphics application programming interfaces (APIs) commonly implemented in data processing systems, particularly personal computers (PCS), and workstations allow an application to define lighting parameters as floating-point numbers. Consequently, the graphics hardware, or engine, generates the lighting values in response to an underlying lighting model using floating-point operations. These lighting values are then loaded into a frame buffer, which drives a display device, as fixed-point numbers having a predetermined number, n, of bits. For example, the data values in the frame buffer may be eight-bit values corresponding to 256 color levels.
In the graphics hardware, it is faster and less expensive from a resource standpoint to perform fixed-point operations rather than floating-point operations. Thus, there is a need in the art for an apparatus and method for performing graphics lighting using fixed-point operations, without suffering a loss of accuracy relative to graphics lighting performed using floating-point calculations.
SUMMARY OF THE INVENTION
The aforementioned needs are addressed by the present invention. Accordingly there is provided, in a first form, a fixed-point graphics apparatus. The apparatus contains first logic that is operable for converting a first operand to a first fixed point data value having a preselected number of bits. The first logic generates the first fixed point data value using a first predetermined scaling in response to the preselected number of bits. The apparatus further includes second logic that is operable for converting a second operand to a second fixed point data value having the preselected number of bits. The second logic generates the second fixed point data value using a second predetermined scaling in response to the preselected number of bits and a number of bits in a color data value. The first and second fixed point data values are operable for generating a color data value in accordance with a preselected lighting model.
There is also provided, in a second form, a fixed-point graphics method. The method includes converting a first operand to a first fixed point data value having a preselected number of bits. The method converts using a first predetermined scaling in response to the preselected number of bits. A second operand is converted to a second fixed point data value having the preselected number of bits using a second predetermined scaling in response to the preselected number of bits and a number of bits in a color data value. The first and second fixed point data values are operable for generating a color data value in accordance with a preselected lighting model.
Additionally, there is provided, in a third form, a data processing system. The data processing system contains a memory, a central processing unit (CPU), and a fixed-point graphics unit. The fixed-point graphics unit is operable for receiving one or more first and second floating point operands from the CPU in response to at least one of the instructions stored in the memory which corresponds to a preselected graphics application programming interface (API). The fixed point graphics unit includes logic operable for converting the first operands to corresponding fixed point data values having a preselected number of bits. The logic generates the fixed point data value using a predetermined scaling in response to the preselected number of bits. The fixed-point unit also includes logic operable for converting the second operands to corresponding second fixed point data values having the preselected number of bits. The second fixed point data values are generated by the logic using a second predetermined scaling in response to the preselected number of bits and a number of bits in a color data value. The first and second fixed point data values are operable for generating a color data value in accordance with a preselected lighting model corresponding to the API.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention.


REFERENCES:
patent: 5561615 (1996-10-01), Kuo et al.
patent: 5905663 (1999-05-01), Nash
patent: 5936629 (1999-08-01), Brown et al.
patent: 6049343 (2000-04-01), Abe et al.
patent: 6141013 (2000-10-01), Nelson et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Apparatus for fixed-point graphics and method therefor does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Apparatus for fixed-point graphics and method therefor, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Apparatus for fixed-point graphics and method therefor will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3074295

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.