Patent ID: 8462157
Filing Date: 2013-06-11
Classification: G06T

Abstract:
1. A computer-implemented method for generating pre-computed lighting data used to compute a lighting irradiance from a disk light source at a receiver point, the method comprising: generating, by operation of one or more computer processors, a first table for a plurality of points within a radius of the disk light source, wherein one or more entries in the first table stores a first set of spherical harmonics (SH) coefficients; generating, by operation of the one or more computer processors, a second table for a plurality of points outside of the radius of the disk light source, wherein one or more entries in the second table stores a second set of SH coefficients; storing the first table in a first texture parameterized by (i) a cosine of an angle (θ) measured between a normal of the disk light source and by a vector (D) from the center of the disk light source to a given one of the first plurality of points and (ii) a distance d measured from the center of the disk light source to the given one of the first plurality of points; and storing the second table in a second texture parameterized by (i) a cosine of an angle (θ) measured between the normal of the disk light source and by a vector (D) from the center of the disk light source to a given one of the second plurality of points and (ii) a ratio of 1 to a distance d (1/d) measured from the center of the disk light source to the given of the second plurality of points.