×

Method and apparatus for generating images simulating non-homogeneous fog effects

  • US 5,535,374 A
  • Filed: 04/17/1995
  • Issued: 07/09/1996
  • Est. Priority Date: 05/12/1990
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for simulating the effects of non-homogeneous fog in an image displayed on a screen, the image being intended to represent the appearance of a model defined in a database in world space coordinates from an eyepoint position in said world space coordinates, and the model being defined in terms of a plurality of features having predetermined attributes, said method comprising the following steps:

  • a) defining a non homogeneous fog structure in world space coordinates as a series of parallel strata of predetermined extinction coefficients,b) determining a position relative to the defined parallel strata of the eyepoint,c) determining a position relative to the defined parallel strata of a feature which may contribute to the image,d) determining a distance from the eyepoint to the feature,e) calculating an average value of the extinction coefficient between the eyepoint and the feature from the defined parallel strata located between the eyepoint and the feature,f) modulating said attributes as a function of said distance and a calculated average value of the extinction coefficient,the average value of the extinction coefficient between the eyepoint and the feature being calculated by;

    calculating and storing average extinction coefficient values for each of a series of distances from the eyepoint in a direction perpendicular to the parallel strata,calculating the distance from the eyepoint to the feature in the direction perpendicular to the parallel strata, andlooking up the stored average extinction coefficient corresponding to said distance from eyepoint to feature,the non-homogeneous fog structure being defined in the model by a series of sample extinction coefficients, each corresponding to the extinction coefficient at a respective one of a series of parallel equally spaced sample planes,the non-homogeneous fog structure being redefined with reference to the eyepoint by a series of average extinction coefficients each corresponding to the average extinction coefficient between the eyepoint and a respective resample plane, the resample planes being parallel to and equally spaced to the said sample planes and one of the resample planes passing through the eyepoint, andeach resampled average extinction coefficient being stored at an address corresponding to a distance from the eyepoint to the resample plane to which that coefficient is related,wherein the position of the eyepoint relative to the defined parallel strata is determined from a dot product of a vector representing a direction from the eyepoint to an origin of the parallel strata and a vector representing an axis perpendicular to the parallel strata.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×