Method and apparatus for generating images simulating non-homogeneous fog effects
First Claim
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.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for simulating the effect of non-homogeneous fog in an image displayed on a screen. The image is intended to represent the appearance of a model defined in a database in world space coordinates from an eyepoint position in world space, the model being defined in terms of individual features each having predetermined attributes defining the position and visible characteristics of the feature. Image data is derived from the model for each of an array of sampling points distributed across screen space. A non-homogeneous fog structure is defined in world space coordinates as a series of parallel strata of predetermined extinction coefficients. The positions of the eyepoint and a feature to be displayed relative to the fog structure are determined. The distance from the feature to the eyepoint is calculated. An average value of the extinction coefficients between the eyepoint and the feature is calculated from the defined parallel strata, and the attributes are modulated as a function of the calculated distance and the calculated average value of the extinction coefficients.
-
Citations
3 Claims
-
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, and looking 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, and each 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. - View Dependent Claims (2, 3)
-
Specification