摘要 |
In an importance map of the scene that is generated to correspond to the two-dimensional map, a composite region is set such that the summation of the importances becomes a predetermined value for each of the predetermined number of composite virtual lights, and for each of the predetermined number of composite virtual lights, a parameter of the composite virtual light is decided based on a region of the two-dimensional map that corresponds to the composite region that was set. Here, the composite region is set so that a value obtained by totaling, for the predetermined number of the composite virtual lights, the summation of the importances for the composite region set for each composite virtual light, corresponds to a summation of the importances of entire region of the importance map. |
主权项 |
1. A non-transitory computer-readable recording medium on which is recorded a program for causing a computer to, for a luminance computation performed based on a two-dimensional map indicating a space distribution, of a plurality of virtual lights determined for a global illumination of a scene, and a parameter of each virtual light, the luminance computation being performed to approximate the plurality of virtual lights to a smaller predetermined number of composite virtual lights, perform processing to decide a parameter of each of the predetermined number of composite virtual lights,
wherein the program comprises: processing for obtaining an importance map of the scene that is generated to correspond to the two-dimensional map, the importance map having a data structure from which a summation of importances of a requested region can be obtained; processing for setting in the importance map a composite region such that the summation of the importances becomes a predetermined value for each of the predetermined number of composite virtual lights; and processing for deciding, for each of the predetermined number of composite virtual lights, a parameter of the composite virtual light based on a region of the two-dimensional map that corresponds to the set composite region, wherein a value obtained by totaling, for each of the predetermined number of the composite virtual lights, the summation of the importances for the composite region set for each composite virtual light, corresponds to a summation of the importances of entire region of the importance map. |