#include <FiberMaterial.h>
List of all members.
Constructor & Destructor Documentation
| FiberMaterial::FiberMaterial |
( |
| ) |
|
Member Function Documentation
| int p3d::FiberMaterial::IsInited |
( |
| ) |
[inline] |
| void FiberMaterial::SetParameters |
( |
double |
sigmaScat = 0.0f, |
|
|
double |
sigmaAbs = 0.0003f, |
|
|
double |
n = 1.55f, |
|
|
double |
microR = 0.2f, |
|
|
double |
assymetry = 0, |
|
|
int |
zuse_diffuse_scat = 0, |
|
|
int |
use_random_polar_scat = 1 |
|
) |
| |
- Parameters:
-
| sigmaScat | double Scattering coef, 1/um |
| sigmaAbs | double Absorbtion coef, 1/um |
| n | double Index of refraction |
| microR | double Micro roughness, um |
| assymetry | double Assymetry, -1->Backward, 1->Forward |
| zuse_diffuse_scat | int If set, allow difise scattering at surfaces |
| use_random_polar_scat | int If set, polar will be random after internal scatter if clear, polar will be set according to Acreo assumption |
- Parameters:
-
| wp | WavePacket the incoming wavepackage |
| rVol | RndVolume pointer to the current render volume |
| threadNo | int reserve for the parallelization |
- Returns:
- -1 if going down, 1 if going up and 0 if absorbed
The documentation for this class was generated from the following files: