Open PaperOpt
p3d::FiberMaterial Class Reference

#include <FiberMaterial.h>

List of all members.

Public Member Functions

 FiberMaterial ()
void 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)
int IsInited ()
int TracePacket (WavePacket *wp, RndVolume *rVol, int threadNo)

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:
sigmaScatdouble Scattering coef, 1/um
sigmaAbsdouble Absorbtion coef, 1/um
ndouble Index of refraction
microRdouble Micro roughness, um
assymetrydouble Assymetry, -1->Backward, 1->Forward
zuse_diffuse_scatint If set, allow difise scattering at surfaces
use_random_polar_scatint If set, polar will be random after internal scatter if clear, polar will be set according to Acreo assumption

Here is the caller graph for this function:

int FiberMaterial::TracePacket ( WavePacket wp,
RndVolume rVol,
int  threadNo 
)
Parameters:
wpWavePacket the incoming wavepackage
rVolRndVolume pointer to the current render volume
threadNoint reserve for the parallelization
Returns:
-1 if going down, 1 if going up and 0 if absorbed

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: