×

System and method for efficiently determining a fog blend value in processing graphical images

  • US 5,724,561 A
  • Filed: 11/03/1995
  • Issued: 03/03/1998
  • Est. Priority Date: 11/03/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for determining a fog value for a pixel in a computer system having a memory, the fog value based upon an exponential fog function, the method comprising the steps of:

  • receiving a first value representing an inverse of a depth component of the pixel, said first value having a first portion and a second portion;

    generating a floating point signal of said second portion having the steps of;

    identifying a second value equal to the number of binary zeros preceding the first binary one in the second portion;

    repeatedly shifting a most significant bit of said second portion a first number of times to generate a shifted value, said first number of times one greater than said second value;

    performing a complement operation on said shifted value to generate a complement value;

    concatenating said second value and a portion of said complement value to generate said floating point signal;

    setting said floating point signal to zero if all bits in said first portion are not equal to a third value; and

    setting said floating point signal equal to a value comprised of all binary ones if a first number of most significant bits in said second portion are all equal to a fourth value; and

    determining the fog value using said floating point signal.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×