×

Method for coloring a polygon on a video display

  • US 5,415,549 A
  • Filed: 03/21/1991
  • Issued: 05/16/1995
  • Est. Priority Date: 03/21/1991
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of coloring a polygon for simulating atmospheric conditions in a system having a processor, a memory, an input device, and a display device, comprising the steps of:

  • selecting an atmospheric condition;

    selecting characteristics corresponding to the selected atmospheric condition;

    selecting at least one polygon to be displayed in response to the input device;

    selecting a minimum dimming distance (dimval) which is the minimum distance that an observer must be from the selected polygon before the display of the polygon is affected by the atmospheric condition;

    selecting a color palette for the polygon wherein each color of the palette is associated with a different distance from the polygon and with an angle with a light source;

    storing the color palette in the memory;

    selecting characteristics of a plurality of light sources in a simulated universe;

    producing values (A) representative of the relationship between the selected characteristics of the light sources and the normal to the polygon;

    selecting a point on the polygon;

    calculating the distance (Z) between the observer and the selected point;

    comparing the distance (Z) to the minimum dimming distance (dimval);

    modifying the values (A) by a function of the dimming distance (dimval) and a selected one of the characteristics of the atmospheric condition if the distance (Z) is greater than the dimming distance (dimval);

    producing an index in response to the modified values;

    selecting a color from the color palette by addressing the memory in response to the index;

    modifying the selected polygon in response to the selected color to represent a hazed condition; and

    displaying the polygon on the display device using the selected color.

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