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< Bitmap > | renderDirectComponent (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< Bitmap > | mltLuminancePass (Scene *scene, int sceneResID, RenderQueue *queue, int sizeFactor, ref< RenderJob > &nestedJob) |
Execute the first pass of a 2-pass MLT scheme. More... | |
A collection of powerful support functions that can be used to construct bidirectional rendering algorithms.
|
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.
scene | Pointer to the underlying scene |
sceneResID | Resource ID of the scene (used for executing the first stage in parallel over multiple machines) |
queue | Pointer to the render queue associated with the original job |
sizeFactor | Size reduction factor to use when rendering the luminance image |
nestedJob | Reference to a nested render job. Can be used to terminate the process from another thread |
|
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.