#include "pbrt.h"#include "spectrum.h"#include "geometry.h"#include "transform.h"#include "integrator.h"Go to the source code of this file.
Classes | |
| class | VolumeRegion |
| class | DensityRegion |
| class | AggregateVolume |
| class | VolumeIntegrator |
Functions | |
| float | PhaseIsotropic (const Vector &w, const Vector &wp) |
| 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) |
| 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.
| 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().
1.6.3