#include "erpt.h"
#include "dynload.h"
Go to the source code of this file.
Defines | |
#define | SAMPLE_FLOATS 7 |
Functions | |
static float | mutate (const float x) |
static float | mutateScaled (const float x, const float mini, const float maxi, const float range) |
static void | initERPT (ERPTSampler *sampler, const Sample *sample) |
#define SAMPLE_FLOATS 7 |
Definition at line 34 of file erpt.cpp.
Referenced by lux::MetropolisSampler::AddSample(), lux::ERPTSampler::AddSample(), lux::MetropolisSampler::GetNextSample(), lux::ERPTSampler::GetNextSample(), initERPT(), and initMetropolis().
static void initERPT | ( | ERPTSampler * | sampler, | |
const Sample * | sample | |||
) | [static] |
Definition at line 95 of file erpt.cpp.
References lux::AllocAligned(), lux::ERPTSampler::baseImage, lux::Sample::dxD, lux::Sample::n1D, lux::Sample::n2D, lux::ERPTSampler::normalSamples, lux::Sample::nxD, lux::ERPTSampler::offset, SAMPLE_FLOATS, lux::ERPTSampler::sampleImage, lux::ERPTSampler::timeImage, lux::ERPTSampler::totalSamples, and lux::ERPTSampler::totalTimes.
Referenced by lux::ERPTSampler::GetNextSample().
static float mutate | ( | const float | x | ) | [static] |
Definition at line 37 of file erpt.cpp.
References lux::random::floatValue().
Referenced by lux::ERPTSampler::GetLazyValues(), and lux::ERPTSampler::GetNextSample().
static float mutateScaled | ( | const float | x, | |
const float | mini, | |||
const float | maxi, | |||
const float | range | |||
) | [static] |
Definition at line 52 of file erpt.cpp.
References cimg_library::exp(), lux::random::floatValue(), and cimg_library::log().
Referenced by lux::ERPTSampler::GetNextSample().