•   Home
  •   VRAYforC4D Official
    • VRAYforC4D Site
    • VRAYforC4D Forum
    • VRAYforC4D Materials Site
  •   VRAYforC4D Manual
    • Activating VrayforC4D
    • Overview
    • Render Settings
    • Materials
    • Lights
    • Vray Physical Camera
    • Vray Camera Dome
    • Vray Proxy
    • Vray Tags
      • Compositing Tag
      • Displacement Tag
      • Motion Blur Tag
      • Vray Fur Tag
    • Fast&Fur
  •   HQ Plants Manuals
    • HQ Plants vol.1 Manual
    • HQ Plants vol.2 Manual
    • HQ Palms vol.1 Manual
    • HQ Grass vol.1 Manual
    • HQ Details vol.4 Manual
    • HQ Plants vol. Free Manual
    • HQ IES vol.1 Manual
  •   VrayC4D Shop
    • Collections
    • Transport
    • Software
    • VrayC4D Service
    • 3D models for 3D Max
    • 3D models for Artlantis
  •   Files
    • Materials
    • Scenes
      • Interiors
      • Exteriors
      • Studios
      • Test scenes
      • Other scenes
    • Objects
    • Plugins
  •   Tutorials
  •   FAQ

VRAYforC4D Manual

  • License Agreement/EULA
  • Change Log
  • Features
  • About Info
  • Activating VrayforC4D
  • Overview
  • Render Settings
    • Global options
    • Antialiasing
    • DMC sampler
      • DMC sampler examples
    • GI
    • Caustics
    • Displacement
    • Environment
    • Color mapping
    • Camera Clipper
    • Multipass
    • Vray Camera
    • Vray System
  • Combining GI Methods
  • Vray Materials
  • Lights
  • Vray Physical Camera
  • Vray Camera Dome
  • Vray Proxy
  • Vray Tags
  • Fast&Fur
aa Ambient Occlusion antialiasing antialiasing filter AO brute force direct calculation dirt DMC DOF environment fast&fur fog fur GI Global options global switches grass image sampler Indirect illumination iso MB Monte Carlo motion blur options Override participating media physical camera Reflection Refraction switches volume caustics volume fog volume light volume scattering VrayDirt
Home | VRAYforC4D Manual | Render Settings

DMC sampler

Table of Contents
  1. Parameters
    1. Adaptive amount
    2. Noise threshold
    3. Global Subdiv multiplier
    4. Minimum samples
    5. Time dependent
  2. References

Monte Carlo (MC) sampling is a method for evaluating "blurry" values (anitaliasing, depth of field, indirect illumination, area lights, glossy reflections/refractions, translucency, motion blur etc). VRAYforC4D uses a variant of Monte Carlo sampling called deterministic Monte Carlo (DMC). The difference between pure Monte Carlo sampling and deterministic Monte Carlo is that the first uses pseudo-random numbers which are different for each and every evaluation (and so re-rendering a single image will always produce slightly different results in the noise), while deterministic Monte Carlo uses a pre-defined set of samples (possibly optimized to reduce the noise), which allows re-rendering an image to always produce the exact same result. By default, the deterministic Monte Carlo method used by VRAYforC4D is a modficiation of Schlick sampling, introduced by Christophe Schlick in 1991 (see the References section below).

Note that there exists a sub-set of DMC sampling called quasi Monte Carlo (DMC) sampling, in which the samples are obtained from sequences of numbers, called low-discrepancy sequences, which have special numeric properties. VRAYforC4D, however, does not use this technique.

Instead of having separate sampling methods for each of the blurry values, VRAYforC4D has a single unified framework that determines how many and what exactly samples to be taken for a particular value, depending on the context in which that value is required. This framework is called the "DMC sampler".

The actual number of samples for any blurry value is determined based on three factors:

The subdivs value supplied by the user for a particular blurry effect. This is multiplied by the Global subdivs multiplier (see below).

The importance of the value (for example, dark glossy reflections can do with fewer samples than bright ones, since the effect of the reflection on the final result is smaller; distant area lights require fewer samples than closer ones etc). Basing the number of samples allocated for a value on importance is called importance sampling.

The variance (think "noise") of the samples taken for a particular value - if the samples are not very different from each other, then the value can do with fewer samples; if the samples are very different, then a larger number of them will be necessary to get a good result. This basically works by looking at the samples as they are computed one by one and deciding, after each new sample, if more samples are required. This technique is called early termination or adaptive sampling.

Parameters

Adaptive amount

Adaptive amount - controls the extent to which the number of samples depends on the importance of a blurry value. It also controls the minimum number of samples that will be taken. A value of 1.0 means full adaptation; a value of 0.0 means no adaptation.

Noise threshold

Noise threshold - controls VRAYforC4D's judgement of when a blurry value is "good enough" to be used. This directly translates to noise in the result. Smaller values mean less noise, more samples and higher quality. A value of 0.0 means that no adaptation will be performed.

Global Subdiv multiplier

Global Subdiv multiplier - this will multiply all subdivs values everywhere during rendering; you can use this to quickly increase/decrease sampling quality everywhere. This affects everything, except for the lightmap, photon map, caustics and aa subdivs. Everything else (dof, moblur, irradiance map, brute-force GI, area lights, area shadows, glossy reflections/refractions) is affected by this parameter.

Minimum samples

Minimum samples - determines the minimum number of samples that must be made before the early termination algorithm is used. Higher values will slow things down but will make the early termination algorithm more reliable

Time dependent

Time dependent - when this option is Off, the sampling pattern will be the same from frame to frame in an animation. Since this may be undesirable in some cases, you can turn this option On to make the samping pattern change with time. Note that re-rendering the same frame will produce the same result in both cases.

References

More information on deterministic Monte Carlo sampling for computer graphics can be found from the sources listed below.

  • Demystifying Vray DMC Sampler
  • Schlick, C., 1991, An Adaptive Sampling Technique for Multidimensional Integraton by Ray Tracing, in Second Eurographics Workshop on Rendering (Spain), pp. 48-56 Describes deterministic MC sampling for antialiasing, motion blur, depth of field, area light sampling and glossy reflections.
  • Masaki Aono and Ryutarou Ohbuchi, November 25, 1996, Quasi-Monte Carlo Rendering with Adaptive Sampling, IBM Tokyo Research Laboratory Technical Report RT0167, pp.1-5; online version can be found here Describes an application of low discrepancy sequences to area light sampling and the global illumination problem.
  • Fajardo, M., August 13, 2001, Monte Carlo Raytracing in Action, in State of the Art in Monte Carlo Ray Tracing for Realistic Image Synthesis, SIGGRAPH 2001 Course 21, pp. 151-162; online version can be found here Describes the ARNOLD renderer employing randomized quasi-Monte Carlo sampling using low discrepancy sequences for pixel sampling, global illumination, area light sampling, motion blur, depth of field, etc.
  • Veach, E., December, 1997, Robust Monte Carlo Methods for Light Transport Simulation, Ph. D. dissertation for Stanford University, pp. 58-65
  • online version can be found here Includes a description of low discrepancy sequences, quasi-Monte Carlo sampling and its application to solving the global illumination problem.
  • Szirmay-Kalos, L., 1998, Importance Driven Quasi-Monte Carlo Walk Solution of the Rendering Equation, Winter School of Computer Graphics Conf., 1998 online version can be found here Describes a two-pass method for solving the global illumination problem employing quasi-Monte Carlo sampling, as well as importance sampling using low discrepancy sequences.
  • DMC sampler examples
‹ Antialiasing up DMC sampler examples ›
Printer-friendly version |  Tags: DMC, Monte Carlo
VrayC4D Group. All right reserved. (c) 2008-2010
Cinema 4D is a registered trademarks of Maxon Computer (www.maxon.net), VRAYforC4D software, VRAYforC4D logo and VRAYforC4D documentation belong to LAUBlab_Vienna (in Cooperation with Renato Tarabella and Daniele Ficini). V-Ray belongs to Chaosgroup (www.chaosgroup.com) All other brand names, product names, or trademarks belong to their respective holders.
  • Content Supply Agreement |
  • Eula