Patent ID: 7952581

Claim:
A machine-implemented method for accounting for an effect of scaling on properties of light in a lighting model, the machine-implemented method comprising: transforming sample points of the lighting model, the transforming including uniformly changing a scale of the lighting model to produce a uniformly scaled lighting model; and computing an attenuation of light from a light source at a plurality of sample points corresponding to points on a surface of an object in the uniformly scaled lighting model according to 1 ( C + D × L X + D 2 × Q X ) , where C is a constant attenuation of the light from the light source, L is a linear attenuation of the light from the light source, Q is a quadratic attenuation of the light from the light source, D is a distance from the light source to a sample point on a surface of an object, and X is a value based on a transform matrix for uniformly changing the scale of the lighting model, wherein the machine-implemented method is performed by a processing device.