×

System and method for coloring polygon using dithering

  • US 5,573,402 A
  • Filed: 11/21/1994
  • Issued: 11/12/1996
  • Est. Priority Date: 05/22/1992
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer having a video display and a storage, a method of hazing a plurality of polygons, comprising the steps of:

  • selecting one of the polygons from the storage;

    calculating a haze value as;

    
    
    space="preserve" listing-type="equation">haze value=(z*kval)/dimvalwherez is the distance between a camera position and the selected polygon,kval is a constant, anddimval is the distance for full hazing;

    calculating a shade value as the dot product of a sun vector and the normal to the polygonal plane;

    indexing a dither table with the haze and shade values for dither color offsets;

    adding a base color to the dither color offsets for dither colors;

    determining a dither pattern of dither colors based on the position of the selected polygon; and

    drawing the selected polygon on the video display using the dither pattern.

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