Blender V2.61 - r43446
Public Member Functions | Static Public Member Functions | Public Attributes

SubsurfaceClosure Class Reference

List of all members.

Public Member Functions

 SubsurfaceClosure ()
void setup ()
bool mergeable (const ClosurePrimitive *other) const
size_t memsize () const
const char * name () const
void print_on (std::ostream &out) const
virtual Color3 eval_phase (const Vec3 &omega_in, const Vec3 &omega_out) const

Static Public Member Functions

static float root_find_Rd (const float Rd0, const float A)

Public Attributes

float m_g
float m_eta
Color3 m_mfp
Color3 m_albedo

Detailed Description

Definition at line 47 of file vol_subsurface.cpp.


Constructor & Destructor Documentation

SubsurfaceClosure::SubsurfaceClosure ( ) [inline]

Definition at line 76 of file vol_subsurface.cpp.


Member Function Documentation

virtual Color3 SubsurfaceClosure::eval_phase ( const Vec3 &  omega_in,
const Vec3 &  omega_out 
) const [inline, virtual]

Definition at line 115 of file vol_subsurface.cpp.

References M_1_PI, and powf.

size_t SubsurfaceClosure::memsize ( ) const [inline]

Definition at line 107 of file vol_subsurface.cpp.

bool SubsurfaceClosure::mergeable ( const ClosurePrimitive *  other) const [inline]

Definition at line 102 of file vol_subsurface.cpp.

References m_g.

const char* SubsurfaceClosure::name ( ) const [inline]

Definition at line 109 of file vol_subsurface.cpp.

void SubsurfaceClosure::print_on ( std::ostream &  out) const [inline]

Definition at line 111 of file vol_subsurface.cpp.

static float SubsurfaceClosure::root_find_Rd ( const float  Rd0,
const float  A 
) [inline, static]

Definition at line 52 of file vol_subsurface.cpp.

References credits_svn_gen::e, expf, fabsf, i, Rd(), and sqrtf.

void SubsurfaceClosure::setup ( ) [inline]

Definition at line 78 of file vol_subsurface.cpp.

References A, and sqrtf.


Member Data Documentation

Definition at line 51 of file vol_subsurface.cpp.

Definition at line 50 of file vol_subsurface.cpp.

Definition at line 49 of file vol_subsurface.cpp.

Referenced by mergeable().

Definition at line 51 of file vol_subsurface.cpp.


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