Trinity3D.com
Buy online or call 1-800-548-1578
Home Contact Us Downloads Free Tutorials Animation Production  

 
   

Bookmark and Share  



  VRay Categories   Categories

VRay for 3ds Max
VRay for Max EDU
VRay for Maya
VRay RealTime
VRay for Rhino
VRay for SketchUp
VRay for Cinema4D
Standalone
Bundles
Learn VRay Interiors
Learn VRay Exteriors


Animation Production
Ultra Render Farm
Photosimulation


  VRay Resources   VRay Resources

1. Free VRay Demo
2. Free VRay Tools
3. Free VRay Tutorials
4. VRay Documentation
5. VRay Tips and Tricks
6. VRay Gallery


  VRay Bestsellers   Bestsellers

1. VRay Renderer
2. VRay Bundle
3. VRay Super Bundle
4. VRay Educational
5. Learn VRay Bundle
6. VRay RT


     Special
Gift certificates


     Help

Contact us

800-548-1578 - (US)
816-525-0103 - (International)

email: sales@trinity3d.com


Privacy statement
Terms & Conditions


  What's New   What's New

Archinteriors Bundle

Save Big with Evermotion Bundles

ArchModels, ArchInteriors, and/or ArchExteriors

1. ArchBundles 2-Pack
2. ArchBundles 3-Pack
3. ArchBundles 4-Pack
4. ArchBundles 6-Pack
5. Archinteriors Vol 1 - Vol 5 Bundle
6. Archinteriors Ultra Bundle


     Ballistic

Inspiration Unleashed

Massive Black

Ballistic Publishing Books - Massive Black

d'artiste Digital Painting

Ballistic Publishing Books - Digital Painting

d'artiste Character Modeling

Ballistic Publishing - Character Modeling

d'artiste Character Modeling Vol. 2

Ballistic Publishing - Character Modeling 2

d'artiste Character Modeling Vol. 3

Ballistic Publishing - Character Modeling 3

Expose 7

Ballistic Publishing - Essence the Face


     Newsletter

Subscribe to our Newsletter!

Trinity3D.com Newsletter

Subscribe to our newsletter and receive new product announcements, special sales, coupons and more! Your email address is never shared, is always kept strictly confidential and you can unsubscribe at any time.

Trinity3D.com Newsletter
 

* Your Email Address

 

 


  VRay Home  ::  VRay Documentation Home ::  VRay Renderer Parameters  ::  VRay Indirect Illumination Examples

  Buy VRay
VRay
Buy VRay - $899
 

Buy VRay (Educational Version) $240


Buy VRay - Bundle $999


Buy VRay - Super Bundle $1135


General

Approaches to indirect illumination

VRay implements several approaches for computing indirect illumination with different trade-offs between quality and speed:

  • Direct computation - this is the simplest approach; indirect illumination is computed independently for each shaded surface point by tracing a number of rays in different directions on the hemisphere above that point.

    Advantages:
    • this approach preserves all the detail (e.g. small and sharp shadows) in the indirect lighting;
    • direct computation is free from defects like flickering in animations;
    • no additional memory is required;
    • indirect illumination in the case of motion-blurred moving objects is computed correctly.
       
    Disadvantages:
    • the approach is very slow for complex images (e.g. interior lighting);
    • direct computation tends to produce noise in the images, which can be avoided only by shooting a larger number of rays, thus slowing it even more.
       
  • Irradiance map - this approach is based on irradiance caching; the basic idea is to compute the indirect illumination only at some points in the scene, and interpolate for the rest of the points.

    Advantages:
    • the irradiance map is very fast compared to direct computation, especially for scenes with large flat areas;
    • the noise inherent to direct computation is greatly reduced;
    • the irradiance map can be saved an re-used to speed up calculations of different views for the same scene and of fly-through animations;
    • the irradiance map can also be used to accelerate direct diffuse lighting from area light sources.
       
    Disadvantages:
    • some details in indirect lighting can be lost or blurred due to the interpolation;
    • if low settings are used, flickering may occur when rendering animations;
    • the irradiance map requires additional memory;
    • indirect illumination with motion-blurred moving objects is not entirely correct and may lead to noise (although in most cases this is not noticeable).
       
  • Photon map - this approach is based on tracing particles starting from the light sources and bouncing around the scene. This is useful for interior or semi-interior scenes whith lots of lights or small windows. The photon map usually does not produce good enough results to be used directly; however it can be used as a rough approximation to the lighting in the scene to speed the calculation of GI through direct computation or irradiance map.

    Advantages:
    • the photon map can produce a rough approximation of the lighting in the scene very quickly;
    • the photon map can be saved an re-used to speed up calculation of different views for the same scene and of fly-through animations;
    • the photon map is view-independent.
       
    Disadvantages:
    • the photon map usually is not suitable for direct visualization;
    • requires additional memory;
    • in VRay's implementation, illumination involving motion-blurred moving objects is not entirely correct (although this is not a problem in most cases).
    • the photon map needs actual lights in order to work; it cannot be used to produce indirect illumination caused by environment lights (skylight).
       
  • Light map - light mapping is a technique for approximating the global illumination in a scene. It is very similar to photon mapping, but without many of its limitations. The light map is built by tracing many many eye paths from the camera. Each of the bounces in the path stores the illumination from the rest of the path into a 3d structure, very similar to the photon map. The light map is a universal GI solution that can be used for both interior or exterior scenes, either directly or as a secondary bounce approximation when used with the irradiance map or the direct GI method.

    Advantages:
    • the lightmap is easy to set up. We only have the camera to trace rays from, as opposed to the photon map, which must process each light in the scene and usually requires separate setup for each light.
    • the light-mapping approach works efficiently with any lights - including skylight, self-illuminated objects, non-physical lights, photometric lights etc. In contrast, the photon map is limited in the lighting effects it can reproduce - for example, the photon map cannot reproduce the illumination from skylight or from standard omni lights without inverse-square falloff.
    • the light map produces correct results in corners and around small objects. The photon map, on the other hand, relies on tricky density estimation schemes, which often produce wrong results in these cases, either darkening or brightening those areas.
    • in many cases the light map can be visualized directly for very fast and smooth previews of the lighting in the scene.

    Disadvantages:

    • like the irradiance map, the light map is view-dependent and is generated for a particular position of the camera. However, it generates an approximation for indirectly visible parts of the scene as well - for example, one light map can approximate completely the GI in a closed room;
    • currently the light map works only with VRay materials;
    • like the photon map, the light map is not adaptive. The irradiance is computed at a fixed resolution, which is determined by the user;
    • the light map does not work very well with bump maps; use the irradiance map or direct GI if you want to achieve better results with bump maps.
    • lighting involving motion-blurred moving objects is not entirely correct, but is very smooth since the lightmap blurs GI in time as well (as opposed to the irradiance map, where each sample is computed at a particular instant of time).

Which method to use? That depends on the task at hand. The Examples section can help you in choosing a suitable method for your scene.

Primary and secondary bounces

The indirect illumination controls in VRay are divided into two large sections: controls concerning primary diffuse bounces and controls concerning secondary diffuse bounces. A primary diffuse bounce occurs when a shaded point is directly visible by the camera, or through specular reflective or refractive surfaces. A secondary bounce occurs when a shaded point is used in GI calculations.

Parameters

VRay Documentation - VRay Indirect illumination - GIOn - turns indirect illumination on and off.

GI caustics

GI caustics represent light that has gone through one diffuse, and one or several specular reflections (or refractions). GI caustics can can be generated by skylight, or self-illuminated objects, for example. However, caustics caused by direct lights cannot be simulated in this way. You must use the separate Caustics section to control direct light caustics. Note that GI caustics are usually hard to sample and may introduce noise in the GI solution.

Refractive GI caustics - this allows indirect lighting to pass through transparent objects (glass etc). Note that this is not the same as Caustics, which represent direct light going through transparent objects. You need refractive GI caustics to get skylight through windows, for example.

Reflective GI caustics - this allows indirect light to be reflected from specular objects (mirrors etc). Note that this is not the same as Caustics, which represent direct light going through specular surfaces. This is off by default, becase reflective GI caustics usually contribute little to the final illumination, while often they produce undesired sublte noise.

Post-processing

These controls allow additional modification of the indirect illumination, before it is added to the final rendering. The default values ensure a physically accurate result; however the user may want to modify the way GI looks for artistic purposes.

Saturation - controls the saturation of the GI; a value of 0.0 means that all color will be removed from the GI solution and will be in shades of grey only. The default value of 1.0 means the GI solution remains unmodified. Values above 1.0 boost the colors in the GI solution.

Contrast - this parameter works together with Contrast base to boost the contrast of the GI solution. When Contrast is 0.0, the GI solution becomes completely uniform with the value defined by Contrast base. A value of 1.0 means the solution remains unmodified. Values higher that 1.0 boost the contrast.

Contrast base - this parameter determines the base for the contrast boost. It defines the GI values that remain unchanged during the contrast calculations.

Save maps per frame - if this is on, VRay will save the GI maps (irradiance, photon, caustic, light maps) that have the auto-save option enabled, at the end of each frame. Note that the maps will always be written to the same file. If this option is off, VRay will write the maps only once at the end of the rendering.

First (primary) diffuse bounces

Multiplier - this value determines how much primary diffuse bounces contribute to the final image illumination. Note that the default value of 1.0 produces a physically accurate image. Other values are possible, but not physically plausible.

Primary GI engine - the list box specifies the method to be used for primary diffuse bounces.

Irradiance map - selecting this will cause VRay to use an irradiance map for primary diffuse bounces. See the Irradiance map section for more information.

Global photon map - selecting this option will cause VRay to use a photon map for primary diffuse bounces. This mode is useful when setting up the parameters of the global photon map. Usually it does not produce good enough results for final renderings when used as a primary GI engine. See the Global photon map section for more information.

Quasi-Monte Carlo - selecting this method will cause VRay to use direct computation for primary diffuse bounces. See the Quasi-Monte Carlo GI section for more information.

Light map - this chooses the light map as the primary GI engine. See the Light map section for more information.

Secondary diffuse bounces

Multiplier - this determines the effect of secondary diffuse bounces on the scene illumination. Values close to 1.0 may tend to wash out the scene, while values around 0.0 may produce a dark image. Note that the default value of 1.0 produces physically accurate results. While other values are possible, they are not physically plausible.

Secondary diffuse bounces method - this parameter determines how VRay will calculate secondary diffuse bounces.

None - no secondary bounces will be computed. Use this option to produce skylit images without indirect color bleeding.

Global photon map - selecting this option will cause VRay to use a photon map for primary diffuse bounces. This mode is useful when setting up the parameters of the global photon map. Usually it does not produce good enough results for final renderings when used as a primary GI engine. See the Global photon map section for more information.

Quasi-Monte Carlo - selecting this method will cause VRay to use direct computation for primary diffuse bounces. See the Quasi-Monte Carlo GI section for more information.

Light map - this chooses the light map as the primary GI engine. See the Light map section for more information.

Notes

  • VRay does not have a separate skylight system. The skylight effect can be achieved by setting the background color or environment map in MAX's environment dialog, or in VRay's own Environment rollout.
  • You will get physically accurate lighting if you set both the primary and secondary GI multipliers to their default value of 1.0. While other values are possible, they will not produce a physically accurate result.
  

Follow our newsfeed for all latest product updates and discounts

     Your cart
Cart is empty

View cart
Checkout


     Authentication
Username

Password

Log in
Register
Recover password

If you have disabled Javascript in your browser click here


     VRay News

Populate your scenes quickly and professionally with Evermotion's 3D Archmodels!

Evermotion Archmodels Vol. 70

Add top quality props to your scene within minutes. Archmodels provides professional high quality 3D models for your visuals.

Click for more details


     Popular Products

Facebook 

Follow us on Facebook!

Get the latest info on new products and special offers.

Or check out our ebay store - Discounted items


 
 
Trinity Animation Inc.

Pre-Sale and Post Sale Support

Trinity Animation, Inc.

We have years of real world production experience and our knowledgeable staff can provide you the support you need for your pre-sale or post sale questions.


Flat Shipping Available Flat Shipping Available

Only *$9 for national shipping via FedEx Ground
Only **$25 for International shipping via FedEx to most countries

Both shipping options include the following benefits:

  • Tracking Number
  • 3-5 Day Average Arrival Time
  • Guaranteed Arrival

*$9 national shipping includes most packages. Please note however that heavier items such as books require additional shipping charges.

**
$25 covers most countries. You will be contacted prior to shipment if your country is not included within the FedEx International shipping price. Please note that heavier items such as books require additional shipping charges.

International Customers: please be aware that you are responsible for any/all customs, duties, taxes and fees that your country might charge.

Downloadable products do not require shipping and do not incur a shipping charge. 


Learn 3ds Max and VRay From The Pros
ArchInteriors provides finished, top-notch architectural interiors set up for use with VRay to get photo real results. You just load and render! You can dissect the scene file to learn how it was done.
 
Archinteriors Vol. 13 Archinteriors Vol. 14 Archinteriors Vol. 15
Learning VRay - Archinteriors Vol. 13 Learning VRay - Archinteriors Vol. 14 Learning VRay - Archinteriors Vol. 15

Trinity3D.com Newsletter Subscribe to our Newsletter!

Subscribe to our newsletter and receive new product announcements, special sales, coupons and more! Your email address is never shared, is always kept strictly confidential and you can unsubscribe at any time.

 Trinity3D.com Newsletter

* Your Email Address: