pSample_t Struct Reference

#include <material.h>

Inheritance diagram for pSample_t:
Inheritance graph
[legend]
Collaboration diagram for pSample_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 pSample_t (float s_1, float s_2, float s_3, BSDF_t sflags, const color_t &l_col, const color_t &transm=color_t(1.f))

Public Attributes

float s3
const color_t lcol
 the photon color from last scattering
const color_t alpha
 the filter color between last scattering and this hit (not pre-applied to lcol!)
color_t color
 the new color after scattering, i.e. what will be lcol for next scatter.

Detailed Description

Definition at line 51 of file material.h.


Constructor & Destructor Documentation

pSample_t::pSample_t ( float  s_1,
float  s_2,
float  s_3,
BSDF_t  sflags,
const color_t l_col,
const color_t transm = color_t(1.f) 
) [inline]

Definition at line 53 of file material.h.


Member Data Documentation

the filter color between last scattering and this hit (not pre-applied to lcol!)

Definition at line 57 of file material.h.

the new color after scattering, i.e. what will be lcol for next scatter.

Definition at line 58 of file material.h.

the photon color from last scattering

Definition at line 56 of file material.h.

Definition at line 55 of file material.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2009 for YafaRay by  doxygen 1.6.1