EP0910044A2

Method and apparatus for compositing colors of images with memory constraints

Abstract

A method and an apparatus determine a color for pixels in a graphics system in which images are defined by pixels. Multiple fragments of an image may be visible in any given pixel. Each visible fragment has a fragment value that includes the color of that fragment. For such given pixel, up to a predetermined number of the fragment values are stored. When a new fragment is visible in the given pixel, one of the fragment values is discarded to determine which fragment values are stored and subsequently used to generate the color of the pixel. The discarded fragment value may be the new fragment value or one of the stored fragment values. Various strategies can be used to determine which fragment value is discarded. One such scheme selects the stored fragment value with the greatest Z-depth. Another scheme selects the stored fragment value that produces the smallest color difference from the new fragment value. Still another scheme selects the new fragment value when one of the fragments is in front of the new fragment and the stored fragment value of that fragment produces the smallest color difference from the new fragment value.

EP0910044A2, drawing sheet 1
Sheet 1 of 14

Term

Term ended

Projected expiry passed 24 September 2018, 8 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

15 claims: 4 independent, 11 dependent

  1. 1
    A computerized method for determining a color of a pixel of an image, comprising the steps of:storing up to a predetermined number of fragment values, each stored fragment value being associated with a fragment that is visible in the pixel;determining that a new fragment is visible in the pixel with at least one other fragment with a stored fragment value still being visible in the pixel, the new fragment having a new fragment value;and discarding the fragment value of one of the visible fragments to determine which fragment values are stored and subsequently used to generate the color of the pixel.
  2. 13
    A computerized method for determining a color of a pixel of an image, comprising the steps of:associating a set of fragment values with the pixel, each fragment value in the set corresponding to a fragment that is visible when the pixel is rendered;and using a subset of the fragment values to generate the color of the pixel, a number of fragment values in the subset being less than a number of fragment values in the set.
  3. 14
    An apparatus for determining a color of a pixel, comprising:means for storing up to a predetermined number of fragment values, each stored fragment value being associated with a fragment of an image that is visible in the pixel;means for determining that a new fragment is visible in the pixel with at least one other fragment with a stored fragment value still being visible in the pixel, the new fragment having a new fragment value;and means for discarding the fragment value of one of the visible fragments to determine which fragment values are stored and subsequently used to generate the color of the pixel.
  4. 15
    An apparatus for determining a color of a pixel, comprising:memory storing up to a predetermined number of fragment values for the pixel, each stored fragment value being associated with a fragment of an image that is visible in the pixel;and a graphics device coupled to the memory, the graphics device determining that a new fragment is visible in the pixel with at least one other fragment with a stored fragment value still being visible in the pixel, the new fragment having a new fragment value, the graphics device discarding the fragment value of one of the visible fragments to determine which fragment values are stored and subsequently used to generate the color of the pixel.