#include "stdafx.h"#include "volume.h"Go to the source code of this file.
Classes | |
| struct | MeasuredSS |
Functions | |
| static float | RdIntegral (float alphap, float A) |
| static float | RdToAlphap (float reflectance, float A) |
| 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) |
| bool | GetVolumeScatteringProperties (const string &name, Spectrum *sigma_a, Spectrum *sigma_prime_s) |
| void | SubsurfaceFromDiffuse (const Spectrum &Kd, float meanPathLength, float eta, Spectrum *sigma_a, Spectrum *sigma_prime_s) |
Variables | |
| static MeasuredSS | mss [] |
| bool GetVolumeScatteringProperties | ( | const string & | name, | |
| Spectrum * | sigma_a, | |||
| Spectrum * | sigma_prime_s | |||
| ) |
Definition at line 253 of file volume.cpp.
References RGBSpectrum::FromRGB().
Referenced by CreateSubsurfaceMaterial().
Definition at line 142 of file volume.cpp.
Referenced by HGPdf(), DensityRegion::p(), and HomogeneousVolumeDensity::p().
Definition at line 119 of file volume.cpp.
References M_PI.
Definition at line 130 of file volume.cpp.
Definition at line 136 of file volume.cpp.
Definition at line 124 of file volume.cpp.
Definition at line 149 of file volume.cpp.
| static float RdIntegral | ( | float | alphap, | |
| float | A | |||
| ) | [static] |
Definition at line 95 of file volume.cpp.
Referenced by RdToAlphap().
| static float RdToAlphap | ( | float | reflectance, | |
| float | A | |||
| ) | [static] |
Definition at line 102 of file volume.cpp.
References Assert, and RdIntegral().
Referenced by SubsurfaceFromDiffuse().
| void SubsurfaceFromDiffuse | ( | const Spectrum & | Kd, | |
| float | meanPathLength, | |||
| float | eta, | |||
| Spectrum * | sigma_a, | |||
| Spectrum * | sigma_prime_s | |||
| ) |
Definition at line 266 of file volume.cpp.
References Fdr(), RGBSpectrum::FromRGB(), RdToAlphap(), and RGBSpectrum::ToRGB().
Referenced by KdSubsurfaceMaterial::GetBSSRDF().
MeasuredSS mss[] [static] |
Definition at line 36 of file volume.cpp.
1.6.3