NL3D::CZoneLighter::CLightDesc Class Reference

#include <zone_lighter.h>


Public Member Functions

 CLightDesc ()

Data Fields

float GridCellSize
uint GridSize
float HeightfieldCellSize
float HeightfieldSize
bool Shadow
Softshadows
bool ModulateWaterColor
uint NumCPU
bool SkyContribution
bool SkyContributionForWater
float SkyIntensity
float SoftShadowJitter
uint SoftShadowSamplesSqrt
bool SunContribution
float VegetableHeight
 Evaluation of the max height, in meters, of the vegetables. Needed when we compute wether a tile is below or above water.

float WaterAmbient
float WaterDiffuse
float WaterShadowBias
Sun parameters
NLMISC::CVector SunCenter
NLMISC::CVector SunDirection
float SunDistance
float SunFOV
float SunRadius
ZBuffer parameters
uint ZBufferLandscapeSize
uint ZBufferObjectSize


Constructor & Destructor Documentation

CZoneLighter::CLightDesc::CLightDesc  ) 
 

Definition at line 2752 of file zone_lighter.cpp.

References DEFAULT_JITTER, DEFAULT_SUN_CENTER, DEFAULT_SUN_DISTANCE, DEFAULT_SUN_FOV, DEFAULT_SUN_RADIUS, DEFAULT_SUN_SRQT_SAMPLES, DEFAULT_ZBUFFER_LANDSCAPE_SIZE, DEFAULT_ZBUFFER_OBJECT_SIZE, HeightfieldCellSize, HeightfieldSize, NLMISC::CVector::set(), SkyContribution, SkyIntensity, SoftShadowJitter, SoftShadowSamplesSqrt, SunCenter, SunDirection, SunDistance, SunFOV, SunRadius, ZBufferLandscapeSize, and ZBufferObjectSize.


Field Documentation

float NL3D::CZoneLighter::CLightDesc::GridCellSize
 

Definition at line 83 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::light().

uint NL3D::CZoneLighter::CLightDesc::GridSize
 

Definition at line 80 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::light().

float NL3D::CZoneLighter::CLightDesc::HeightfieldCellSize
 

Definition at line 89 of file zone_lighter.h.

Referenced by CLightDesc(), and NL3D::CZoneLighter::light().

float NL3D::CZoneLighter::CLightDesc::HeightfieldSize
 

Definition at line 86 of file zone_lighter.h.

Referenced by CLightDesc(), and NL3D::CZoneLighter::light().

bool NL3D::CZoneLighter::CLightDesc::ModulateWaterColor
 

Definition at line 155 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::lightWater().

uint NL3D::CZoneLighter::CLightDesc::NumCPU
 

Definition at line 161 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::light().

bool NL3D::CZoneLighter::CLightDesc::Shadow
 

Definition at line 92 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::light(), NL3D::CZoneLighter::lightWater(), and NL3D::CZoneLighter::processCalc().

bool NL3D::CZoneLighter::CLightDesc::SkyContribution
 

Definition at line 137 of file zone_lighter.h.

Referenced by CLightDesc(), and NL3D::CZoneLighter::processCalc().

bool NL3D::CZoneLighter::CLightDesc::SkyContributionForWater
 

Definition at line 152 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::lightWater().

float NL3D::CZoneLighter::CLightDesc::SkyIntensity
 

Definition at line 140 of file zone_lighter.h.

Referenced by CLightDesc(), NL3D::CZoneLighter::lightWater(), and NL3D::CZoneLighter::processCalc().

float NL3D::CZoneLighter::CLightDesc::SoftShadowJitter
 

Definition at line 131 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::attenuation(), and CLightDesc().

uint NL3D::CZoneLighter::CLightDesc::SoftShadowSamplesSqrt
 

Definition at line 128 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::attenuation(), CLightDesc(), NL3D::CZoneLighter::light(), and NL3D::CRenderZBuffer::run().

NLMISC::CVector NL3D::CZoneLighter::CLightDesc::SunCenter
 

Definition at line 108 of file zone_lighter.h.

Referenced by CLightDesc(), and NL3D::CZoneLighter::light().

bool NL3D::CZoneLighter::CLightDesc::SunContribution
 

Definition at line 134 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::processCalc().

NLMISC::CVector NL3D::CZoneLighter::CLightDesc::SunDirection
 

Definition at line 99 of file zone_lighter.h.

Referenced by CLightDesc(), NL3D::CZoneLighter::light(), and NL3D::CZoneLighter::lightWater().

float NL3D::CZoneLighter::CLightDesc::SunDistance
 

Definition at line 102 of file zone_lighter.h.

Referenced by CLightDesc(), InitZBuffer(), and NL3D::CZoneLighter::light().

float NL3D::CZoneLighter::CLightDesc::SunFOV
 

Definition at line 105 of file zone_lighter.h.

Referenced by CLightDesc(), and InitZBuffer().

float NL3D::CZoneLighter::CLightDesc::SunRadius
 

Definition at line 111 of file zone_lighter.h.

Referenced by CLightDesc(), and NL3D::CZoneLighter::light().

float NL3D::CZoneLighter::CLightDesc::VegetableHeight
 

Evaluation of the max height, in meters, of the vegetables. Needed when we compute wether a tile is below or above water.

Definition at line 158 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater().

float NL3D::CZoneLighter::CLightDesc::WaterAmbient
 

Definition at line 146 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::lightWater().

float NL3D::CZoneLighter::CLightDesc::WaterDiffuse
 

Definition at line 149 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::lightWater().

float NL3D::CZoneLighter::CLightDesc::WaterShadowBias
 

Definition at line 143 of file zone_lighter.h.

Referenced by NL3D::CZoneLighter::lightWater().

uint NL3D::CZoneLighter::CLightDesc::ZBufferLandscapeSize
 

Definition at line 118 of file zone_lighter.h.

Referenced by CLightDesc(), and NL3D::CZoneLighter::light().

uint NL3D::CZoneLighter::CLightDesc::ZBufferObjectSize
 

Definition at line 121 of file zone_lighter.h.

Referenced by CLightDesc(), and NL3D::CZoneLighter::light().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 08:35:54 2004 for NeL by doxygen 1.3.6