Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::BidirectionalUtils Class Reference

A collection of powerful support functions that can be used to construct bidirectional rendering algorithms. More...

#include <mitsuba/bidir/util.h>

Static Public Member Functions

static ref< BitmaprenderDirectComponent (Scene *scene, int sceneResID, int sensorResID, RenderQueue *queue, const RenderJob *job, size_t directSamples)
 Render the direct illumination component of a scene. More...
 
static ref< BitmapmltLuminancePass (Scene *scene, int sceneResID, RenderQueue *queue, int sizeFactor, ref< RenderJob > &nestedJob)
 Execute the first pass of a 2-pass MLT scheme. More...
 

Detailed Description

A collection of powerful support functions that can be used to construct bidirectional rendering algorithms.

Member Function Documentation

static ref<Bitmap> mitsuba::BidirectionalUtils::mltLuminancePass ( Scene scene,
int  sceneResID,
RenderQueue queue,
int  sizeFactor,
ref< RenderJob > &  nestedJob 
)
static

Execute the first pass of a 2-pass MLT scheme.

The function is made available here, since it is used by both Keleman-style and Veach-style MLT.

Parameters
scenePointer to the underlying scene
sceneResIDResource ID of the scene (used for executing the first stage in parallel over multiple machines)
queuePointer to the render queue associated with the original job
sizeFactorSize reduction factor to use when rendering the luminance image
nestedJobReference to a nested render job. Can be used to terminate the process from another thread
static ref<Bitmap> mitsuba::BidirectionalUtils::renderDirectComponent ( Scene scene,
int  sceneResID,
int  sensorResID,
RenderQueue queue,
const RenderJob job,
size_t  directSamples 
)
static

Render the direct illumination component of a scene.

The function is made available here, since it is used by both Keleman-style and Veach-style MLT.


The documentation for this class was generated from the following file: