erpt.cpp File Reference

#include "erpt.h"
#include "dynload.h"
#include "scene.h"
#include "error.h"
Include dependency graph for erpt.cpp:

Go to the source code of this file.

Defines

#define SAMPLE_FLOATS   7

Functions

static float mutate (const float x, const float randomValue)
static float mutateScaled (const float x, const float randomValue, const float mini, const float maxi, const float range)
static void initERPT (ERPTSampler *sampler, const Sample *sample)

Variables

static
DynamicLoader::RegisterSampler
< ERPTSampler
r ("erpt")

Define Documentation

#define SAMPLE_FLOATS   7

Function Documentation

static void initERPT ( ERPTSampler sampler,
const Sample sample 
) [static]
static float mutate ( const float  x,
const float  randomValue 
) [static]

Definition at line 39 of file erpt.cpp.

Referenced by lux::ERPTSampler::GetLazyValues(), and lux::ERPTSampler::GetNextSample().

static float mutateScaled ( const float  x,
const float  randomValue,
const float  mini,
const float  maxi,
const float  range 
) [static]

Definition at line 53 of file erpt.cpp.

References cimg_library::exp(), and cimg_library::log().

Referenced by lux::ERPTSampler::GetNextSample().


Variable Documentation

Generated by  doxygen 1.6.2-20100208