Patent ID: 7019744

Claim:
A method for rendering an object comprises: performing shading calculations to determine diffuse illumination values for a plurality of surface points on the object; associating a three-dimensional grid with the object, wherein the three-dimensional grid includes a plurality of vertices, wherein the plurality of vertices define a plurality of voxels, and wherein each voxel includes at least a portion of the object; determining diffuse illumination values for at least a subset of vertices in response to the diffuse illumination values for the plurality of surface points on the object, wherein the subset of vertices is associated with a subset of voxels, and wherein each voxel in the subset of voxels includes one or more diffuse illumination values for one or more surface points on the object; performing one or more low pass filter operations on the diffuse illumination values for the subset of vertices to determine diffuse illumination compensation values for vertices in the subset of vertices; and determining compensated diffuse illumination values for the plurality of surface points on the object in response to the diffuse illumination values for the plurality of surface points and in response to the diffuse illumination compensation values for the vertices in the subset of vertices.