Namespaces | |
namespace | Checkerboard |
namespace | Constant |
namespace | random |
Classes | |
class | BruteForceAccel |
struct | GMailboxPrim |
struct | Voxel |
class | GridAccel |
struct | TaBRecKdAccelNode |
struct | TaBRecBoundEdge |
struct | TaBRecInverseMailboxes |
class | TaBRecKdTreeAccel |
struct | TaBRecKdNodeStack |
struct | MailboxPrim |
struct | UnsafeKdAccelNode |
struct | UnsafeBoundEdge |
class | UnsafeKdTreeAccel |
struct | KdToDo |
class | EnvironmentCamera |
class | OrthoCamera |
class | PerspectiveCamera |
struct | Lens |
class | RealisticCamera |
class | Camera |
class | ProjectiveCamera |
class | Color |
class | RGBColor |
class | XYZColor |
class | ColorSystem |
class | Context |
class | StandardImageReader |
class | ArrSample |
class | Film |
class | Filter |
class | BBox |
class | Matrix4x4 |
class | Normal |
class | Point |
class | Ray |
class | RayDifferential |
class | Transform |
class | Vector |
class | IndigoImageHeader |
class | ImageData |
class | ImageReader |
class | ExrImageReader |
struct | KdNode |
class | KdTree |
struct | CompareNode |
class | Light |
struct | VisibilityTester |
class | AreaLight |
class | Material |
class | MIPMap |
class | MIPMapImpl |
class | MIPMapFastImpl |
struct | OctNode |
class | Octree |
class | ParamSet |
struct | ParamSetItem |
class | TextureParams |
class | Primitive |
class | Intersection |
class | GeometricPrimitive |
class | InstancePrimitive |
class | Aggregate |
class | CookTorrance |
class | FresnelBlend |
class | Lafortune |
class | Lambertian |
class | Microfacet |
class | NullTransmission |
class | OrenNayar |
class | SpecularReflection |
class | ArchitecturalReflection |
class | SpecularTransmission |
class | BSDF |
class | BxDF |
class | BRDFToBTDF |
class | FresnelConductor |
class | FresnelDielectric |
class | FresnelDielectricComplement |
class | FresnelNoOp |
class | FresnelSlick |
class | Fresnel |
class | Anisotropic |
class | Beckmann |
class | Blinn |
class | WardIsotropic |
class | MicrofacetDistribution |
class | FilmUpdaterThread |
class | RenderFarm |
class | Sample |
class | Sampler |
class | SampleGuard |
struct | PxLoc |
class | PixelSampler |
class | RenderThread |
class | Scene |
class | DifferentialGeometry |
class | Shape |
class | ShapeSet |
class | SPD |
class | Spectrum |
class | SWCSpectrum |
class | SpectrumWavelengths |
class | TextureMapping2D |
class | UVMapping2D |
class | SphericalMapping2D |
class | CylindricalMapping2D |
class | PlanarMapping2D |
class | TextureMapping3D |
class | IdentityMapping3D |
class | Texture |
class | ConstantTexture |
class | TextureColorBase |
class | TextureColor |
class | Integrator |
class | SurfaceIntegrator |
class | VolumeIntegrator |
class | VolumeRegion |
class | DensityRegion |
class | AggregateVolume |
class | BufferConfig |
struct | Pixel |
class | Buffer |
class | RawBuffer |
class | PerPixelNormalizedBuffer |
class | PerScreenNormalizedBuffer |
class | BufferGroup |
class | FlexImageFilm |
class | BoxFilter |
class | GaussianFilter |
class | MitchellFilter |
class | LanczosSincFilter |
class | TriangleFilter |
class | BidirIntegrator |
struct | BidirVertex |
class | DirectLighting |
class | EmissionIntegrator |
struct | EPhoton |
struct | ERadiancePhoton |
struct | ERadiancePhotonProcess |
struct | EPhotonProcess |
struct | EClosePhoton |
class | ExPhotonIntegrator |
class | ParticleTracingIntegrator |
class | PathIntegrator |
class | Path2Integrator |
class | SingleScattering |
class | DistantLight |
class | GonioPhotometricLight |
class | InfiniteAreaLight |
struct | Distribution1D |
class | InfiniteAreaLightIS |
class | PointLight |
class | ProjectionLight |
class | SkyLight |
class | SpotLight |
class | SunLight |
class | CarPaint |
struct | CarPaintData |
class | Glass |
class | Matte |
class | MatteTranslucent |
class | Metal |
class | Mirror |
class | MixMaterial |
class | Null |
class | Plastic |
class | RoughGlass |
class | ShinyMetal |
class | Substrate |
class | ImageFilm |
class | SampleVector |
class | MetroSample |
class | Metropolis |
class | DebugIntegrator |
struct | VirtualLight |
class | IGIIntegrator |
class | IrradianceCache |
struct | IrradianceSample |
struct | IrradProcess |
class | MLTPathIntegrator |
class | PhotonIntegrator |
struct | Photon |
struct | PhotonProcess |
struct | ClosePhoton |
class | WhittedIntegrator |
class | BluePaint |
class | BrushedMetal |
class | Clay |
class | Felt |
class | Primer |
class | Skin |
class | Translucent |
class | UberMaterial |
class | LinearPixelSampler |
class | LowdiscrepancyPixelSampler |
class | RandomPixelSampler |
class | TilePixelSampler |
class | VegasPixelSampler |
class | NetworkRenderServerThread |
class | RenderServer |
class | LuxGLViewer |
class | LuxGuiApp |
class | LuxMainFrame |
class | LuxError |
class | wxLuxErrorEvent |
class | LuxOutputWin |
class | LuxGui |
class | ERPTSampler |
class | HaltonSampler |
class | LDSampler |
class | MetropolisSampler |
class | RandomSampler |
class | BaryTriangleMesh |
class | BaryTriangle |
class | Cone |
class | Cylinder |
class | Disk |
class | Heightfield |
class | Hyperboloid |
class | LensComponent |
struct | SDVertex |
struct | SDFace |
struct | SDEdge |
class | LoopSubdiv |
class | NURBS |
class | Paraboloid |
class | PlyMesh |
class | Sphere |
class | WaldTriangleMesh |
class | WaldTriangle |
class | BlackbodySPD |
class | IrregularSPD |
class | RegularSPD |
class | RGBIllumSPD |
class | BilerpTexture |
class | BlenderBlendTexture3D |
class | BlenderCloudsTexture3D |
class | BlenderDistortedNoiseTexture3D |
class | BlenderMagicTexture3D |
class | BlenderMarbleTexture3D |
class | BlenderMusgraveTexture3D |
class | BlenderNoiseTexture3D |
class | BlenderStucciTexture3D |
class | BlenderVoronoiTexture3D |
class | BlenderWoodTexture3D |
class | Checkerboard2D |
class | Checkerboard3D |
class | DotsTexture |
class | FBmTexture |
class | HarlequinTexture |
class | ImageTexture |
struct | TexInfo |
class | MarbleTexture |
class | MixTexture |
class | ScaleTexture |
class | UVTexture |
class | WindyTexture |
class | WrinkledTexture |
class | ContrastOp |
class | HighContrastOp |
class | MaxWhiteOp |
class | NonLinearOp |
class | ReinhardOp |
class | ExponentialDensity |
class | HomogeneousVolume |
class | VolumeGrid |
Typedefs | |
typedef void(wxEvtHandler::* | wxLuxErrorEventFunction )(wxLuxErrorEvent &) |
Enumerations | |
enum | ImageType { IMAGE_NONE = 0, IMAGE_FILEOUTPUT = 1 << 1, IMAGE_FRAMEBUFFER = 1 << 2, IMAGE_ALL = IMAGE_FILEOUTPUT | IMAGE_FRAMEBUFFER } |
enum | BufferType { BUF_TYPE_PER_PIXEL = 0, BUF_TYPE_PER_SCREEN, BUF_TYPE_RAW, NUM_OF_BUFFER_TYPES } |
enum | BufferOutputConfig { BUF_FRAMEBUFFER = 1 << 0, BUF_STANDALONE = 1 << 1, BUF_RAWDATA = 1 << 2 } |
enum | ImageTextureFilterType { NEAREST, BILINEAR, MIPMAP_TRILINEAR, MIPMAP_EWA } |
enum | ImageWrap { TEXTURE_REPEAT, TEXTURE_BLACK, TEXTURE_CLAMP } |
enum | BxDFType { BSDF_REFLECTION = 1<<0, BSDF_TRANSMISSION = 1<<1, BSDF_DIFFUSE = 1<<2, BSDF_GLOSSY = 1<<3, BSDF_SPECULAR = 1<<4, BSDF_ALL_TYPES, BSDF_ALL_REFLECTION, BSDF_ALL_TRANSMISSION, BSDF_ALL } |
enum | SamplingType { SAMPLING_DIRECT = 1 << 0, SAMPLING_INDIRECT = 1 << 1, SAMPLING_EYETOLIGHT = 1 << 2, SAMPLING_LIGHTTOEYE = 1 << 3, SAMPLING_ALL = (1 << 4) - 1 } |
enum | DebugVariable { DEBUG_U, DEBUG_V, DEBUG_GEOM_NORMAL_X, DEBUG_GEOM_NORMAL_Y, DEBUG_GEOM_NORMAL_Z, DEBUG_SHAD_NORMAL_X, DEBUG_SHAD_NORMAL_Y, DEBUG_SHAD_NORMAL_Z, DEBUG_ONE, DEBUG_ZERO, DEBUG_HIT_SOMETHING } |
enum | LuxGuiRenderState { WAITING, RENDERING, IDLE, FINISHED } |
enum | LuxGuiWindowState { SHOWN, HIDDEN } |
enum | SPDResamplingMethod { Linear, Spline } |
enum | MethodType { NONE, SUPERSAMPLE, CLOSEDFORM } |
Functions | |
int | buildParameterList (va_list pArgs, std::vector< LuxToken > &aTokens, std::vector< LuxPointer > &aValues) |
static float | determinent (const float matrix[3][3]) |
static void | inverse (float matrix[3][3]) |
static void | multiply (const float matrix[3][3], const float vector[3], float result[3]) |
static void | multiply (const float a[3][3], const float b[3][3], float result[3][3]) |
static float | dot (const float a[3], const float b[3]) |
static bool | InsideGamut (const RGBColor &color) |
ostream & | operator<< (ostream &os, const RGBColor &s) |
ostream & | operator<< (ostream &os, const XYZColor &s) |
boost::shared_ptr< Shape > | MakeShape (const string &name, const Transform &object2world, bool reverseOrientation, const ParamSet ¶mSet, map< string, boost::shared_ptr< Texture< float > > > *floatTextures) |
boost::shared_ptr< Material > | MakeMaterial (const string &name, const Transform &mtl2world, const TextureParams &mp) |
boost::shared_ptr< Texture < float > > | MakeFloatTexture (const string &name, const Transform &tex2world, const TextureParams &tp) |
boost::shared_ptr< Texture < Spectrum > > | MakeSpectrumTexture (const string &name, const Transform &tex2world, const TextureParams &tp) |
Light * | MakeLight (const string &name, const Transform &light2world, const ParamSet ¶mSet) |
AreaLight * | MakeAreaLight (const string &name, const Transform &light2world, const ParamSet ¶mSet, const boost::shared_ptr< Shape > &shape) |
VolumeRegion * | MakeVolumeRegion (const string &name, const Transform &volume2world, const ParamSet ¶mSet) |
SurfaceIntegrator * | MakeSurfaceIntegrator (const string &name, const ParamSet ¶mSet) |
VolumeIntegrator * | MakeVolumeIntegrator (const string &name, const ParamSet ¶mSet) |
Primitive * | MakeAccelerator (const string &name, const vector< Primitive * > &prims, const ParamSet ¶mSet) |
Camera * | MakeCamera (const string &name, const ParamSet ¶mSet, const Transform &world2cam, Film *film) |
Sampler * | MakeSampler (const string &name, const ParamSet ¶mSet, const Film *film) |
Filter * | MakeFilter (const string &name, const ParamSet ¶mSet) |
ToneMap * | MakeToneMap (const string &name, const ParamSet ¶mSet) |
Film * | MakeFilm (const string &name, const ParamSet ¶mSet, Filter *filter) |
void | UpdatePluginPath (const string &newpath) |
boost::shared_ptr< Shape > | MakeShape (const string &name, const Transform &object2world, bool reverseOrientation, const ParamSet ¶mSet, std::map< string, boost::shared_ptr< Texture< float > > > *floatTextures=NULL) |
ImageData * | ReadImage (const string &name) |
void | WriteRGBAImage (const string &name, float *pixels, float *alpha, int xRes, int yRes, int totalXRes, int totalYRes, int xOffset, int yOffset) |
void | WriteRGBAImageFloat (const string &name, float *pixels, float *alpha, int xRes, int yRes, int totalXRes, int totalYRes, int xOffset, int yOffset) |
void | ApplyImagingPipeline (float *rgb, int xResolution, int yResolution, float *yWeight, float bloomRadius, float bloomWeight, const char *toneMapName, const ParamSet *toneMapParams, float gamma, float dither, int maxDisplayValue) |
ostream & | operator<< (ostream &os, const BBox &b) |
Normal | operator* (float f, const Normal &n) |
ostream & | operator<< (ostream &os, const Normal &v) |
ostream & | operator<< (ostream &os, const Point &v) |
Point | operator* (float f, const Point &p) |
ostream & | operator<< (ostream &os, Ray &r) |
ostream & | operator<< (ostream &os, const Transform &t) |
Transform | Translate (const Vector &delta) |
Transform | Scale (float x, float y, float z) |
Transform | RotateX (float angle) |
Transform | RotateY (float angle) |
Transform | RotateZ (float angle) |
Transform | Rotate (float angle, const Vector &axis) |
Transform | LookAt (const Point &pos, const Point &look, const Vector &up) |
void | TransformAccordingNormal (const Normal &nn, const Vector &woL, Vector *woW) |
Transform | Orthographic (float znear, float zfar) |
Transform | Perspective (float fov, float n, float f) |
ostream & | operator<< (ostream &os, const Vector &v) |
Vector | operator* (float f, const Vector &v) |
BBox | Union (const BBox &b, const Point &p) |
BBox | Union (const BBox &b, const BBox &b2) |
float | Dot (const Vector &v1, const Vector &v2) |
float | AbsDot (const Vector &v1, const Vector &v2) |
Vector | Cross (const Vector &v1, const Vector &v2) |
Vector | Cross (const Vector &v1, const Normal &v2) |
Vector | Cross (const Normal &v1, const Vector &v2) |
Vector | Normalize (const Vector &v) |
void | CoordinateSystem (const Vector &v1, Vector *v2, Vector *v3) |
float | Distance (const Point &p1, const Point &p2) |
float | DistanceSquared (const Point &p1, const Point &p2) |
Normal | Normalize (const Normal &n) |
float | Dot (const Normal &n1, const Vector &v2) |
float | Dot (const Vector &v1, const Normal &n2) |
float | Dot (const Normal &n1, const Normal &n2) |
float | AbsDot (const Normal &n1, const Vector &v2) |
float | AbsDot (const Vector &v1, const Normal &n2) |
float | AbsDot (const Normal &n1, const Normal &n2) |
Vector | SphericalDirection (float sintheta, float costheta, float phi) |
Vector | SphericalDirection (float sintheta, float costheta, float phi, const Vector &x, const Vector &y, const Vector &z) |
float | SphericalTheta (const Vector &v) |
float | SphericalPhi (const Vector &v) |
Spectrum * | ReadIgiImage (const string &name, int *width, int *height) |
void | WriteIgiImage (const string &name, float *pixels, float *alpha, int xRes, int yRes, int totalXRes, int totalYRes, int xOffset, int yOffset) |
unsigned int | DJBHash (const std::string &str) |
bool | SolveLinearSystem2x2 (const float A[2][2], const float B[2], float x[2]) |
void * | AllocAligned (size_t size) |
void | FreeAligned (void *) |
void | ComputeStep1dCDF (float *f, int nSteps, float *c, float *cdf) |
float | SampleStep1d (float *f, float *cdf, float c, int nSteps, float u, float *pdf) |
void | RejectionSampleDisk (float *x, float *y) |
Vector | UniformSampleHemisphere (float u1, float u2) |
float | UniformHemispherePdf (float theta, float phi) |
Vector | UniformSampleSphere (float u1, float u2) |
float | UniformSpherePdf () |
void | UniformSampleDisk (float u1, float u2, float *x, float *y) |
void | ConcentricSampleDisk (float u1, float u2, float *dx, float *dy) |
void | UniformSampleTriangle (float u1, float u2, float *u, float *v) |
float | UniformConePdf (float cosThetaMax) |
Vector | UniformSampleCone (float u1, float u2, float costhetamax) |
Vector | UniformSampleCone (float u1, float u2, float costhetamax, const Vector &x, const Vector &y, const Vector &z) |
Vector | SampleHG (const Vector &w, float g, float u1, float u2) |
float | HGPdf (const Vector &w, const Vector &wp, float g) |
void | RejectionSampleDisk (float u1, float u2, float *x, float *y) |
Vector | CosineSampleHemisphere (float u1, float u2) |
float | CosineHemispherePdf (float costheta, float phi) |
float | BalanceHeuristic (int nf, float fPdf, int ng, float gPdf) |
float | PowerHeuristic (int nf, float fPdf, int ng, float gPdf) |
float | CosTheta (const Vector &w) |
float | SinTheta (const Vector &w) |
float | SinTheta2 (const Vector &w) |
float | CosPhi (const Vector &w) |
float | SinPhi (const Vector &w) |
bool | SameHemisphere (const Vector &w, const Vector &wp) |
SWCSpectrum | FrDiel (float cosi, float cost, const SWCSpectrum &etai, const SWCSpectrum &etat) |
SWCSpectrum | FrCond (float cosi, const SWCSpectrum &eta, const SWCSpectrum &k) |
SWCSpectrum | FresnelApproxEta (const SWCSpectrum &Fr) |
SWCSpectrum | FresnelApproxK (const SWCSpectrum &Fr) |
void | StratifiedSample1D (float *samp, int nSamples, bool jitter) |
void | StratifiedSample2D (float *samp, int nx, int ny, bool jitter) |
void | Shuffle (float *samp, int count, int dims) |
void | LatinHypercube (float *samples, int nSamples, int nDim) |
double | RadicalInverse (int n, int base) |
double | FoldedRadicalInverse (int n, int base) |
float | VanDerCorput (u_int n, u_int scramble=0) |
float | Sobol2 (u_int n, u_int scramble=0) |
float | LarcherPillichshammer2 (u_int n, u_int scramble=0) |
float | Halton (u_int n, u_int scramble=0) |
float | Halton2 (u_int n, u_int scramble=0) |
void | SampleHalton (u_int n, u_int scramble[2], float sample[2]) |
void | Sample02 (u_int n, u_int scramble[2], float sample[2]) |
void | LDShuffleScrambled1D (int nSamples, int nPixel, float *samples) |
void | LDShuffleScrambled2D (int nSamples, int nPixel, float *samples) |
void | HaltonShuffleScrambled1D (int nSamples, int nPixel, float *samples) |
void | HaltonShuffleScrambled2D (int nSamples, int nPixel, float *samples) |
Spectrum | FromXYZ (float x, float y, float z) |
void | StatsPrint (FILE *dest) |
void | StatsCleanup () |
float | Grad (int x, int y, int z, float dx, float dy, float dz) |
float | NoiseWeight (float t) |
float | Noise (float x, float y, float z) |
float | Noise (const Point &P) |
float | FBm (const Point &P, const Vector &dpdx, const Vector &dpdy, float omega, int maxOctaves) |
float | Turbulence (const Point &P, const Vector &dpdx, const Vector &dpdy, float omega, int maxOctaves) |
float | Lanczos (float x, float tau) |
static SWCSpectrum | EstimateDirect (const Scene *scene, const Light *light, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, float ls1, float ls2, float ls3, float bs1, float bs2, float bcs) |
SWCSpectrum | UniformSampleAllLights (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, int *lightSampleOffset, int *bsdfSampleOffset, int *bsdfComponentOffset) |
SWCSpectrum | UniformSampleAllLights (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, float *lightSample, float *lightNum, float *bsdfSample, float *bsdfComponent) |
SWCSpectrum | UniformSampleOneLight (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, float *lightSample, float *lightNum, float *bsdfSample, float *bsdfComponent) |
SWCSpectrum | WeightedSampleOneLight (const Scene *scene, const Point &p, const Normal &n, const Vector &wo, BSDF *bsdf, const Sample *sample, int lightSampleOffset, int lightNumOffset, int bsdfSampleOffset, int bsdfComponentOffset, float *&avgY, float *&avgYsample, float *&cdf, float &overallAvgY) |
static void | StatsPrintVal (FILE *f, StatsCounterType v) |
static void | StatsPrintVal (FILE *f, StatsCounterType v1, StatsCounterType v2) |
float | PhaseIsotropic (const Vector &, const Vector &) |
float | PhaseRayleigh (const Vector &w, const Vector &wp) |
float | PhaseMieHazy (const Vector &w, const Vector &wp) |
float | PhaseMieMurky (const Vector &w, const Vector &wp) |
float | PhaseHG (const Vector &w, const Vector &wp, float g) |
float | PhaseSchlick (const Vector &w, const Vector &wp, float g) |
float | Ekernel (const EPhoton *photon, const Point &p, float md2) |
void | LuxGuiErrorHandler (int code, int severity, const char *msg) |
static int | VertexCB (p_ply_argument argument) |
static int | FaceCB (p_ply_argument argument) |
Variables | |
static float | _matrix44_sse_ident [16] |
static const int | INDIGO_IMAGE_MAGIC_NUMBER = 66613373 |
static const float | inv_WAVELENGTH_SAMPLES = 1.f / WAVELENGTH_SAMPLES |
static int | NoisePerm [2 *NOISE_PERM_SIZE] |
static float | S0Amplitudes [54] |
static float | S1Amplitudes [54] |
static float | S2Amplitudes [54] |
static float | sun_k_oWavelengths [64] |
static float | sun_k_oAmplitudes [65] |
static float | sun_k_gWavelengths [2] |
static float | sun_k_gAmplitudes [2] |
static float | sun_k_waWavelengths [13] |
static float | sun_k_waAmplitudes [13] |
static float | sun_solAmplitudes [38] |
static float | sun_sun_irradiance [79] |
static CarPaintData | carpaintdata [] |
static string | DEFAULT_METAL = "aluminum" |
static const int | illumrgb2spect_bins = 32 |
static const float | illumrgb2spect_start = 380.f |
static const float | illumrgb2spect_end = 720.f |
static const float | illumrgb2spect_scale = 0.86445f |
static float | illumrgb2spect_white [] |
static float | illumrgb2spect_cyan [] |
static float | illumrgb2spect_magenta [] |
static float | illumrgb2spect_yellow [] |
static float | illumrgb2spect_red [] |
static float | illumrgb2spect_green [] |
static float | illumrgb2spect_blue [] |
static const int | refrgb2spect_bins = 32 |
static const float | refrgb2spect_start = 380.f |
static const float | refrgb2spect_end = 720.f |
static const float | refrgb2spect_scale = 0.94112876f |
static float | refrgb2spect_white [] |
static float | refrgb2spect_cyan [] |
static float | refrgb2spect_magenta [] |
static float | refrgb2spect_yellow [] |
static float | refrgb2spect_red [] |
static float | refrgb2spect_green [] |
static float | refrgb2spect_blue [] |
static const int | CIEstart = 360 |
static const int | CIEend = 830 |
static const int | nCIE = CIEend-CIEstart+1 |
static const float | CIE_X [nCIE] |
static const float | CIE_Y [nCIE] |
static const float | CIE_Z [nCIE] |
MethodType | aaMethod |
typedef void(wxEvtHandler::* lux::wxLuxErrorEventFunction)(wxLuxErrorEvent &) |
Definition at line 76 of file wxluxgui.h.
enum lux::BufferType |
enum lux::BxDFType |
enum lux::DebugVariable |
enum lux::ImageType |
enum lux::ImageWrap |
enum lux::MethodType |
enum lux::SamplingType |
Definition at line 35 of file sampling.h.
float lux::AbsDot | ( | const Normal & | n1, | |
const Normal & | n2 | |||
) | [inline] |
Definition at line 119 of file geometry.h.
References lux::Normal::x, lux::Normal::y, and lux::Normal::z.
float lux::AbsDot | ( | const Vector & | v1, | |
const Normal & | n2 | |||
) | [inline] |
Definition at line 116 of file geometry.h.
References lux::Normal::x, lux::Vector::x, lux::Normal::y, lux::Vector::y, lux::Normal::z, and lux::Vector::z.
float lux::AbsDot | ( | const Normal & | n1, | |
const Vector & | v2 | |||
) | [inline] |
Definition at line 113 of file geometry.h.
References lux::Vector::x, lux::Normal::x, lux::Vector::y, lux::Normal::y, lux::Vector::z, and lux::Normal::z.
float lux::AbsDot | ( | const Vector & | v1, | |
const Vector & | v2 | |||
) | [inline] |
Definition at line 57 of file geometry.h.
References Dot().
Referenced by EstimateDirect(), lux::AreaLight::EvalDirectionPdf(), lux::BidirIntegrator::evalPath(), lux::FresnelBlend::f(), lux::Microfacet::G(), lux::CookTorrance::G(), lux::BidirIntegrator::G(), generateLightPath(), lux::BidirIntegrator::generatePath(), lux::PerspectiveCamera::GetConnectingFactor(), lux::OrthoCamera::GetConnectingFactor(), lux::EnvironmentCamera::GetConnectingFactor(), lux::IrradianceCache::IndirectLo(), lux::AreaLight::L(), lux::SunLight::Le(), lux::SkyLight::Le(), lux::WhittedIntegrator::Li(), lux::PhotonIntegrator::Li(), lux::Path2Integrator::Li(), lux::PathIntegrator::Li(), lux::ParticleTracingIntegrator::Li(), lux::MLTPathIntegrator::Li(), lux::IrradianceCache::Li(), lux::IGIIntegrator::Li(), lux::BidirIntegrator::Li(), lux::ExPhotonIntegrator::LiInternal(), lux::DirectLighting::LiInternal(), lux::SkyLight::Pdf(), lux::Shape::Pdf(), lux::InfiniteAreaLight::Pdf(), lux::PhotonIntegrator::Preprocess(), lux::IGIIntegrator::Preprocess(), lux::ExPhotonIntegrator::Preprocess(), lux::SunLight::Sample_L(), lux::SkyLight::Sample_L(), lux::InfiniteAreaLightIS::Sample_L(), lux::InfiniteAreaLight::Sample_L(), lux::AreaLight::Sample_L(), lux::AreaLight::SampleDirection(), lux::VisibilityTester::TestOcclusion(), and lux::BidirIntegrator::weightPath().
void * lux::AllocAligned | ( | size_t | size | ) |
Definition at line 234 of file util.cpp.
References L1_CACHE_LINE_SIZE.
Referenced by MemoryArena::Alloc(), lux::SPD::AllocateSamples(), BlockedArray< lux::Pixel >::BlockedArray(), lux::UnsafeKdTreeAccel::buildTree(), lux::TaBRecKdTreeAccel::buildTree(), lux::ERPTSampler::ERPTSampler(), lux::GridAccel::GridAccel(), initERPT(), initMetropolis(), lux::KdTree< NodeData, LookupProc >::KdTree(), BlockedArray< lux::Pixel >::load(), MemoryArena::MemoryArena(), lux::MetropolisSampler::MetropolisSampler(), lux::MIPMapImpl< T, U >::MIPMapImpl(), lux::random::RandomGenerator::RandomGenerator(), lux::RandomSampler::RandomSampler(), lux::Sample::Sample(), lux::SpectrumWavelengths::SpectrumWavelengths(), lux::TaBRecKdTreeAccel::TaBRecKdTreeAccel(), and lux::UnsafeKdTreeAccel::UnsafeKdTreeAccel().
void lux::ApplyImagingPipeline | ( | float * | rgb, | |
int | xResolution, | |||
int | yResolution, | |||
float * | yWeight, | |||
float | bloomRadius, | |||
float | bloomWeight, | |||
const char * | toneMapName, | |||
const ParamSet * | toneMapParams, | |||
float | gamma, | |||
float | dither, | |||
int | maxDisplayValue | |||
) |
Definition at line 34 of file film.cpp.
References ProgressReporter::Done(), Float2Int(), lux::random::floatValueP(), Lerp(), MakeToneMap(), ToneMap::Map(), cimg_library::max(), cimg_library::min(), and ProgressReporter::Update().
Referenced by lux::FlexImageFilm::WriteImage2().
float lux::BalanceHeuristic | ( | int | nf, | |
float | fPdf, | |||
int | ng, | |||
float | gPdf | |||
) | [inline] |
int lux::buildParameterList | ( | va_list | pArgs, | |
std::vector< LuxToken > & | aTokens, | |||
std::vector< LuxPointer > & | aValues | |||
) |
void lux::ComputeStep1dCDF | ( | float * | f, | |
int | nSteps, | |||
float * | c, | |||
float * | cdf | |||
) |
Definition at line 34 of file mc.cpp.
Referenced by lux::Distribution1D::Distribution1D(), lux::IGIIntegrator::Preprocess(), lux::ExPhotonIntegrator::Preprocess(), and WeightedSampleOneLight().
void lux::ConcentricSampleDisk | ( | float | u1, | |
float | u2, | |||
float * | dx, | |||
float * | dy | |||
) |
Definition at line 94 of file mc.cpp.
References M_PI.
Referenced by CosineSampleHemisphere(), lux::RealisticCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::LensComponent::Sample(), lux::Disk::Sample(), lux::SunLight::Sample_L(), lux::SkyLight::Sample_L(), lux::InfiniteAreaLight::Sample_L(), lux::DistantLight::Sample_L(), lux::PerspectiveCamera::Sample_W(), and lux::PerspectiveCamera::SamplePosition().
void lux::CoordinateSystem | ( | const Vector & | v1, | |
Vector * | v2, | |||
Vector * | v3 | |||
) | [inline] |
Definition at line 83 of file geometry.h.
References Cross(), lux::Vector::x, lux::Vector::y, and lux::Vector::z.
Referenced by lux::LoopSubdiv::ApplyDisplacementMap(), lux::SpotLight::CreateLight(), lux::BaryTriangle::Intersect(), lux::SkyLight::Le(), lux::ExPhotonIntegrator::LiInternal(), lux::Sphere::Sample(), lux::Lafortune::Sample_f(), lux::SkyLight::Sample_L(), lux::InfiniteAreaLight::Sample_L(), lux::DistantLight::Sample_L(), lux::AreaLight::Sample_L(), SampleHG(), lux::SunLight::SunLight(), and lux::WaldTriangle::WaldTriangle().
float lux::CosineHemispherePdf | ( | float | costheta, | |
float | phi | |||
) | [inline] |
Vector lux::CosineSampleHemisphere | ( | float | u1, | |
float | u2 | |||
) | [inline] |
Definition at line 52 of file mc.h.
References ConcentricSampleDisk(), cimg_library::max(), lux::Vector::x, lux::Vector::y, and lux::Vector::z.
Referenced by lux::IrradianceCache::IndirectLo(), lux::Lafortune::Sample_f(), lux::FresnelBlend::Sample_f(), lux::CookTorrance::Sample_f(), lux::BxDF::Sample_f(), and lux::AreaLight::SampleDirection().
float lux::CosPhi | ( | const Vector & | w | ) | [inline] |
Definition at line 43 of file bxdf.h.
References SinTheta(), and lux::Vector::x.
Referenced by lux::OrenNayar::f().
float lux::CosTheta | ( | const Vector & | w | ) | [inline] |
Definition at line 36 of file bxdf.h.
References lux::Vector::z.
Referenced by lux::WardIsotropic::D(), lux::Blinn::D(), lux::Beckmann::D(), lux::Anisotropic::D(), lux::SpecularTransmission::f(), lux::OrenNayar::f(), lux::NullTransmission::f(), lux::Microfacet::f(), lux::FresnelBlend::f(), lux::CookTorrance::f(), lux::Microfacet::G(), lux::CookTorrance::G(), lux::SpecularTransmission::Sample_f(), lux::SpecularReflection::Sample_f(), lux::NullTransmission::Sample_f(), and SinTheta2().
Vector lux::Cross | ( | const Normal & | v1, | |
const Vector & | v2 | |||
) | [inline] |
Definition at line 73 of file geometry.h.
References lux::Normal::x, lux::Vector::x, lux::Vector::y, lux::Normal::y, lux::Normal::z, and lux::Vector::z.
Vector lux::Cross | ( | const Vector & | v1, | |
const Normal & | v2 | |||
) | [inline] |
Definition at line 68 of file geometry.h.
References lux::Vector::x, lux::Normal::x, lux::Normal::y, lux::Vector::y, lux::Vector::z, and lux::Normal::z.
Vector lux::Cross | ( | const Vector & | v1, | |
const Vector & | v2 | |||
) | [inline] |
Definition at line 62 of file geometry.h.
References lux::Vector::x, lux::Vector::y, and lux::Vector::z.
Referenced by lux::WaldTriangle::Area(), lux::BaryTriangle::Area(), lux::BSDF::BSDF(), lux::Material::Bump(), CoordinateSystem(), lux::WaldTriangleMesh::CreateShape(), lux::BaryTriangleMesh::CreateShape(), lux::DifferentialGeometry::DifferentialGeometry(), lux::LoopSubdiv::GenerateNormals(), lux::WaldTriangle::GetShadingGeometry(), lux::BaryTriangle::GetShadingGeometry(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::Hyperboloid::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::BaryTriangle::Intersect(), lux::BaryTriangle::IntersectP(), LookAt(), lux::NURBS::Refine(), lux::BaryTriangle::Sample(), TransformAccordingNormal(), and lux::WaldTriangle::WaldTriangle().
static float lux::determinent | ( | const float | matrix[3][3] | ) | [static] |
float lux::Distance | ( | const Point & | p1, | |
const Point & | p2 | |||
) | [inline] |
Definition at line 94 of file geometry.h.
Referenced by lux::BBox::BoundingSphere(), lux::OrthoCamera::IsVisibleFromEyes(), lux::EnvironmentCamera::IsVisibleFromEyes(), and lux::HomogeneousVolume::Tau().
float lux::DistanceSquared | ( | const Point & | p1, | |
const Point & | p2 | |||
) | [inline] |
Definition at line 97 of file geometry.h.
Referenced by lux::Octree< lux::IrradianceSample, lux::IrradProcess >::Add(), lux::Octree< NodeData, LookupProc >::addPrivate(), Ekernel(), lux::BidirIntegrator::G(), generateLightPath(), lux::BidirIntegrator::generatePath(), lux::PerspectiveCamera::GetConnectingFactor(), lux::EnvironmentCamera::GetConnectingFactor(), lux::AreaLight::L(), lux::SunLight::Le(), lux::SkyLight::Le(), lux::IGIIntegrator::Li(), lux::BidirIntegrator::Li(), lux::IrradProcess::operator()(), lux::Sphere::Pdf(), lux::Shape::Pdf(), lux::KdTree< NodeData, LookupProc >::privateLookup(), lux::Sphere::Sample(), lux::SunLight::Sample_L(), lux::SpotLight::Sample_L(), lux::SkyLight::Sample_L(), lux::ProjectionLight::Sample_L(), lux::PointLight::Sample_L(), lux::GonioPhotometricLight::Sample_L(), and lux::AreaLight::Sample_L().
unsigned int lux::DJBHash | ( | const std::string & | str | ) |
Definition at line 322 of file util.cpp.
References blender::hash.
Referenced by lux::NetworkRenderServerThread::run().
float lux::Dot | ( | const Normal & | n1, | |
const Normal & | n2 | |||
) | [inline] |
Definition at line 110 of file geometry.h.
References lux::Normal::x, lux::Normal::y, and lux::Normal::z.
float lux::Dot | ( | const Vector & | v1, | |
const Normal & | n2 | |||
) | [inline] |
Definition at line 107 of file geometry.h.
References lux::Normal::x, lux::Vector::x, lux::Normal::y, lux::Vector::y, lux::Normal::z, and lux::Vector::z.
float lux::Dot | ( | const Normal & | n1, | |
const Vector & | v2 | |||
) | [inline] |
Definition at line 104 of file geometry.h.
References lux::Vector::x, lux::Normal::x, lux::Vector::y, lux::Normal::y, lux::Vector::z, and lux::Normal::z.
float lux::Dot | ( | const Vector & | v1, | |
const Vector & | v2 | |||
) | [inline] |
Definition at line 53 of file geometry.h.
References lux::Vector::x, lux::Vector::y, and lux::Vector::z.
Referenced by AbsDot(), lux::Material::Bump(), lux::DifferentialGeometry::ComputeDifferentials(), lux::ExponentialDensity::Density(), lux::ExPhotonIntegrator::estimateE(), lux::AreaLight::Eval(), lux::AreaLight::EvalDirectionPdf(), lux::AreaLight::EvalPositionPdf(), lux::Microfacet::f(), lux::FresnelBlend::f(), lux::CookTorrance::f(), lux::BSDF::f(), lux::RealisticCamera::GenerateRay(), lux::PerspectiveCamera::GetSamplePosition(), lux::IrradianceCache::IndirectLo(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::Hyperboloid::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::BaryTriangle::Intersect(), lux::BaryTriangle::IntersectP(), lux::AreaLight::L(), lux::SunLight::Le(), lux::SkyLight::Le(), lux::WhittedIntegrator::Li(), lux::PhotonIntegrator::Li(), lux::IrradianceCache::Li(), lux::IGIIntegrator::Li(), lux::ExPhotonIntegrator::LiInternal(), lux::DirectLighting::LiInternal(), lux::PhotonIntegrator::LPhoton(), lux::ExPhotonIntegrator::LPhoton(), lux::PlanarMapping2D::Map(), lux::IrradProcess::operator()(), lux::ERadiancePhotonProcess::operator()(), lux::WardIsotropic::Pdf(), lux::Lafortune::Pdf(), lux::Blinn::Pdf(), lux::Beckmann::Pdf(), lux::Anisotropic::Pdf(), PhaseHG(), PhaseMieHazy(), PhaseMieMurky(), PhaseRayleigh(), PhaseSchlick(), lux::ExPhotonIntegrator::Preprocess(), lux::WardIsotropic::Sample_f(), lux::BSDF::Sample_f(), lux::Blinn::Sample_f(), lux::Beckmann::Sample_f(), lux::Anisotropic::Sample_f(), lux::SunLight::Sample_L(), lux::SkyLight::Sample_L(), lux::InfiniteAreaLight::Sample_L(), lux::AreaLight::Sample_L(), lux::WaldTriangle::WaldTriangle(), lux::BidirIntegrator::weightPath(), and lux::BSDF::WorldToLocal().
static float lux::dot | ( | const float | a[3], | |
const float | b[3] | |||
) | [static] |
Definition at line 79 of file color.cpp.
Referenced by lux::ColorSystem::ColorSystem(), and cimg_library::CImg< T >::norm().
float lux::Ekernel | ( | const EPhoton * | photon, | |
const Point & | p, | |||
float | md2 | |||
) | [inline] |
Definition at line 86 of file integrators/exphotonmap.h.
References DistanceSquared(), M_PI, and lux::EPhoton::p.
Referenced by lux::ExPhotonIntegrator::LPhoton().
static SWCSpectrum lux::EstimateDirect | ( | const Scene * | scene, | |
const Light * | light, | |||
const Point & | p, | |||
const Normal & | n, | |||
const Vector & | wo, | |||
BSDF * | bsdf, | |||
float | ls1, | |||
float | ls2, | |||
float | ls3, | |||
float | bs1, | |||
float | bs2, | |||
float | bcs | |||
) | [static] |
Definition at line 235 of file transport.cpp.
References AbsDot(), lux::SWCSpectrum::Black(), BSDF_ALL, BSDF_SPECULAR, lux::BSDF::f(), lux::Primitive::GetAreaLight(), lux::Scene::Intersect(), lux::Light::IsDeltaLight(), lux::Light::Le(), lux::Intersection::Le(), lux::Light::Pdf(), lux::BSDF::Pdf(), PowerHeuristic(), lux::Intersection::primitive, lux::BSDF::Sample_f(), lux::Light::Sample_L(), lux::VisibilityTester::TestOcclusion(), lux::Scene::Transmittance(), and lux::VisibilityTester::Transmittance().
Referenced by UniformSampleAllLights(), UniformSampleOneLight(), and WeightedSampleOneLight().
static int lux::FaceCB | ( | p_ply_argument | argument | ) | [static] |
Definition at line 55 of file plymesh.cpp.
References ply_get_argument_element(), ply_get_argument_property(), ply_get_argument_user_data(), ply_get_argument_value(), and lux::PlyMesh::vertexIndex.
Referenced by lux::PlyMesh::PlyMesh().
float lux::FBm | ( | const Point & | P, | |
const Vector & | dpdx, | |||
const Vector & | dpdy, | |||
float | omega, | |||
int | maxOctaves | |||
) |
Definition at line 219 of file texture.cpp.
References Floor2Int(), lux::Vector::LengthSquared(), Log2(), cimg_library::max(), cimg_library::min(), Noise(), and SmoothStep().
Referenced by lux::WindyTexture< T >::Evaluate(), lux::MarbleTexture::Evaluate(), and lux::FBmTexture< T >::Evaluate().
double lux::FoldedRadicalInverse | ( | int | n, | |
int | base | |||
) | [inline] |
SWCSpectrum lux::FrCond | ( | float | cosi, | |
const SWCSpectrum & | eta, | |||
const SWCSpectrum & | k | |||
) |
SWCSpectrum lux::FrDiel | ( | float | cosi, | |
float | cost, | |||
const SWCSpectrum & | etai, | |||
const SWCSpectrum & | etat | |||
) |
void lux::FreeAligned | ( | void * | ptr | ) |
Definition at line 240 of file util.cpp.
Referenced by lux::UnsafeKdTreeAccel::buildTree(), lux::TaBRecKdTreeAccel::buildTree(), BlockedArray< lux::Pixel >::~BlockedArray(), lux::ERPTSampler::~ERPTSampler(), lux::GridAccel::~GridAccel(), lux::KdTree< lux::Photon, lux::PhotonProcess >::~KdTree(), MemoryArena::~MemoryArena(), lux::MetropolisSampler::~MetropolisSampler(), lux::random::RandomGenerator::~RandomGenerator(), lux::RandomSampler::~RandomSampler(), lux::Sample::~Sample(), lux::TaBRecKdTreeAccel::~TaBRecKdTreeAccel(), and lux::UnsafeKdTreeAccel::~UnsafeKdTreeAccel().
SWCSpectrum lux::FresnelApproxEta | ( | const SWCSpectrum & | Fr | ) |
Definition at line 60 of file fresnel.cpp.
References lux::SWCSpectrum::Clamp(), and lux::SWCSpectrum::Sqrt().
Referenced by lux::ShinyMetal::GetBSDF().
SWCSpectrum lux::FresnelApproxK | ( | const SWCSpectrum & | Fr | ) |
Definition at line 65 of file fresnel.cpp.
References lux::SWCSpectrum::Clamp(), and lux::SWCSpectrum::Sqrt().
Spectrum lux::FromXYZ | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Definition at line 52 of file spectrum.cpp.
Referenced by lux::ExPhotonIntegrator::estimateE(), lux::HarlequinTexture::HarlequinTexture(), lux::ExPhotonIntegrator::LiInternal(), and lux::ExPhotonIntegrator::LPhoton().
float lux::Grad | ( | int | x, | |
int | y, | |||
int | z, | |||
float | dx, | |||
float | dy, | |||
float | dz | |||
) | [inline] |
Definition at line 244 of file sampling.h.
References FoldedRadicalInverse().
Referenced by HaltonShuffleScrambled1D().
void lux::HaltonShuffleScrambled1D | ( | int | nSamples, | |
int | nPixel, | |||
float * | samples | |||
) | [inline] |
Definition at line 293 of file sampling.h.
References Halton(), Shuffle(), and lux::random::uintValue().
Referenced by lux::HaltonSampler::GetNextSample().
void lux::HaltonShuffleScrambled2D | ( | int | nSamples, | |
int | nPixel, | |||
float * | samples | |||
) | [inline] |
Definition at line 302 of file sampling.h.
References SampleHalton(), Shuffle(), and lux::random::uintValue().
Referenced by lux::HaltonSampler::GetNextSample().
float lux::HGPdf | ( | const Vector & | w, | |
const Vector & | wp, | |||
float | g | |||
) |
static bool lux::InsideGamut | ( | const RGBColor & | color | ) | [inline, static] |
[in] | color | A RGB color possibly unrepresentable |
Definition at line 143 of file color.cpp.
References lux::Color::c.
Referenced by lux::ColorSystem::Constrain().
static void lux::inverse | ( | float | matrix[3][3] | ) | [static] |
Definition at line 42 of file color.cpp.
References determinent(), and blender::g.
Referenced by lux::ColorSystem::ColorSystem(), cimg_library::CImgList< T >::FFT(), cimg_library::FFT(), cimg_library::CImgList< T >::get_FFT(), cimg_library::CImg< T >::get_FFT(), cimg_library::CImg< T >::get_haar(), cimg_library::CImg< T >::get_inverse(), cimg_library::CImg< T >::haar(), and cimg_library::haar().
float lux::Lanczos | ( | float | x, | |
float | tau | |||
) |
Definition at line 258 of file texture.cpp.
References M_PI.
Referenced by lux::MIPMapImpl< T, U >::resampleWeights().
Definition at line 238 of file sampling.h.
void lux::LatinHypercube | ( | float * | samples, | |
int | nSamples, | |||
int | nDim | |||
) |
Definition at line 145 of file sampling.cpp.
References lux::random::floatValue(), cimg_library::cimg::swap(), and lux::random::uintValue().
Referenced by lux::SingleScattering::Li(), and lux::BxDF::rho().
void lux::LDShuffleScrambled1D | ( | int | nSamples, | |
int | nPixel, | |||
float * | samples | |||
) | [inline] |
Definition at line 275 of file sampling.h.
References Shuffle(), lux::random::uintValue(), and VanDerCorput().
Referenced by lux::LDSampler::GetNextSample(), and lux::IGIIntegrator::Preprocess().
void lux::LDShuffleScrambled2D | ( | int | nSamples, | |
int | nPixel, | |||
float * | samples | |||
) | [inline] |
Definition at line 284 of file sampling.h.
References Sample02(), Shuffle(), and lux::random::uintValue().
Referenced by lux::LDSampler::GetNextSample(), and lux::IGIIntegrator::Preprocess().
Transform lux::LookAt | ( | const Point & | pos, | |
const Point & | look, | |||
const Vector & | up | |||
) |
Definition at line 114 of file transform.cpp.
References Cross(), Normalize(), lux::Vector::x, lux::Point::x, lux::Vector::y, lux::Point::y, lux::Vector::z, and lux::Point::z.
Referenced by lux::Context::lookAt().
void lux::LuxGuiErrorHandler | ( | int | code, | |
int | severity, | |||
const char * | msg | |||
) |
Primitive * lux::MakeAccelerator | ( | const string & | name, | |
const vector< Primitive * > & | prims, | |||
const ParamSet & | paramSet | |||
) |
Definition at line 811 of file dynload.cpp.
References lux::BruteForceAccel::CreateAccelerator(), lux::GridAccel::CreateAccelerator(), lux::TaBRecKdTreeAccel::CreateAccelerator(), lux::UnsafeKdTreeAccel::CreateAccelerator(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::RenderOptions::MakeScene(), lux::Context::objectInstance(), and lux::ShapeSet::ShapeSet().
AreaLight * lux::MakeAreaLight | ( | const string & | name, | |
const Transform & | light2world, | |||
const ParamSet & | paramSet, | |||
const boost::shared_ptr< Shape > & | shape | |||
) |
Definition at line 655 of file dynload.cpp.
References lux::AreaLight::CreateAreaLight(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::shape().
Camera * lux::MakeCamera | ( | const string & | name, | |
const ParamSet & | paramSet, | |||
const Transform & | world2cam, | |||
Film * | film | |||
) |
Definition at line 852 of file dynload.cpp.
References lux::RealisticCamera::CreateCamera(), lux::PerspectiveCamera::CreateCamera(), lux::OrthoCamera::CreateCamera(), lux::EnvironmentCamera::CreateCamera(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::RenderOptions::MakeScene().
Film * lux::MakeFilm | ( | const string & | name, | |
const ParamSet & | paramSet, | |||
Filter * | filter | |||
) |
Definition at line 1041 of file dynload.cpp.
References lux::FlexImageFilm::CreateFilm(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::RenderOptions::MakeScene().
Filter * lux::MakeFilter | ( | const string & | name, | |
const ParamSet & | paramSet | |||
) |
Definition at line 952 of file dynload.cpp.
References lux::TriangleFilter::CreateFilter(), lux::LanczosSincFilter::CreateFilter(), lux::MitchellFilter::CreateFilter(), lux::GaussianFilter::CreateFilter(), lux::BoxFilter::CreateFilter(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::RenderOptions::MakeScene().
boost::shared_ptr< Texture< float > > lux::MakeFloatTexture | ( | const string & | name, | |
const Transform & | tex2world, | |||
const TextureParams & | tp | |||
) |
Definition at line 331 of file dynload.cpp.
References lux::BlenderVoronoiTexture3D< T >::CreateFloatTexture(), lux::BlenderMagicTexture3D< T >::CreateFloatTexture(), lux::BlenderNoiseTexture3D< T >::CreateFloatTexture(), lux::BlenderStucciTexture3D< T >::CreateFloatTexture(), lux::BlenderDistortedNoiseTexture3D< T >::CreateFloatTexture(), lux::BlenderBlendTexture3D< T >::CreateFloatTexture(), lux::BlenderCloudsTexture3D< T >::CreateFloatTexture(), lux::BlenderWoodTexture3D< T >::CreateFloatTexture(), lux::BlenderMarbleTexture3D< T >::CreateFloatTexture(), lux::BlenderMusgraveTexture3D< T >::CreateFloatTexture(), lux::WrinkledTexture< T >::CreateFloatTexture(), lux::WindyTexture< T >::CreateFloatTexture(), lux::UVTexture::CreateFloatTexture(), lux::ScaleTexture< T1, T2 >::CreateFloatTexture(), lux::MixTexture< T >::CreateFloatTexture(), lux::MarbleTexture::CreateFloatTexture(), lux::ImageTexture< T >::CreateFloatTexture(), lux::FBmTexture< T >::CreateFloatTexture(), lux::DotsTexture< T >::CreateFloatTexture(), lux::Constant::CreateFloatTexture(), lux::Checkerboard::CreateFloatTexture(), lux::BilerpTexture< T >::CreateFloatTexture(), LUX_BUG, LUX_ERROR, luxError, and lux::TextureParams::ReportUnused().
Referenced by lux::Context::texture().
Light * lux::MakeLight | ( | const string & | name, | |
const Transform & | light2world, | |||
const ParamSet & | paramSet | |||
) |
Definition at line 594 of file dynload.cpp.
References lux::SkyLight::CreateLight(), lux::SunLight::CreateLight(), lux::SpotLight::CreateLight(), lux::ProjectionLight::CreateLight(), lux::PointLight::CreateLight(), lux::InfiniteAreaLight::CreateLight(), lux::InfiniteAreaLightIS::CreateLight(), lux::GonioPhotometricLight::CreateLight(), lux::DistantLight::CreateLight(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::lightSource().
boost::shared_ptr< Material > lux::MakeMaterial | ( | const string & | name, | |
const Transform & | mtl2world, | |||
const TextureParams & | mp | |||
) |
Definition at line 247 of file dynload.cpp.
References lux::MixMaterial::CreateMaterial(), lux::Null::CreateMaterial(), lux::Metal::CreateMaterial(), lux::CarPaint::CreateMaterial(), lux::Substrate::CreateMaterial(), lux::ShinyMetal::CreateMaterial(), lux::Plastic::CreateMaterial(), lux::Mirror::CreateMaterial(), lux::MatteTranslucent::CreateMaterial(), lux::Matte::CreateMaterial(), lux::RoughGlass::CreateMaterial(), lux::Glass::CreateMaterial(), LUX_BUG, LUX_ERROR, luxError, and lux::TextureParams::ReportUnused().
Referenced by lux::Context::makemixmaterial(), lux::Context::portalShape(), and lux::Context::shape().
Sampler * lux::MakeSampler | ( | const string & | name, | |
const ParamSet & | paramSet, | |||
const Film * | film | |||
) |
Definition at line 891 of file dynload.cpp.
References lux::ERPTSampler::CreateSampler(), lux::MetropolisSampler::CreateSampler(), lux::HaltonSampler::CreateSampler(), lux::RandomSampler::CreateSampler(), lux::LDSampler::CreateSampler(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::RenderOptions::MakeScene().
boost::shared_ptr<Shape> lux::MakeShape | ( | const string & | name, | |
const Transform & | object2world, | |||
bool | reverseOrientation, | |||
const ParamSet & | paramSet, | |||
std::map< string, boost::shared_ptr< Texture< float > > > * | floatTextures = NULL | |||
) |
boost::shared_ptr<Shape> lux::MakeShape | ( | const string & | name, | |
const Transform & | object2world, | |||
bool | reverseOrientation, | |||
const ParamSet & | paramSet, | |||
map< string, boost::shared_ptr< Texture< float > > > * | floatTextures | |||
) |
Definition at line 172 of file dynload.cpp.
References lux::LensComponent::CreateShape(), lux::PlyMesh::CreateShape(), lux::WaldTriangleMesh::CreateShape(), lux::BaryTriangleMesh::CreateShape(), lux::Sphere::CreateShape(), lux::Paraboloid::CreateShape(), lux::NURBS::CreateShape(), lux::LoopSubdiv::CreateShape(), lux::Hyperboloid::CreateShape(), lux::Heightfield::CreateShape(), lux::Disk::CreateShape(), lux::Cylinder::CreateShape(), lux::Cone::CreateShape(), LUX_BUG, LUX_ERROR, and luxError.
Referenced by lux::RealisticCamera::ParseLensData(), lux::Context::portalShape(), lux::NURBS::Refine(), lux::LoopSubdiv::Refine(), lux::Heightfield::Refine(), and lux::Context::shape().
boost::shared_ptr< Texture< Spectrum > > lux::MakeSpectrumTexture | ( | const string & | name, | |
const Transform & | tex2world, | |||
const TextureParams & | tp | |||
) |
Definition at line 460 of file dynload.cpp.
References lux::BlenderVoronoiTexture3D< T >::CreateSpectrumTexture(), lux::BlenderMagicTexture3D< T >::CreateSpectrumTexture(), lux::BlenderNoiseTexture3D< T >::CreateSpectrumTexture(), lux::BlenderStucciTexture3D< T >::CreateSpectrumTexture(), lux::BlenderDistortedNoiseTexture3D< T >::CreateSpectrumTexture(), lux::BlenderBlendTexture3D< T >::CreateSpectrumTexture(), lux::BlenderCloudsTexture3D< T >::CreateSpectrumTexture(), lux::BlenderWoodTexture3D< T >::CreateSpectrumTexture(), lux::BlenderMarbleTexture3D< T >::CreateSpectrumTexture(), lux::BlenderMusgraveTexture3D< T >::CreateSpectrumTexture(), lux::HarlequinTexture::CreateSpectrumTexture(), lux::WrinkledTexture< T >::CreateSpectrumTexture(), lux::WindyTexture< T >::CreateSpectrumTexture(), lux::UVTexture::CreateSpectrumTexture(), lux::ScaleTexture< T1, T2 >::CreateSpectrumTexture(), lux::MixTexture< T >::CreateSpectrumTexture(), lux::MarbleTexture::CreateSpectrumTexture(), lux::ImageTexture< T >::CreateSpectrumTexture(), lux::FBmTexture< T >::CreateSpectrumTexture(), lux::DotsTexture< T >::CreateSpectrumTexture(), lux::Constant::CreateSpectrumTexture(), lux::Checkerboard::CreateSpectrumTexture(), lux::BilerpTexture< T >::CreateSpectrumTexture(), LUX_BUG, LUX_ERROR, luxError, and lux::TextureParams::ReportUnused().
Referenced by lux::Context::texture().
SurfaceIntegrator * lux::MakeSurfaceIntegrator | ( | const string & | name, | |
const ParamSet & | paramSet | |||
) |
Definition at line 714 of file dynload.cpp.
References lux::ExPhotonIntegrator::CreateSurfaceIntegrator(), lux::BidirIntegrator::CreateSurfaceIntegrator(), lux::ParticleTracingIntegrator::CreateSurfaceIntegrator(), lux::Path2Integrator::CreateSurfaceIntegrator(), lux::PathIntegrator::CreateSurfaceIntegrator(), lux::DirectLighting::CreateSurfaceIntegrator(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::RenderOptions::MakeScene().
ToneMap * lux::MakeToneMap | ( | const string & | name, | |
const ParamSet & | paramSet | |||
) |
Definition at line 999 of file dynload.cpp.
References lux::ReinhardOp::CreateToneMap(), lux::NonLinearOp::CreateToneMap(), lux::MaxWhiteOp::CreateToneMap(), lux::HighContrastOp::CreateToneMap(), lux::ContrastOp::CreateToneMap(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by ApplyImagingPipeline().
VolumeIntegrator * lux::MakeVolumeIntegrator | ( | const string & | name, | |
const ParamSet & | paramSet | |||
) |
Definition at line 780 of file dynload.cpp.
References lux::EmissionIntegrator::CreateVolumeIntegrator(), lux::SingleScattering::CreateVolumeIntegrator(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::RenderOptions::MakeScene().
VolumeRegion * lux::MakeVolumeRegion | ( | const string & | name, | |
const Transform & | volume2world, | |||
const ParamSet & | paramSet | |||
) |
Definition at line 680 of file dynload.cpp.
References lux::VolumeGrid::CreateVolumeRegion(), lux::HomogeneousVolume::CreateVolumeRegion(), lux::ExponentialDensity::CreateVolumeRegion(), LUX_BUG, LUX_ERROR, luxError, and lux::ParamSet::ReportUnused().
Referenced by lux::Context::volume().
static void lux::multiply | ( | const float | a[3][3], | |
const float | b[3][3], | |||
float | result[3][3] | |||
) | [static] |
static void lux::multiply | ( | const float | matrix[3][3], | |
const float | vector[3], | |||
float | result[3] | |||
) | [static] |
float lux::Noise | ( | const Point & | P | ) |
Definition at line 203 of file texture.cpp.
References Noise(), lux::Point::x, lux::Point::y, and lux::Point::z.
float lux::Noise | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Definition at line 173 of file texture.cpp.
References Floor2Int(), Grad(), Lerp(), NOISE_PERM_SIZE, and NoiseWeight().
Referenced by lux::DotsTexture< T >::Evaluate(), FBm(), Noise(), and Turbulence().
float lux::NoiseWeight | ( | float | t | ) | [inline] |
Normal lux::Normalize | ( | const Normal & | n | ) | [inline] |
Definition at line 101 of file geometry.h.
References lux::Normal::Length().
Referenced by SkyBxDF::f(), and PerspectiveBxDF::Sample_f().
Vector lux::Normalize | ( | const Vector & | v | ) | [inline] |
Definition at line 79 of file geometry.h.
References lux::Vector::Length().
Referenced by lux::LoopSubdiv::ApplyDisplacementMap(), lux::PerspectiveCamera::AutoFocus(), lux::BSDF::BSDF(), lux::Material::Bump(), lux::SpotLight::CreateLight(), lux::SkyLight::CreateLight(), lux::CylindricalMapping2D::cylinder(), lux::DifferentialGeometry::DifferentialGeometry(), lux::DistantLight::DistantLight(), lux::BidirIntegrator::evalPath(), lux::ExponentialDensity::ExponentialDensity(), lux::Microfacet::f(), lux::FresnelBlend::f(), lux::CookTorrance::f(), lux::SpotLight::Falloff(), lux::BidirIntegrator::G(), lux::RealisticCamera::GenerateRay(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::EnvironmentCamera::GenerateSample(), lux::WaldTriangle::GetShadingGeometry(), lux::BaryTriangle::GetShadingGeometry(), lux::SkyLight::InitSunThetaPhi(), lux::Sphere::Intersect(), lux::InstancePrimitive::Intersect(), lux::Paraboloid::Intersect(), lux::Hyperboloid::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::BaryTriangle::Intersect(), lux::SkyLight::Le(), lux::InfiniteAreaLightIS::Le(), lux::InfiniteAreaLight::Le(), lux::ParticleTracingIntegrator::Li(), lux::IGIIntegrator::Li(), lux::BidirIntegrator::Li(), LookAt(), lux::WardIsotropic::Pdf(), lux::Lafortune::Pdf(), lux::Blinn::Pdf(), lux::Beckmann::Pdf(), lux::Anisotropic::Pdf(), lux::NURBS::Refine(), Rotate(), lux::Sphere::Sample(), lux::Disk::Sample(), lux::Cylinder::Sample(), lux::BaryTriangle::Sample(), lux::Lafortune::Sample_f(), lux::SpotLight::Sample_L(), lux::SkyLight::Sample_L(), lux::ProjectionLight::Sample_L(), lux::PointLight::Sample_L(), lux::InfiniteAreaLightIS::Sample_L(), lux::InfiniteAreaLight::Sample_L(), lux::GonioPhotometricLight::Sample_L(), lux::AreaLight::Sample_L(), lux::GonioPhotometricLight::Scale(), lux::SphericalMapping2D::sphere(), lux::SunLight::SunLight(), lux::VisibilityTester::TestOcclusion(), and lux::WaldTriangle::WaldTriangle().
Vector lux::operator* | ( | float | f, | |
const Vector & | v | |||
) | [inline] |
Point lux::operator* | ( | float | f, | |
const Point & | p | |||
) | [inline] |
Definition at line 110 of file core/geometry/point.h.
Normal lux::operator* | ( | float | f, | |
const Normal & | n | |||
) | [inline] |
Definition at line 96 of file normal.h.
References lux::Normal::x, lux::Normal::y, and lux::Normal::z.
ostream& lux::operator<< | ( | ostream & | os, | |
const Vector & | v | |||
) | [inline] |
Definition at line 110 of file vector.h.
References lux::Vector::x, lux::Vector::y, and lux::Vector::z.
ostream& lux::operator<< | ( | ostream & | os, | |
const Transform & | t | |||
) |
ostream& lux::operator<< | ( | ostream & | os, | |
Ray & | r | |||
) | [inline] |
Definition at line 49 of file ray.h.
References lux::Ray::d, lux::Ray::maxt, lux::Ray::mint, lux::Ray::o, and lux::Ray::time.
ostream& lux::operator<< | ( | ostream & | os, | |
const Point & | v | |||
) | [inline] |
Definition at line 106 of file core/geometry/point.h.
References lux::Point::x, lux::Point::y, and lux::Point::z.
ostream& lux::operator<< | ( | ostream & | os, | |
const Normal & | v | |||
) | [inline] |
Definition at line 103 of file normal.h.
References lux::Normal::x, lux::Normal::y, and lux::Normal::z.
ostream& lux::operator<< | ( | ostream & | os, | |
const BBox & | b | |||
) | [inline] |
ostream& lux::operator<< | ( | ostream & | os, | |
const XYZColor & | s | |||
) | [inline] |
ostream& lux::operator<< | ( | ostream & | os, | |
const RGBColor & | s | |||
) | [inline] |
Transform lux::Orthographic | ( | float | znear, | |
float | zfar | |||
) |
Transform lux::Perspective | ( | float | fov, | |
float | n, | |||
float | f | |||
) |
Definition at line 223 of file transform.cpp.
References Radians(), and Scale().
Referenced by lux::ProjectionLight::ProjectionLight().
float lux::PhaseHG | ( | const Vector & | w, | |
const Vector & | wp, | |||
float | g | |||
) |
Definition at line 46 of file volume.cpp.
Referenced by HGPdf(), lux::DensityRegion::p(), and lux::HomogeneousVolume::p().
float lux::PhaseIsotropic | ( | const Vector & | , | |
const Vector & | ||||
) |
float lux::PhaseMieHazy | ( | const Vector & | w, | |
const Vector & | wp | |||
) |
float lux::PhaseMieMurky | ( | const Vector & | w, | |
const Vector & | wp | |||
) |
float lux::PhaseRayleigh | ( | const Vector & | w, | |
const Vector & | wp | |||
) |
float lux::PhaseSchlick | ( | const Vector & | w, | |
const Vector & | wp, | |||
float | g | |||
) |
float lux::PowerHeuristic | ( | int | nf, | |
float | fPdf, | |||
int | ng, | |||
float | gPdf | |||
) | [inline] |
Definition at line 66 of file mc.h.
References blender::g.
Referenced by EstimateDirect(), and lux::ExPhotonIntegrator::LiInternal().
double lux::RadicalInverse | ( | int | n, | |
int | base | |||
) | [inline] |
Definition at line 194 of file sampling.h.
Referenced by lux::HarlequinTexture::HarlequinTexture(), lux::PhotonIntegrator::Preprocess(), and lux::ExPhotonIntegrator::Preprocess().
Spectrum* lux::ReadIgiImage | ( | const string & | name, | |
int * | width, | |||
int * | height | |||
) |
ImageData * lux::ReadImage | ( | const string & | name | ) |
Definition at line 221 of file exrio.cpp.
References LUX_BADFILE, LUX_ERROR, LUX_NOFILE, luxError, lux::StandardImageReader< T >::read(), lux::ExrImageReader::read(), and lux::ImageData::setIsExrImage().
Referenced by lux::ImageTexture< T >::GetTexture(), lux::GonioPhotometricLight::GonioPhotometricLight(), lux::InfiniteAreaLight::InfiniteAreaLight(), lux::InfiniteAreaLightIS::InfiniteAreaLightIS(), and lux::ProjectionLight::ProjectionLight().
void lux::RejectionSampleDisk | ( | float | u1, | |
float | u2, | |||
float * | x, | |||
float * | y | |||
) |
void lux::RejectionSampleDisk | ( | float * | x, | |
float * | y | |||
) |
Transform lux::Rotate | ( | float | angle, | |
const Vector & | axis | |||
) |
Definition at line 85 of file transform.cpp.
References Normalize(), Radians(), lux::Vector::x, lux::Vector::y, and lux::Vector::z.
Referenced by lux::Context::rotate().
Transform lux::RotateX | ( | float | angle | ) |
Definition at line 57 of file transform.cpp.
References Radians().
Referenced by lux::IdentityMapping3D::Apply3DTextureMappingOptions().
Transform lux::RotateY | ( | float | angle | ) |
Definition at line 66 of file transform.cpp.
References Radians().
Referenced by lux::IdentityMapping3D::Apply3DTextureMappingOptions().
Transform lux::RotateZ | ( | float | angle | ) |
Definition at line 76 of file transform.cpp.
References Radians().
Referenced by lux::IdentityMapping3D::Apply3DTextureMappingOptions().
bool lux::SameHemisphere | ( | const Vector & | w, | |
const Vector & | wp | |||
) | [inline] |
Definition at line 49 of file bxdf.h.
References lux::Vector::z.
Referenced by lux::Microfacet::Pdf(), lux::Lafortune::Pdf(), lux::FresnelBlend::Pdf(), lux::CookTorrance::Pdf(), lux::BxDF::Pdf(), lux::WardIsotropic::Sample_f(), lux::Microfacet::Sample_f(), lux::Lafortune::Sample_f(), lux::Blinn::Sample_f(), and lux::Beckmann::Sample_f().
Definition at line 269 of file sampling.h.
References Sobol2(), and VanDerCorput().
Referenced by lux::IrradianceCache::IndirectLo(), and LDShuffleScrambled2D().
Definition at line 258 of file sampling.h.
References FoldedRadicalInverse().
Referenced by HaltonShuffleScrambled2D().
Vector lux::SampleHG | ( | const Vector & | w, | |
float | g, | |||
float | u1, | |||
float | u2 | |||
) |
Definition at line 164 of file mc.cpp.
References CoordinateSystem(), M_PI, cimg_library::max(), and SphericalDirection().
float lux::SampleStep1d | ( | float * | f, | |
float * | cdf, | |||
float | c, | |||
int | nSteps, | |||
float | u, | |||
float * | ||||
) |
Definition at line 46 of file mc.cpp.
Referenced by lux::IGIIntegrator::Preprocess(), lux::ExPhotonIntegrator::Preprocess(), and WeightedSampleOneLight().
Transform lux::Scale | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Definition at line 46 of file transform.cpp.
Referenced by lux::IdentityMapping3D::Apply3DTextureMappingOptions(), Orthographic(), Perspective(), lux::ProjectiveCamera::ProjectiveCamera(), lux::RealisticCamera::RealisticCamera(), and lux::Context::scale().
void lux::Shuffle | ( | float * | samp, | |
int | count, | |||
int | dims | |||
) |
Definition at line 138 of file sampling.cpp.
References cimg_library::cimg::swap(), and lux::random::uintValue().
Referenced by lux::MetropolisSampler::GetNextSample(), lux::ERPTSampler::GetNextSample(), HaltonShuffleScrambled1D(), HaltonShuffleScrambled2D(), LDShuffleScrambled1D(), and LDShuffleScrambled2D().
float lux::SinPhi | ( | const Vector & | w | ) | [inline] |
Definition at line 46 of file bxdf.h.
References SinTheta(), and lux::Vector::y.
Referenced by lux::OrenNayar::f().
float lux::SinTheta | ( | const Vector & | w | ) | [inline] |
Definition at line 37 of file bxdf.h.
References cimg_library::max(), and lux::Vector::z.
Referenced by CosPhi(), lux::OrenNayar::f(), and SinPhi().
float lux::SinTheta2 | ( | const Vector & | w | ) | [inline] |
Definition at line 40 of file bxdf.h.
References CosTheta().
Referenced by lux::SpecularTransmission::f(), and lux::SpecularTransmission::Sample_f().
Definition at line 232 of file sampling.h.
Referenced by lux::LowdiscrepancyPixelSampler::GetNextPixel(), and Sample02().
bool lux::SolveLinearSystem2x2 | ( | const float | A[2][2], | |
const float | B[2], | |||
float | x[2] | |||
) |
Definition at line 111 of file util.cpp.
Referenced by lux::DifferentialGeometry::ComputeDifferentials(), lux::WaldTriangle::GetShadingGeometry(), and lux::BaryTriangle::GetShadingGeometry().
Vector lux::SphericalDirection | ( | float | sintheta, | |
float | costheta, | |||
float | phi, | |||
const Vector & | x, | |||
const Vector & | y, | |||
const Vector & | z | |||
) | [inline] |
Definition at line 131 of file geometry.h.
Vector lux::SphericalDirection | ( | float | sintheta, | |
float | costheta, | |||
float | phi | |||
) | [inline] |
Definition at line 125 of file geometry.h.
Referenced by lux::WardIsotropic::Sample_f(), lux::Lafortune::Sample_f(), lux::Blinn::Sample_f(), lux::Beckmann::Sample_f(), lux::Anisotropic::Sample_f(), and SampleHG().
float lux::SphericalPhi | ( | const Vector & | v | ) | [inline] |
Definition at line 143 of file geometry.h.
References M_PI, blender::p, lux::Vector::x, and lux::Vector::y.
Referenced by SkyBxDF::f(), lux::SkyLight::InitSunThetaPhi(), lux::SkyLight::Le(), lux::InfiniteAreaLightIS::Le(), lux::InfiniteAreaLight::Le(), lux::InfiniteAreaLightIS::Pdf(), lux::GonioPhotometricLight::Scale(), lux::SphericalMapping2D::sphere(), and lux::SunLight::SunLight().
float lux::SphericalTheta | ( | const Vector & | v | ) | [inline] |
Definition at line 140 of file geometry.h.
References Clamp(), and lux::Vector::z.
Referenced by SkyBxDF::f(), lux::SkyLight::InitSunThetaPhi(), lux::SkyLight::Le(), lux::InfiniteAreaLightIS::Le(), lux::InfiniteAreaLight::Le(), lux::InfiniteAreaLightIS::Pdf(), lux::GonioPhotometricLight::Scale(), lux::SphericalMapping2D::sphere(), and lux::SunLight::SunLight().
void lux::StatsCleanup | ( | ) |
void lux::StatsPrint | ( | FILE * | dest | ) |
Definition at line 172 of file util.cpp.
References StatTracker::category, StatTracker::name, StatTracker::percentage, StatTracker::ptra, StatTracker::ptrb, and StatsPrintVal().
Referenced by lux::Context::worldEnd().
static void lux::StatsPrintVal | ( | FILE * | f, | |
StatsCounterType | v1, | |||
StatsCounterType | v2 | |||
) | [static] |
static void lux::StatsPrintVal | ( | FILE * | f, | |
StatsCounterType | v | |||
) | [static] |
void lux::StratifiedSample1D | ( | float * | samp, | |
int | nSamples, | |||
bool | jitter | |||
) |
void lux::StratifiedSample2D | ( | float * | samp, | |
int | nx, | |||
int | ny, | |||
bool | jitter | |||
) |
Definition at line 127 of file sampling.cpp.
References lux::random::floatValue().
Referenced by lux::Checkerboard3D< T >::Evaluate(), lux::Checkerboard2D< T >::Evaluate(), lux::MetropolisSampler::GetNextSample(), and lux::ERPTSampler::GetNextSample().
void lux::TransformAccordingNormal | ( | const Normal & | nn, | |
const Vector & | woL, | |||
Vector * | woW | |||
) |
Definition at line 197 of file transform.cpp.
References Cross(), cimg_library::sqrt(), lux::Normal::x, lux::Vector::x, lux::Normal::y, lux::Vector::y, lux::Vector::z, and lux::Normal::z.
Referenced by lux::AreaLight::SampleDirection().
Transform lux::Translate | ( | const Vector & | delta | ) |
Definition at line 35 of file transform.cpp.
References lux::Vector::x, lux::Vector::y, and lux::Vector::z.
Referenced by lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), Orthographic(), lux::RealisticCamera::ParseLensData(), lux::ProjectiveCamera::ProjectiveCamera(), lux::RealisticCamera::RealisticCamera(), and lux::Context::translate().
float lux::Turbulence | ( | const Point & | P, | |
const Vector & | dpdx, | |||
const Vector & | dpdy, | |||
float | omega, | |||
int | maxOctaves | |||
) |
Definition at line 238 of file texture.cpp.
References Floor2Int(), lux::Vector::LengthSquared(), Log2(), cimg_library::max(), cimg_library::min(), Noise(), and SmoothStep().
Referenced by lux::WrinkledTexture< T >::Evaluate().
float lux::UniformConePdf | ( | float | cosThetaMax | ) |
Definition at line 144 of file mc.cpp.
References M_PI.
Referenced by lux::SunLight::Le(), lux::ExPhotonIntegrator::LiInternal(), lux::SunLight::Pdf(), SunBxDF::Pdf(), lux::Sphere::Pdf(), PerspectiveBxDF::Pdf(), SunBxDF::Sample_f(), PerspectiveBxDF::Sample_f(), lux::SunLight::Sample_L(), lux::SpotLight::Sample_L(), and lux::ProjectionLight::Sample_L().
float lux::UniformHemispherePdf | ( | float | theta, | |
float | phi | |||
) |
SWCSpectrum lux::UniformSampleAllLights | ( | const Scene * | scene, | |
const Point & | p, | |||
const Normal & | n, | |||
const Vector & | wo, | |||
BSDF * | bsdf, | |||
const Sample * | sample, | |||
float * | lightSample, | |||
float * | lightNum, | |||
float * | bsdfSample, | |||
float * | bsdfComponent | |||
) |
Definition at line 81 of file transport.cpp.
References EstimateDirect(), lux::random::floatValue(), and lux::Scene::lights.
SWCSpectrum lux::UniformSampleAllLights | ( | const Scene * | scene, | |
const Point & | p, | |||
const Normal & | n, | |||
const Vector & | wo, | |||
BSDF * | bsdf, | |||
const Sample * | sample, | |||
int * | lightSampleOffset, | |||
int * | bsdfSampleOffset, | |||
int * | bsdfComponentOffset | |||
) |
Definition at line 41 of file transport.cpp.
References EstimateDirect(), lux::random::floatValue(), lux::Scene::lights, lux::Sample::n2D, and lux::Sample::twoD.
Referenced by lux::PhotonIntegrator::Li(), lux::Path2Integrator::Li(), lux::PathIntegrator::Li(), lux::IrradianceCache::Li(), lux::IGIIntegrator::Li(), lux::ExPhotonIntegrator::LiInternal(), and lux::DirectLighting::LiInternal().
Vector lux::UniformSampleCone | ( | float | u1, | |
float | u2, | |||
float | costhetamax, | |||
const Vector & | x, | |||
const Vector & | y, | |||
const Vector & | z | |||
) |
Vector lux::UniformSampleCone | ( | float | u1, | |
float | u2, | |||
float | costhetamax | |||
) |
Definition at line 147 of file mc.cpp.
Referenced by lux::ExPhotonIntegrator::LiInternal(), lux::Sphere::Sample(), lux::SunLight::Sample_L(), lux::SpotLight::Sample_L(), and lux::ProjectionLight::Sample_L().
void lux::UniformSampleDisk | ( | float | u1, | |
float | u2, | |||
float * | x, | |||
float * | y | |||
) |
Vector lux::UniformSampleHemisphere | ( | float | u1, | |
float | u2 | |||
) |
Definition at line 65 of file mc.cpp.
References M_PI, and cimg_library::max().
Referenced by lux::BxDF::rho().
SWCSpectrum lux::UniformSampleOneLight | ( | const Scene * | scene, | |
const Point & | p, | |||
const Normal & | n, | |||
const Vector & | wo, | |||
BSDF * | bsdf, | |||
const Sample * | sample, | |||
float * | lightSample, | |||
float * | lightNum, | |||
float * | bsdfSample, | |||
float * | bsdfComponent | |||
) |
Definition at line 117 of file transport.cpp.
References EstimateDirect(), lux::random::floatValue(), Floor2Int(), lux::Scene::lights, and cimg_library::min().
Referenced by lux::IrradianceCache::IndirectLo(), lux::Path2Integrator::Li(), lux::PathIntegrator::Li(), lux::ExPhotonIntegrator::LiInternal(), and lux::DirectLighting::LiInternal().
Vector lux::UniformSampleSphere | ( | float | u1, | |
float | u2 | |||
) |
Definition at line 76 of file mc.cpp.
References M_PI, and cimg_library::max().
Referenced by lux::Sphere::Sample(), lux::SkyLight::Sample_L(), lux::PointLight::Sample_L(), lux::InfiniteAreaLightIS::Sample_L(), lux::InfiniteAreaLight::Sample_L(), lux::GonioPhotometricLight::Sample_L(), and lux::AreaLight::Sample_L().
void lux::UniformSampleTriangle | ( | float | u1, | |
float | u2, | |||
float * | u, | |||
float * | v | |||
) |
Definition at line 138 of file mc.cpp.
Referenced by lux::WaldTriangle::Sample(), and lux::BaryTriangle::Sample().
float lux::UniformSpherePdf | ( | ) |
Definition at line 84 of file mc.cpp.
References M_PI.
Referenced by lux::SkyLight::Sample_L(), lux::PointLight::Sample_L(), lux::InfiniteAreaLight::Sample_L(), and lux::GonioPhotometricLight::Sample_L().
Definition at line 40 of file geometry.cpp.
References cimg_library::max(), cimg_library::min(), lux::BBox::pMax, lux::BBox::pMin, lux::Point::x, lux::Point::y, and lux::Point::z.
Definition at line 30 of file geometry.cpp.
References cimg_library::max(), cimg_library::min(), lux::BBox::pMax, lux::BBox::pMin, lux::Point::x, lux::Point::y, and lux::Point::z.
Referenced by lux::AggregateVolume::AggregateVolume(), lux::BruteForceAccel::BruteForceAccel(), lux::GridAccel::GridAccel(), lux::WaldTriangle::ObjectBound(), lux::WaldTriangleMesh::ObjectBound(), lux::ShapeSet::ObjectBound(), lux::PlyMesh::ObjectBound(), lux::NURBS::ObjectBound(), lux::LoopSubdiv::ObjectBound(), lux::BaryTriangle::ObjectBound(), lux::BaryTriangleMesh::ObjectBound(), lux::Transform::operator()(), lux::KdTree< NodeData, LookupProc >::recursiveBuild(), lux::Scene::Scene(), lux::TaBRecKdTreeAccel::TaBRecKdTreeAccel(), lux::UnsafeKdTreeAccel::UnsafeKdTreeAccel(), lux::WaldTriangle::WorldBound(), lux::WaldTriangleMesh::WorldBound(), lux::PlyMesh::WorldBound(), lux::NURBS::WorldBound(), lux::LoopSubdiv::WorldBound(), lux::BaryTriangle::WorldBound(), and lux::BaryTriangleMesh::WorldBound().
void lux::UpdatePluginPath | ( | const string & | newpath | ) |
Definition at line 222 of file sampling.h.
Referenced by lux::LowdiscrepancyPixelSampler::GetNextPixel(), LDShuffleScrambled1D(), and Sample02().
static int lux::VertexCB | ( | p_ply_argument | argument | ) | [static] |
Definition at line 33 of file plymesh.cpp.
References lux::PlyMesh::p, ply_get_argument_element(), ply_get_argument_user_data(), ply_get_argument_value(), lux::Point::x, lux::Point::y, and lux::Point::z.
Referenced by lux::PlyMesh::PlyMesh().
SWCSpectrum lux::WeightedSampleOneLight | ( | const Scene * | scene, | |
const Point & | p, | |||
const Normal & | n, | |||
const Vector & | wo, | |||
BSDF * | bsdf, | |||
const Sample * | sample, | |||
int | lightSampleOffset, | |||
int | lightNumOffset, | |||
int | bsdfSampleOffset, | |||
int | bsdfComponentOffset, | |||
float *& | avgY, | |||
float *& | avgYsample, | |||
float *& | cdf, | |||
float & | overallAvgY | |||
) |
Definition at line 159 of file transport.cpp.
References ComputeStep1dCDF(), EstimateDirect(), Float2Int(), lux::random::floatValue(), Lerp(), lux::Scene::lights, cimg_library::max(), cimg_library::min(), lux::Sample::oneD, SampleStep1d(), lux::Sample::twoD, and lux::SWCSpectrum::y().
void lux::WriteIgiImage | ( | const string & | name, | |
float * | pixels, | |||
float * | alpha, | |||
int | xRes, | |||
int | yRes, | |||
int | totalXRes, | |||
int | totalYRes, | |||
int | xOffset, | |||
int | yOffset | |||
) |
Definition at line 46 of file igiio.cpp.
References lux::IndigoImageHeader::format_version, lux::IndigoImageHeader::height, lux::IndigoImageHeader::image_data_size, INDIGO_IMAGE_MAGIC_NUMBER, LUX_SEVERE, LUX_SYSTEM, luxError, lux::IndigoImageHeader::magic_number, lux::IndigoImageHeader::num_samples, lux::IndigoImageHeader::supersample_factor, lux::IndigoImageHeader::width, and lux::IndigoImageHeader::zipped.
Referenced by lux::FlexImageFilm::WriteIGIImage().
void lux::WriteRGBAImage | ( | const string & | name, | |
float * | pixels, | |||
float * | alpha, | |||
int | xRes, | |||
int | yRes, | |||
int | totalXRes, | |||
int | totalYRes, | |||
int | xOffset, | |||
int | yOffset | |||
) |
Definition at line 296 of file exrio.cpp.
References LUX_BUG, LUX_SEVERE, and luxError.
Referenced by lux::ImageFilm::WriteImage().
void lux::WriteRGBAImageFloat | ( | const string & | name, | |
float * | pixels, | |||
float * | alpha, | |||
int | xRes, | |||
int | yRes, | |||
int | totalXRes, | |||
int | totalYRes, | |||
int | xOffset, | |||
int | yOffset | |||
) |
Definition at line 343 of file exrio.cpp.
References LUX_BUG, LUX_SEVERE, and luxError.
Referenced by lux::FlexImageFilm::WriteEXRImage().
float lux::_matrix44_sse_ident[16] [static] |
Initial value:
{ 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, }
Definition at line 30 of file matrix4x4-sse.h.
Referenced by lux::Matrix4x4::Matrix4x4().
Definition at line 29 of file checkerboard.cpp.
Referenced by lux::Checkerboard2D< T >::Checkerboard2D(), and lux::Checkerboard2D< T >::Evaluate().
CarPaintData lux::carpaintdata[] [static] |
Definition at line 61 of file carpaint.h.
Referenced by lux::CarPaint::CreateMaterial(), and DataFromName().
const float lux::CIE_X[nCIE] [static] |
const float lux::CIE_Y[nCIE] [static] |
const float lux::CIE_Z[nCIE] [static] |
const int lux::CIEend = 830 [static] |
Definition at line 33 of file xyzbasis.h.
const int lux::CIEstart = 360 [static] |
string lux::DEFAULT_METAL = "aluminum" [static] |
Definition at line 51 of file metal.h.
Referenced by lux::Metal::CreateMaterial(), and IORFromName().
const int lux::illumrgb2spect_bins = 32 [static] |
float lux::illumrgb2spect_blue[] [static] |
Initial value:
{ 1.0570490759328752e+00, 1.0538466912851301e+00, 1.0550494258140670e+00, 1.0530407754701832e+00, 1.0579930596460185e+00, 1.0578439494812371e+00, 1.0583132387180239e+00, 1.0579712943137616e+00, 1.0561884233578465e+00, 1.0571399285426490e+00, 1.0425795187752152e+00, 3.2603084374056102e-01, -1.9255628442412243e-03, -1.2959221137046478e-03, -1.4357356276938696e-03, -1.2963697250337886e-03, -1.9227081162373899e-03, 1.2621152526221778e-03, -1.6095249003578276e-03, -1.3029983817879568e-03, -1.7666600873954916e-03, -1.2325281140280050e-03, 1.0316809673254932e-02, 3.1284512648354357e-02, 8.8773879881746481e-02, 1.3873621740236541e-01, 1.5535067531939065e-01, 1.4878477178237029e-01, 1.6624255403475907e-01, 1.6997613960634927e-01, 1.5769743995852967e-01, 1.9069090525482305e-01 }
Definition at line 140 of file rgbD65_32.h.
Referenced by lux::RGBIllumSPD::init().
float lux::illumrgb2spect_cyan[] [static] |
Initial value:
{ 1.1334479663682135e+00, 1.1266762330194116e+00, 1.1346827504710164e+00, 1.1357395805744794e+00, 1.1356371830149636e+00, 1.1361152989346193e+00, 1.1362179057706772e+00, 1.1364819652587022e+00, 1.1355107110714324e+00, 1.1364060941199556e+00, 1.1360363621722465e+00, 1.1360122641141395e+00, 1.1354266882467030e+00, 1.1363099407179136e+00, 1.1355450412632506e+00, 1.1353732327376378e+00, 1.1349496420726002e+00, 1.1111113947168556e+00, 9.0598740429727143e-01, 6.1160780787465330e-01, 2.9539752170999634e-01, 9.5954200671150097e-02, -1.1650792030826267e-02, -1.2144633073395025e-02, -1.1148167569748318e-02, -1.1997606668458151e-02, -5.0506855475394852e-03, -7.9982745819542154e-03, -9.4722817708236418e-03, -5.5329541006658815e-03, -4.5428914028274488e-03, -1.2541015360921132e-02 }
Definition at line 55 of file rgbD65_32.h.
Referenced by lux::RGBIllumSPD::init().
const float lux::illumrgb2spect_end = 720.f [static] |
float lux::illumrgb2spect_green[] [static] |
Initial value:
{ 2.5168388755514630e-02, 3.9427438169423720e-02, 6.2059571596425793e-03, 7.1120859807429554e-03, 2.1760044649139429e-04, 7.3271839984290210e-12, -2.1623066217181700e-02, 1.5670209409407512e-02, 2.8019603188636222e-03, 3.2494773799897647e-01, 1.0164917292316602e+00, 1.0329476657890369e+00, 1.0321586962991549e+00, 1.0358667411948619e+00, 1.0151235476834941e+00, 1.0338076690093119e+00, 1.0371372378155013e+00, 1.0361377027692558e+00, 1.0229822432557210e+00, 9.6910327335652324e-01, -5.1785923899878572e-03, 1.1131261971061429e-03, 6.6675503033011771e-03, 7.4024315686001957e-04, 2.1591567633473925e-02, 5.1481620056217231e-03, 1.4561928645728216e-03, 1.6414511045291513e-04, -6.4630764968453287e-03, 1.0250854718507939e-02, 4.2387394733956134e-02, 2.1252716926861620e-02 }
Definition at line 123 of file rgbD65_32.h.
Referenced by lux::RGBIllumSPD::init().
float lux::illumrgb2spect_magenta[] [static] |
Initial value:
{ 1.0371892935878366e+00, 1.0587542891035364e+00, 1.0767271213688903e+00, 1.0762706844110288e+00, 1.0795289105258212e+00, 1.0743644742950074e+00, 1.0727028691194342e+00, 1.0732447452056488e+00, 1.0823760816041414e+00, 1.0840545681409282e+00, 9.5607567526306658e-01, 5.5197896855064665e-01, 8.4191094887247575e-02, 8.7940070557041006e-05, -2.3086408335071251e-03, -1.1248136628651192e-03, -7.7297612754989586e-11, -2.7270769006770834e-04, 1.4466473094035592e-02, 2.5883116027169478e-01, 5.2907999827566732e-01, 9.0966624097105164e-01, 1.0690571327307956e+00, 1.0887326064796272e+00, 1.0637622289511852e+00, 1.0201812918094260e+00, 1.0262196688979945e+00, 1.0783085560613190e+00, 9.8333849623218872e-01, 1.0707246342802621e+00, 1.0634247770423768e+00, 1.0150875475729566e+00 }
Definition at line 72 of file rgbD65_32.h.
Referenced by lux::RGBIllumSPD::init().
float lux::illumrgb2spect_red[] [static] |
Initial value:
{ 5.4711187157291841e-02, 5.5609066498303397e-02, 6.0755873790918236e-02, 5.6232948615962369e-02, 4.6169940535708678e-02, 3.8012808167818095e-02, 2.4424225756670338e-02, 3.8983580581592181e-03, -5.6082252172734437e-04, 9.6493871255194652e-04, 3.7341198051510371e-04, -4.3367389093135200e-04, -9.3533962256892034e-05, -1.2354967412842033e-04, -1.4524548081687461e-04, -2.0047691915543731e-04, -4.9938587694693670e-04, 2.7255083540032476e-02, 1.6067405906297061e-01, 3.5069788873150953e-01, 5.7357465538418961e-01, 7.6392091890718949e-01, 8.9144466740381523e-01, 9.6394609909574891e-01, 9.8879464276016282e-01, 9.9897449966227203e-01, 9.8605140403564162e-01, 9.9532502805345202e-01, 9.7433478377305371e-01, 9.9134364616871407e-01, 9.8866287772174755e-01, 9.9713856089735531e-01 }
Definition at line 106 of file rgbD65_32.h.
Referenced by lux::RGBIllumSPD::init().
const float lux::illumrgb2spect_scale = 0.86445f [static] |
const float lux::illumrgb2spect_start = 380.f [static] |
float lux::illumrgb2spect_white[] [static] |
Initial value:
{ 1.1565232050369776e+00, 1.1567225000119139e+00, 1.1566203150243823e+00, 1.1555782088080084e+00, 1.1562175509215700e+00, 1.1567674012207332e+00, 1.1568023194808630e+00, 1.1567677445485520e+00, 1.1563563182952830e+00, 1.1567054702510189e+00, 1.1565134139372772e+00, 1.1564336176499312e+00, 1.1568023181530034e+00, 1.1473147688514642e+00, 1.1339317140561065e+00, 1.1293876490671435e+00, 1.1290515328639648e+00, 1.0504864823782283e+00, 1.0459696042230884e+00, 9.9366687168595691e-01, 9.5601669265393940e-01, 9.2467482033511805e-01, 9.1499944702051761e-01, 8.9939467658453465e-01, 8.9542520751331112e-01, 8.8870566693814745e-01, 8.8222843814228114e-01, 8.7998311373826676e-01, 8.7635244612244578e-01, 8.8000368331709111e-01, 8.8065665428441120e-01, 8.8304706460276905e-01 }
Definition at line 38 of file rgbD65_32.h.
Referenced by lux::RGBIllumSPD::init().
float lux::illumrgb2spect_yellow[] [static] |
Initial value:
{ 2.7756958965811972e-03, 3.9673820990646612e-03, -1.4606936788606750e-04, 3.6198394557748065e-04, -2.5819258699309733e-04, -5.0133191628082274e-05, -2.4437242866157116e-04, -7.8061419948038946e-05, 4.9690301207540921e-02, 4.8515973574763166e-01, 1.0295725854360589e+00, 1.0333210878457741e+00, 1.0368102644026933e+00, 1.0364884018886333e+00, 1.0365427939411784e+00, 1.0368595402854539e+00, 1.0365645405660555e+00, 1.0363938240707142e+00, 1.0367205578770746e+00, 1.0365239329446050e+00, 1.0361531226427443e+00, 1.0348785007827348e+00, 1.0042729660717318e+00, 8.4218486432354278e-01, 7.3759394894801567e-01, 6.5853154500294642e-01, 6.0531682444066282e-01, 5.9549794132420741e-01, 5.9419261278443136e-01, 5.6517682326634266e-01, 5.6061186014968556e-01, 5.8228610381018719e-01 }
Definition at line 89 of file rgbD65_32.h.
Referenced by lux::RGBIllumSPD::init().
const int lux::INDIGO_IMAGE_MAGIC_NUMBER = 66613373 [static] |
const float lux::inv_WAVELENGTH_SAMPLES = 1.f / WAVELENGTH_SAMPLES [static] |
Definition at line 36 of file spectrum.h.
Referenced by lux::SWCSpectrum::filter(), lux::SpectrumWavelengths::Sample(), lux::SWCSpectrum::ToXYZ(), and lux::SWCSpectrum::y().
Definition at line 34 of file xyzbasis.h.
int lux::NoisePerm[2 *NOISE_PERM_SIZE] [static] |
Initial value:
{ 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, 177, 33, 88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, 165, 71, 134, 139, 48, 27, 166, 77, 146, 158, 231, 83, 111, 229, 122, 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244, 102, 143, 54, 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, 200, 196, 135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, 64, 52, 217, 226, 250, 124, 123, 5, 202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, 58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, 154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, 19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, 180, 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, 177, 33, 88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, 165, 71, 134, 139, 48, 27, 166, 77, 146, 158, 231, 83, 111, 229, 122, 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244, 102, 143, 54, 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, 200, 196, 135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, 64, 52, 217, 226, 250, 124, 123, 5, 202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, 58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, 154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, 19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, 180 }
Definition at line 36 of file texture.cpp.
Referenced by Grad().
const int lux::refrgb2spect_bins = 32 [static] |
Definition at line 32 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::refrgb2spect_blue[] [static] |
Initial value:
{ 9.9209771469720676e-01, 9.8876426059369127e-01, 9.9539040744505636e-01, 9.9529317353008218e-01, 9.9181447411633950e-01, 1.0002584039673432e+00, 9.9968478437342512e-01, 9.9988120766657174e-01, 9.8504012146370434e-01, 7.9029849053031276e-01, 5.6082198617463974e-01, 3.3133458513996528e-01, 1.3692410840839175e-01, 1.8914906559664151e-02, -5.1129770932550889e-06, -4.2395493167891873e-04, -4.1934593101534273e-04, 1.7473028136486615e-03, 3.7999160177631316e-03, -5.5101474906588642e-04, -4.3716662898480967e-05, 7.5874501748732798e-03, 2.5795650780554021e-02, 3.8168376532500548e-02, 4.9489586408030833e-02, 4.9595992290102905e-02, 4.9814819505812249e-02, 3.9840911064978023e-02, 3.0501024937233868e-02, 2.1243054765241080e-02, 6.9596532104356399e-03, 4.1733649330980525e-03 }
Definition at line 140 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::refrgb2spect_cyan[] [static] |
Initial value:
{ 1.0414628021426751e+00, 1.0328661533771188e+00, 1.0126146228964314e+00, 1.0350460524836209e+00, 1.0078661447098567e+00, 1.0422280385081280e+00, 1.0442596738499825e+00, 1.0535238290294409e+00, 1.0180776226938120e+00, 1.0442729908727713e+00, 1.0529362541920750e+00, 1.0537034271160244e+00, 1.0533901869215969e+00, 1.0537782700979574e+00, 1.0527093770467102e+00, 1.0530449040446797e+00, 1.0550554640191208e+00, 1.0553673610724821e+00, 1.0454306634683976e+00, 6.2348950639230805e-01, 1.8038071613188977e-01, -7.6303759201984539e-03, -1.5217847035781367e-04, -7.5102257347258311e-03, -2.1708639328491472e-03, 6.5919466602369636e-04, 1.2278815318539780e-02, -4.4669775637208031e-03, 1.7119799082865147e-02, 4.9211089759759801e-03, 5.8762925143334985e-03, 2.5259399415550079e-02 }
Definition at line 55 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
const float lux::refrgb2spect_end = 720.f [static] |
Definition at line 34 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::refrgb2spect_green[] [static] |
Initial value:
{ 2.6494153587602255e-03, -5.0175013429732242e-03, -1.2547236272489583e-02, -9.4554964308388671e-03, -1.2526086181600525e-02, -7.9170697760437767e-03, -7.9955735204175690e-03, -9.3559433444469070e-03, 6.5468611982999303e-02, 3.9572875517634137e-01, 7.5244022299886659e-01, 9.6376478690218559e-01, 9.9854433855162328e-01, 9.9992977025287921e-01, 9.9939086751140449e-01, 9.9994372267071396e-01, 9.9939121813418674e-01, 9.9911237310424483e-01, 9.6019584878271580e-01, 6.3186279338432438e-01, 2.5797401028763473e-01, 9.4014888527335638e-03, -3.0798345608649747e-03, -4.5230367033685034e-03, -6.8933410388274038e-03, -9.0352195539015398e-03, -8.5913667165340209e-03, -8.3690869120289398e-03, -7.8685832338754313e-03, -8.3657578711085132e-06, 5.4301225442817177e-03, -2.7745589759259194e-03 }
Definition at line 123 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::refrgb2spect_magenta[] [static] |
Initial value:
{ 9.9422138151236850e-01, 9.8986937122975682e-01, 9.8293658286116958e-01, 9.9627868399859310e-01, 1.0198955019000133e+00, 1.0166395501210359e+00, 1.0220913178757398e+00, 9.9651666040682441e-01, 1.0097766178917882e+00, 1.0215422470827016e+00, 6.4031953387790963e-01, 2.5012379477078184e-03, 6.5339939555769944e-03, 2.8334080462675826e-03, -5.1209675389074505e-11, -9.0592291646646381e-03, 3.3936718323331200e-03, -3.0638741121828406e-03, 2.2203936168286292e-01, 6.3141140024811970e-01, 9.7480985576500956e-01, 9.7209562333590571e-01, 1.0173770302868150e+00, 9.9875194322734129e-01, 9.4701725739602238e-01, 8.5258623154354796e-01, 9.4897798581660842e-01, 9.4751876096521492e-01, 9.9598944191059791e-01, 8.6301351503809076e-01, 8.9150987853523145e-01, 8.4866492652845082e-01 }
Definition at line 72 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::refrgb2spect_red[] [static] |
Initial value:
{ 1.6575604867086180e-01, 1.1846442802747797e-01, 1.2408293329637447e-01, 1.1371272058349924e-01, 7.8992434518899132e-02, 3.2205603593106549e-02, -1.0798365407877875e-02, 1.8051975516730392e-02, 5.3407196598730527e-03, 1.3654918729501336e-02, -5.9564213545642841e-03, -1.8444365067353252e-03, -1.0571884361529504e-02, -2.9375521078000011e-03, -1.0790476271835936e-02, -8.0224306697503633e-03, -2.2669167702495940e-03, 7.0200240494706634e-03, -8.1528469000299308e-03, 6.0772866969252792e-01, 9.8831560865432400e-01, 9.9391691044078823e-01, 1.0039338994753197e+00, 9.9234499861167125e-01, 9.9926530858855522e-01, 1.0084621557617270e+00, 9.8358296827441216e-01, 1.0085023660099048e+00, 9.7451138326568698e-01, 9.8543269570059944e-01, 9.3495763980962043e-01, 9.8713907792319400e-01 }
Definition at line 106 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
const float lux::refrgb2spect_scale = 0.94112876f [static] |
Definition at line 36 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
const float lux::refrgb2spect_start = 380.f [static] |
Definition at line 33 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::refrgb2spect_white[] [static] |
Initial value:
{ 1.0618958571272863e+00, 1.0615019980348779e+00, 1.0614335379927147e+00, 1.0622711654692485e+00, 1.0622036218416742e+00, 1.0625059965187085e+00, 1.0623938486985884e+00, 1.0624706448043137e+00, 1.0625048144827762e+00, 1.0624366131308856e+00, 1.0620694238892607e+00, 1.0613167586932164e+00, 1.0610334029377020e+00, 1.0613868564828413e+00, 1.0614215366116762e+00, 1.0620336151299086e+00, 1.0625497454805051e+00, 1.0624317487992085e+00, 1.0625249140554480e+00, 1.0624277664486914e+00, 1.0624749854090769e+00, 1.0625538581025402e+00, 1.0625326910104864e+00, 1.0623922312225325e+00, 1.0623650980354129e+00, 1.0625256476715284e+00, 1.0612277619533155e+00, 1.0594262608698046e+00, 1.0599810758292072e+00, 1.0602547314449409e+00, 1.0601263046243634e+00, 1.0606565756823634e+00 }
Definition at line 38 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::refrgb2spect_yellow[] [static] |
Initial value:
{ 5.5740622924920873e-03, -4.7982831631446787e-03, -5.2536564298613798e-03, -6.4571480044499710e-03, -5.9693514658007013e-03, -2.1836716037686721e-03, 1.6781120601055327e-02, 9.6096355429062641e-02, 2.1217357081986446e-01, 3.6169133290685068e-01, 5.3961011543232529e-01, 7.4408810492171507e-01, 9.2209571148394054e-01, 1.0460304298411225e+00, 1.0513824989063714e+00, 1.0511991822135085e+00, 1.0510530911991052e+00, 1.0517397230360510e+00, 1.0516043086790485e+00, 1.0511944032061460e+00, 1.0511590325868068e+00, 1.0516612465483031e+00, 1.0514038526836869e+00, 1.0515941029228475e+00, 1.0511460436960840e+00, 1.0515123758830476e+00, 1.0508871369510702e+00, 1.0508923708102380e+00, 1.0477492815668303e+00, 1.0493272144017338e+00, 1.0435963333422726e+00, 1.0392280772051465e+00 }
Definition at line 89 of file rgbE_32.h.
Referenced by lux::SpectrumWavelengths::SpectrumWavelengths().
float lux::S0Amplitudes[54] [static] |
Initial value:
{ 0.04,6.0,29.6,55.3,57.3, 61.8,61.5,68.8,63.4,65.8, 94.8,104.8,105.9,96.8,113.9, 125.6,125.5,121.3,121.3,113.5, 113.1,110.8,106.5,108.8,105.3, 104.4,100.0,96.0,95.1,89.1, 90.5,90.3,88.4,84.0,85.1, 81.9,82.6,84.9,81.3,71.9, 74.3,76.4,63.3,71.7,77.0, 65.2,47.7,68.6,65.0,66.0, 61.0,53.3,58.9,61.9 }
Definition at line 33 of file skychroma_spect.h.
Referenced by lux::SkyLight::ChromaticityToSpectrum().
float lux::S1Amplitudes[54] [static] |
Initial value:
{ 0.02,4.5,22.4,42.0,40.6, 41.6,38.0,42.4,38.5,35.0, 43.4,46.3,43.9,37.1,36.7, 35.9,32.6,27.9,24.3,20.1, 16.2,13.2,8.6,6.1,4.2, 1.9,0.0,-1.6,-3.5,-3.5, -5.8,-7.2,-8.6,-9.5,-10.9, -10.7,-12.0,-14.0,-13.6,-12.0, -13.3,-12.9,-10.6,-11.6,-12.2, -10.2,-7.8,-11.2,-10.4,-10.6, -9.7,-8.3,-9.3,-9.8 }
Definition at line 47 of file skychroma_spect.h.
Referenced by lux::SkyLight::ChromaticityToSpectrum().
float lux::S2Amplitudes[54] [static] |
Initial value:
{ 0.0,2.0,4.0,8.5,7.8, 6.7,5.3,6.1,3.0,1.2, -1.1,-0.5,-0.7,-1.2,-2.6, -2.9,-2.8,-2.6,-2.6,-1.8, -1.5,-1.3,-1.2,-1.0,-0.5, -0.3,0.0,0.2,0.5,2.1, 3.2,4.1,4.7,5.1,6.7, 7.3,8.6,9.8,10.2,8.3, 9.6,8.5,7.0,7.6,8.0, 6.7,5.2,7.4,6.8,7.0, 6.4,5.5,6.1,6.5 }
Definition at line 61 of file skychroma_spect.h.
Referenced by lux::SkyLight::ChromaticityToSpectrum().
float lux::sun_k_gAmplitudes[2] [static] |
Initial value:
{ 3.0, 0.210, }
Definition at line 137 of file sun_spect.h.
Referenced by lux::SunLight::SunLight().
float lux::sun_k_gWavelengths[2] [static] |
Initial value:
{ 760, 770, }
Definition at line 132 of file sun_spect.h.
Referenced by lux::SunLight::SunLight().
float lux::sun_k_oAmplitudes[65] [static] |
float lux::sun_k_oWavelengths[64] [static] |
Initial value:
{ 300, 305, 310, 315, 320, 325, 330, 335, 340, 345, 350, 355, 445, 450, 455, 460, 465, 470, 475, 480, 485, 490, 495, 500, 505, 510, 515, 520, 525, 530, 535, 540, 545, 550, 555, 560, 565, 570, 575, 580, 585, 590, 595, 600, 605, 610, 620, 630, 640, 650, 660, 670, 680, 690, 700, 710, 720, 730, 740, 750, 760, 770, 780, 790 }
Definition at line 38 of file sun_spect.h.
Referenced by lux::SunLight::SunLight().
float lux::sun_k_waAmplitudes[13] [static] |
Initial value:
{ 0, 0.160e-1, 0.240e-1, 0.125e-1, 0.100e+1, 0.870, 0.610e-1, 0.100e-2, 0.100e-4, 0.100e-4, 0.600e-3, 0.175e-1, 0.360e-1 }
Definition at line 159 of file sun_spect.h.
Referenced by lux::SunLight::SunLight().
float lux::sun_k_waWavelengths[13] [static] |
Initial value:
{ 689, 690, 700, 710, 720, 730, 740, 750, 760, 770, 780, 790, 800 }
Definition at line 143 of file sun_spect.h.
Referenced by lux::SunLight::SunLight().
float lux::sun_solAmplitudes[38] [static] |
Initial value:
{ 165.5, 162.3, 211.2, 258.8, 258.2, 242.3, 267.6, 296.6, 305.4, 300.6, 306.6, 288.3, 287.1, 278.2, 271.0, 272.3, 263.6, 255.0, 250.6, 253.1, 253.5, 251.3, 246.3, 241.7, 236.8, 232.1, 228.2, 223.4, 219.7, 215.3, 211.0, 207.3, 202.4, 198.7, 194.3, 190.7, 186.3, 182.6 }
Definition at line 176 of file sun_spect.h.
float lux::sun_sun_irradiance[79] [static] |