This page gives an overview of the Irradiance map process. For information on how to use an irradiance map in a scene, please see the Irradiance map settings page.
Page Contents
|
In V-Ray, the term irradiance map refers to a method of efficiently computing the diffuse surface irradiance for objects in the scene. Since not all parts of the scene have the same detail in indirect illumination, it makes sense to compute GI more accurately in the important parts (e.g. where objects are close to each other, or in places with sharp GI shadows), and less accurately in large, uniformly lit areas. The irradiance map is therefore built adaptively. This is done by rendering the image several times (each rendering is called a pass) with the rendering resolution being doubled with each pass. The idea is to start with a low resolution (say a quarter of the resolution of the final image) and work up to the final image resolution.
The irradiance map is in fact a collection of points in 3D space (a point cloud) along with the computed indirect illumination at those points. When an object is hit during a GI pass, V-Ray looks into the irradiance map to see if there are any points similar in position and orientation to the current one. From those already computed points, V-Ray can extract various information (i.e. if there are any objects close by, how fast the indirect illumination is varying etc). Based on that information, V-Ray decides if the indirect illumination for the current point can be adequately interpolated from the points already in the irradiance map, or not. If not, the indirect illumination for the current point is computed, and that point is stored in the irradiance map. During the actual rendering, V-Ray uses a sophisticated interpolation method to derive an approximation of the irradiance for all surfaces in the scene.
The diagram above shows the way the Irradiance map is generated. The Irradiance map method can only be selected as the Engine for Primary bounces; it is not available for Secondary bounces.Since the method is view-dependent, the first rays (the black lines in the diagram) are traced from the camera into the scene in order to determine the placement of the irradiance samples. Once this is done, GI rays (red) are traced from the samples into the scene in order to determine the illumination coming from the environment. The number of traced rays is determined by the Subdivs parameter. The irradiance map only traces one bounce of light. All additional bounces (blue) are traced by the secondary engine. The irradiance map is created on several passes - each pass adding more samples where this is needed. During rendering, for each rendered point, V-Ray takes several samples from the already complete irradiance map and interpolates between them in order to create a smooth GI solution. The number of samples taken is determined by the Interp. samples parameter.
|