#include "lux.h"
#include "geometry.h"
#include "shape.h"
#include "mc.h"
#include "volume.h"
Go to the source code of this file.
Namespaces | |
namespace | lux |
Functions | |
void | lux::ComputeStep1dCDF (float *f, int nSteps, float *c, float *cdf) |
float | lux::SampleStep1d (float *f, float *cdf, float c, int nSteps, float u, float *pdf) |
void | lux::RejectionSampleDisk (float *x, float *y) |
Vector | lux::UniformSampleHemisphere (float u1, float u2) |
float | lux::UniformHemispherePdf (float theta, float phi) |
Vector | lux::UniformSampleSphere (float u1, float u2) |
float | lux::UniformSpherePdf () |
void | lux::UniformSampleDisk (float u1, float u2, float *x, float *y) |
void | lux::ConcentricSampleDisk (float u1, float u2, float *dx, float *dy) |
void | lux::UniformSampleTriangle (float u1, float u2, float *u, float *v) |
float | lux::UniformConePdf (float cosThetaMax) |
Vector | lux::UniformSampleCone (float u1, float u2, float costhetamax) |
Vector | lux::UniformSampleCone (float u1, float u2, float costhetamax, const Vector &x, const Vector &y, const Vector &z) |
Vector | lux::SampleHG (const Vector &w, float g, float u1, float u2) |
float | lux::HGPdf (const Vector &w, const Vector &wp, float g) |