Clarisse 5.0 SP8 SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VolumeLightSampler Class Reference
Inheritance diagram for VolumeLightSampler:
VolumeCauchyLightSampler VolumeIESLightSampler

Public Member Functions

virtual double calculate_sampler_weight (const GMathBasicRay<> &ray, const double t_near_vol, const double t_far_vol, const int mode=0)
virtual void clear ()
virtual bool sample (const double &xi, double &t, double &pdf)
virtual double evaluate (double t)

Static Public Member Functions

static VolumeLightSamplerplaceholder ()

Public Attributes

GMathVec3d L
GMathVec3d n
double intensity
const GMathBasicRayray
double D
 Perpendicular distance from L to the ray.
double t_perp
 Signed distance from ray origin to projection of L on the ray.
double phi_a
 Angle from light perpendicular to volume entry.
double phi_b
 Angle from light perpendicular to volume exit.
double t_near
 Distance from ray origin to light cone (or half-space) entry.
double t_far
 Distance from ray origin to light cone (or half-space) exit.
double theta
double light_radius
double omega