HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_Light Class Reference

#include <RE_Light.h>

Public Member Functions

 RE_Light (const char *n=0)
 
virtual ~RE_Light ()
 
const char * getName () const
 
void setName (const char *name)
 
void enable (bool e)
 
bool isEnabled () const
 
bool isLightContributing () const
 
void setHeadlight (bool hl)
 
bool isHeadlight () const
 
const UT_Vector3getPosition () const
 
void setPosition (const UT_Vector3 &p)
 
const UT_Vector3getDirection () const
 
void setDirection (const UT_Vector3 &d)
 
void setOrientation (UT_Matrix3 &orient)
 
const UT_Matrix3getOrientation ()
 
const UT_Vector3FgetColor () const
 
UT_Vector3getColor ()
 
void setColor (const UT_Vector3 &c)
 
const UT_Matrix4getTransform () const
 
UT_Matrix4getTransform ()
 
void setTransform (const UT_Matrix4 &m)
 
int isCone () const
 
int isInfinite () const
 
int isAmbient () const
 
int isMapProjector () const
 
bool isEnvironmentLight () const
 
bool isPortalLight () const
 
bool isGlobalIllumination () const
 
bool isAreaLight () const
 
UT_Vector3 getAreaAxes () const
 
UT_Matrix4 getAreaTransform () const
 
float getSurfaceArea () const
 
bool isAreaSingleSided () const
 
bool isAreaSingleSideReversed () const
 
int isDiffuse () const
 
int isSpecular () const
 
bool isShadowed () const
 
virtual int64 getVersion () const
 
int64 getEmitVersion () const
 
virtual int getUniqueId () const
 
void setInfinite (int onoff)
 
void setAmbient (int onoff)
 
void setCone (int onoff)
 
void setArea (bool onoff)
 
void setEnvironment (bool onoff)
 
void setPortal (bool onoff)
 
void setGlobalIllumination (bool onoff)
 
void setAreaAxes (const UT_Vector3F &axes)
 
void setAreaTransform (UT_Matrix4 t)
 
void setAreaSide (bool single, bool reverse)
 
void setAreaSamplePoints (const UT_Vector3FArray &pos, const UT_Vector3FArray &dir)
 
void buildAreaShape (int numsample)
 
void setSurfaceArea (float area)
 
void setDiffuse (int onoff)
 
void setSpecular (int onoff)
 
void setConeAttrib (float a=45, float d=10, float r=1)
 
float getConeAngle () const
 
float getConeDelta () const
 
float getConeRoll () const
 
RE_TexturegetFalloffRamp (RE_Render *r)
 
void setAttenuation (float constant, float linear, float quadratic)
 
void getAttenuation (float atten[3]) const
 
void setAttenuationRange (float near_dist, float far_dist)
 
void getAttenuationRange (float range[2]) const
 
void setAttenuationRamp (const UT_Ramp *ramp, float start_dist, float end_dist)
 
RE_TexturegetAttenuationRamp (RE_Render *r)
 
void getAttenuationRampRange (float range[2]) const
 
void setShadowed (bool onoff)
 
void setShadowIntensity (float i)
 
void setShadowBias (float b)
 
void setShadowBlur (float b)
 
void setShadowQuality (float q)
 
void setLightShadowMapSize (int s)
 
void setShadowMapSize (int s)
 
void setAreaShadowShape (RE_LightAreaShape shape)
 
void setShadowMask (const char *m)
 
void setLinearShadowMap (bool linear)
 
float getShadowIntensity () const
 
float getShadowBias () const
 
float getShadowBlur () const
 
float getShadowQuality () const
 
int getShadowMapSize () const
 
int getLightShadowMapSize () const
 
int getNumAreaMaps () const
 
const char * getShadowMask () const
 
bool getLinearShadowMap () const
 
void getShadowZRange (fpreal &n, fpreal &f)
 
RE_TexturegetShadowMap (int area_index=0)
 
void setMultiMap (bool m)
 
void useShadowMap (RE_Render *r, RE_Shader *shadow_shader, bool onoff)
 
bool beginShadowRender (RE_Render *r, RE_TextureCubeFace face=RE_TEXTURE_CUBE_POS_X, int area_index=0)
 
void endShadowRender (RE_Render *r, RE_TextureCubeFace face=RE_TEXTURE_CUBE_POS_X, int area_index=0)
 
void setShadowMapVersion (uint64 version)
 
int64 getShadowMapVersion () const
 
void setShadowMapTime (fpreal t)
 
fpreal getShadowMapTime () const
 
bool useSeparatePointShadowMaps (RE_Render *r) const
 
void setZoom (float z)
 
void setFocalLength (float focal)
 
void setAperture (float aper)
 
void setOrthoWidth (float width)
 
void setNearDistance (float znear)
 
void setFarDistance (float zfar)
 
float getZoom () const
 
float getFocalLength () const
 
float getAperture () const
 
float getOrthoWidth () const
 
float getNearDistance () const
 
float getFarDistance () const
 
int64 getLightVersion () const
 
void bumpLightVersion ()
 
int getConeTextureIndex () const
 
void setConeTextureIndex (int idx)
 
void setProjectMap (const char *name, const char *relativeTo)
 
void setProjectMapClamp (int onoff)
 
void setProjectMapFormat (RE_TextureCompress format)
 
void setProjectMapScale (float sc, bool limitres, int maxw, int maxh)
 
void setProjectMapMipmap (bool onoff)
 
void setProjectMapAnisotropy (int samples)
 
RE_Texture2DMapgetProjectMap (RE_Render *r)
 
void setEnvironmentMap (const char *name, const char *relativeTo)
 
void setEnvironmentFormat (RE_TextureCompress format)
 
void setEnvironmentMipmap (bool onoff)
 
void setEnvironmentCone (float angle)
 
RE_TextureHolder getEnvironmentMap (RE_Render *r, int max_width)
 
float getEnvironmentCone () const
 
void updateBasicLighting (RE_Render *r, RE_Shader *sh, int index)
 
void updateBasicBlock (RE_UniformBlock *lighting_block, int light_index, const char *light_prefix)
 
void updateHQLighting (RE_Render *r, RE_Shader *sh)
 
void updateAreaLighting (RE_Render *r, RE_Shader *sh)
 
void updateShadow (RE_Render *r, RE_Shader *sh)
 
RE_ShadowMapgetShadowMap ()
 Accessor to underlaying shadow map object Each light may have a shadow map object. Turning off shadows on the light will delete the map, so do not cache the pointer. If a shadow map does not exist, this will create a new one. More...
 
void attachUserData (RE_LightData *data, int index)
 Allows data, like shadow maps, to be stored with the light Attaching data to the light gives it ownership, meaning that it will be deleted when the light is deleted, or when a different data chunk is assigned to the same index. To avoid it being deleted, detach the chunk. More...
 
RE_LightDatadetachUserData (int index)
 Allows data, like shadow maps, to be stored with the light Attaching data to the light gives it ownership, meaning that it will be deleted when the light is deleted, or when a different data chunk is assigned to the same index. To avoid it being deleted, detach the chunk. More...
 
RE_LightDatagetAttachedUserData (int index) const
 Allows data, like shadow maps, to be stored with the light Attaching data to the light gives it ownership, meaning that it will be deleted when the light is deleted, or when a different data chunk is assigned to the same index. To avoid it being deleted, detach the chunk. More...
 

Static Public Member Functions

static void clearLight (RE_Shader *sh, int index)
 

Protected Member Functions

void invalidateShadowMap (bool purge_map=false)
 
void invalidateFalloffRamp ()
 
void recomputeFalloffRamp ()
 
void createEnvMap ()
 

Protected Attributes

int myGLConeTextureIndex
 
unsigned myContribDiff:1
 
unsigned myContribSpec:1
 
unsigned myUseShadows:1
 
unsigned myAreaSingleSided:1
 
unsigned myAreaSingleReverse:1
 
RE_LightFlag flag
 
UT_String myName
 
UT_Vector3 myPos
 
UT_Vector3 myDir
 
UT_Vector3 myColor
 
UT_Matrix3 myOrientation
 
UT_Matrix4 xform
 
float coneAngle
 
float coneDelta
 
float coneRoll
 
float myAperture
 
float myFocalLength
 
float myOrthoWidth
 
float myNearDist
 
float myFarDist
 
float zoom
 
float myAtten [3]
 
float myAttenRange [2]
 
float myMaxLightRadius
 
RE_Texture2DMapprojectMap
 
RE_TextureCubeMapmyEnvMap
 
float myEnvCone
 
int myMaxEnvMapSize
 
UT_String myProjectMapName
 
UT_String myProjectMapRelativeTo
 
bool myProjectMapLimit
 
int myProjectMapMaxW
 
int myProjectMapMaxH
 
float myProjectMapScale
 
RE_TextureCompress myProjectMapFormat
 
int myAnisotropySamples
 
float myShadowIntensity
 
float myShadowBias
 
float myShadowBlur
 
float myShadowQuality
 
int myShadowMapSize
 
UT_String myShadowMask
 
int myLightShadowMapSize
 
RE_LightAreaShape myAreaLightShape
 
RE_ShadowMapmyShadowMap
 
RE_TexturemyFalloffRamp
 
bool myFalloffRampDirty
 
RE_TexturemyAttenMap
 
UT_RampmyAttenRamp
 
float myAttenRampStart
 
float myAttenRampEnd
 
bool myAttenRampDirty
 
UT_Vector3 myAreaAxes
 
float mySurfaceArea
 
UT_Matrix4 myAreaTransform
 
UT_Vector3FArray myAreaPos
 
UT_Vector3FArray myAreaDir
 
int64 myLightVersion
 
int64 myEmitSerial
 
UT_Array< RE_LightData * > myAttachedLightData
 
RE_UniformBlockHandle myBasicLightingBlock
 
RE_UniformBlockHandle myHighQualityBlock
 
RE_UniformBlockHandle myShadowBlock
 
RE_UniformBlockHandle myAreaBlock
 

Detailed Description

Definition at line 91 of file RE_Light.h.

Constructor & Destructor Documentation

RE_Light::RE_Light ( const char *  n = 0)
virtual RE_Light::~RE_Light ( )
virtual

Member Function Documentation

void RE_Light::attachUserData ( RE_LightData data,
int  index 
)

Allows data, like shadow maps, to be stored with the light Attaching data to the light gives it ownership, meaning that it will be deleted when the light is deleted, or when a different data chunk is assigned to the same index. To avoid it being deleted, detach the chunk.

bool RE_Light::beginShadowRender ( RE_Render r,
RE_TextureCubeFace  face = RE_TEXTURE_CUBE_POS_X,
int  area_index = 0 
)
void RE_Light::buildAreaShape ( int  numsample)
void RE_Light::bumpLightVersion ( )
inline

Definition at line 287 of file RE_Light.h.

static void RE_Light::clearLight ( RE_Shader sh,
int  index 
)
static
void RE_Light::createEnvMap ( )
protected
RE_LightData* RE_Light::detachUserData ( int  index)

Allows data, like shadow maps, to be stored with the light Attaching data to the light gives it ownership, meaning that it will be deleted when the light is deleted, or when a different data chunk is assigned to the same index. To avoid it being deleted, detach the chunk.

void RE_Light::enable ( bool  e)
inline

Definition at line 99 of file RE_Light.h.

void RE_Light::endShadowRender ( RE_Render r,
RE_TextureCubeFace  face = RE_TEXTURE_CUBE_POS_X,
int  area_index = 0 
)
float RE_Light::getAperture ( ) const
inline

Definition at line 281 of file RE_Light.h.

UT_Vector3 RE_Light::getAreaAxes ( ) const
inline

Definition at line 141 of file RE_Light.h.

UT_Matrix4 RE_Light::getAreaTransform ( ) const
inline

Definition at line 142 of file RE_Light.h.

RE_LightData* RE_Light::getAttachedUserData ( int  index) const

Allows data, like shadow maps, to be stored with the light Attaching data to the light gives it ownership, meaning that it will be deleted when the light is deleted, or when a different data chunk is assigned to the same index. To avoid it being deleted, detach the chunk.

void RE_Light::getAttenuation ( float  atten[3]) const
inline

Definition at line 205 of file RE_Light.h.

RE_Texture* RE_Light::getAttenuationRamp ( RE_Render r)
void RE_Light::getAttenuationRampRange ( float  range[2]) const
inline

Definition at line 217 of file RE_Light.h.

void RE_Light::getAttenuationRange ( float  range[2]) const
inline

Definition at line 210 of file RE_Light.h.

const UT_Vector3F& RE_Light::getColor ( void  ) const
inline

Definition at line 122 of file RE_Light.h.

UT_Vector3& RE_Light::getColor ( void  )
inline

Definition at line 123 of file RE_Light.h.

float RE_Light::getConeAngle ( ) const
inline

Definition at line 195 of file RE_Light.h.

float RE_Light::getConeDelta ( ) const
inline

Definition at line 196 of file RE_Light.h.

float RE_Light::getConeRoll ( ) const
inline

Definition at line 197 of file RE_Light.h.

int RE_Light::getConeTextureIndex ( ) const
inline

Definition at line 289 of file RE_Light.h.

const UT_Vector3& RE_Light::getDirection ( ) const
inline

Definition at line 113 of file RE_Light.h.

int64 RE_Light::getEmitVersion ( ) const
inline

Definition at line 156 of file RE_Light.h.

float RE_Light::getEnvironmentCone ( ) const
inline

Definition at line 582 of file RE_Light.h.

RE_TextureHolder RE_Light::getEnvironmentMap ( RE_Render r,
int  max_width 
)
RE_Texture* RE_Light::getFalloffRamp ( RE_Render r)
float RE_Light::getFarDistance ( ) const
inline

Definition at line 284 of file RE_Light.h.

float RE_Light::getFocalLength ( ) const
inline

Definition at line 280 of file RE_Light.h.

int RE_Light::getLightShadowMapSize ( ) const
inline

Definition at line 239 of file RE_Light.h.

int64 RE_Light::getLightVersion ( ) const
inline

Definition at line 286 of file RE_Light.h.

bool RE_Light::getLinearShadowMap ( ) const
const char* RE_Light::getName ( void  ) const
inline

Definition at line 96 of file RE_Light.h.

float RE_Light::getNearDistance ( ) const
inline

Definition at line 283 of file RE_Light.h.

int RE_Light::getNumAreaMaps ( ) const
const UT_Matrix3& RE_Light::getOrientation ( )
inline

Definition at line 120 of file RE_Light.h.

float RE_Light::getOrthoWidth ( ) const
inline

Definition at line 282 of file RE_Light.h.

const UT_Vector3& RE_Light::getPosition ( ) const
inline

Definition at line 109 of file RE_Light.h.

RE_Texture2DMap* RE_Light::getProjectMap ( RE_Render r)
float RE_Light::getShadowBias ( ) const
inline

Definition at line 235 of file RE_Light.h.

float RE_Light::getShadowBlur ( ) const
inline

Definition at line 236 of file RE_Light.h.

float RE_Light::getShadowIntensity ( ) const
inline

Definition at line 234 of file RE_Light.h.

RE_Texture* RE_Light::getShadowMap ( int  area_index = 0)
RE_ShadowMap* RE_Light::getShadowMap ( )

Accessor to underlaying shadow map object Each light may have a shadow map object. Turning off shadows on the light will delete the map, so do not cache the pointer. If a shadow map does not exist, this will create a new one.

int RE_Light::getShadowMapSize ( ) const
inline

Definition at line 238 of file RE_Light.h.

fpreal RE_Light::getShadowMapTime ( ) const
int64 RE_Light::getShadowMapVersion ( ) const
const char* RE_Light::getShadowMask ( ) const
inline

Definition at line 242 of file RE_Light.h.

float RE_Light::getShadowQuality ( ) const
inline

Definition at line 237 of file RE_Light.h.

void RE_Light::getShadowZRange ( fpreal n,
fpreal f 
)
float RE_Light::getSurfaceArea ( ) const
inline

Definition at line 143 of file RE_Light.h.

const UT_Matrix4& RE_Light::getTransform ( void  ) const
inline

Definition at line 126 of file RE_Light.h.

UT_Matrix4& RE_Light::getTransform ( void  )
inline

Definition at line 127 of file RE_Light.h.

virtual int RE_Light::getUniqueId ( ) const
inlinevirtual

Can be used by OP_Node::lookupNode() to return the light object this light is attached to.

Definition at line 160 of file RE_Light.h.

virtual int64 RE_Light::getVersion ( ) const
inlinevirtual

Definition at line 153 of file RE_Light.h.

float RE_Light::getZoom ( ) const
inline

Definition at line 279 of file RE_Light.h.

void RE_Light::invalidateFalloffRamp ( )
protected
void RE_Light::invalidateShadowMap ( bool  purge_map = false)
protected
int RE_Light::isAmbient ( ) const
inline

Definition at line 133 of file RE_Light.h.

bool RE_Light::isAreaLight ( ) const
inline

Definition at line 140 of file RE_Light.h.

bool RE_Light::isAreaSingleSided ( ) const
inline

Definition at line 144 of file RE_Light.h.

bool RE_Light::isAreaSingleSideReversed ( ) const
inline

Definition at line 145 of file RE_Light.h.

int RE_Light::isCone ( ) const
inline

Definition at line 131 of file RE_Light.h.

int RE_Light::isDiffuse ( ) const
inline

Definition at line 147 of file RE_Light.h.

bool RE_Light::isEnabled ( ) const
inline

Definition at line 100 of file RE_Light.h.

bool RE_Light::isEnvironmentLight ( ) const
inline

Definition at line 135 of file RE_Light.h.

bool RE_Light::isGlobalIllumination ( ) const
inline

Definition at line 137 of file RE_Light.h.

bool RE_Light::isHeadlight ( ) const
inline

Definition at line 107 of file RE_Light.h.

int RE_Light::isInfinite ( ) const
inline

Definition at line 132 of file RE_Light.h.

bool RE_Light::isLightContributing ( ) const
int RE_Light::isMapProjector ( ) const
inline

Definition at line 134 of file RE_Light.h.

bool RE_Light::isPortalLight ( ) const
inline

Definition at line 136 of file RE_Light.h.

bool RE_Light::isShadowed ( ) const
inline

Definition at line 150 of file RE_Light.h.

int RE_Light::isSpecular ( ) const
inline

Definition at line 148 of file RE_Light.h.

void RE_Light::recomputeFalloffRamp ( )
protected
void RE_Light::setAmbient ( int  onoff)
inline

Definition at line 453 of file RE_Light.h.

void RE_Light::setAperture ( float  aper)
inline

Definition at line 717 of file RE_Light.h.

void RE_Light::setArea ( bool  onoff)
inline

Definition at line 491 of file RE_Light.h.

void RE_Light::setAreaAxes ( const UT_Vector3F axes)
inline

Definition at line 647 of file RE_Light.h.

void RE_Light::setAreaSamplePoints ( const UT_Vector3FArray pos,
const UT_Vector3FArray dir 
)
void RE_Light::setAreaShadowShape ( RE_LightAreaShape  shape)
void RE_Light::setAreaSide ( bool  single,
bool  reverse 
)
inline

Definition at line 559 of file RE_Light.h.

void RE_Light::setAreaTransform ( UT_Matrix4  t)
inline

Definition at line 657 of file RE_Light.h.

void RE_Light::setAttenuation ( float  constant,
float  linear,
float  quadratic 
)
inline

Definition at line 618 of file RE_Light.h.

void RE_Light::setAttenuationRamp ( const UT_Ramp ramp,
float  start_dist,
float  end_dist 
)
void RE_Light::setAttenuationRange ( float  near_dist,
float  far_dist 
)
inline

Definition at line 635 of file RE_Light.h.

void RE_Light::setColor ( const UT_Vector3 c)
inline

Definition at line 424 of file RE_Light.h.

void RE_Light::setCone ( int  onoff)
inline

Definition at line 471 of file RE_Light.h.

void RE_Light::setConeAttrib ( float  a = 45,
float  d = 10,
float  r = 1 
)
inline

Definition at line 181 of file RE_Light.h.

void RE_Light::setConeTextureIndex ( int  idx)
inline

Definition at line 291 of file RE_Light.h.

void RE_Light::setDiffuse ( int  onoff)
inline

Definition at line 677 of file RE_Light.h.

void RE_Light::setDirection ( const UT_Vector3 d)
inline

Definition at line 114 of file RE_Light.h.

void RE_Light::setEnvironment ( bool  onoff)
inline

Definition at line 519 of file RE_Light.h.

void RE_Light::setEnvironmentCone ( float  angle)
inline

Definition at line 571 of file RE_Light.h.

void RE_Light::setEnvironmentFormat ( RE_TextureCompress  format)
void RE_Light::setEnvironmentMap ( const char *  name,
const char *  relativeTo 
)
void RE_Light::setEnvironmentMipmap ( bool  onoff)
void RE_Light::setFarDistance ( float  zfar)
inline

Definition at line 598 of file RE_Light.h.

void RE_Light::setFocalLength ( float  focal)
inline

Definition at line 707 of file RE_Light.h.

void RE_Light::setGlobalIllumination ( bool  onoff)
inline

Definition at line 540 of file RE_Light.h.

void RE_Light::setHeadlight ( bool  hl)
inline

Definition at line 106 of file RE_Light.h.

void RE_Light::setInfinite ( int  onoff)
inline

Definition at line 435 of file RE_Light.h.

void RE_Light::setLightShadowMapSize ( int  s)
inline

Definition at line 228 of file RE_Light.h.

void RE_Light::setLinearShadowMap ( bool  linear)
void RE_Light::setMultiMap ( bool  m)
void RE_Light::setName ( const char *  name)
inline

Definition at line 97 of file RE_Light.h.

void RE_Light::setNearDistance ( float  znear)
inline

Definition at line 588 of file RE_Light.h.

void RE_Light::setOrientation ( UT_Matrix3 orient)
inline

Definition at line 116 of file RE_Light.h.

void RE_Light::setOrthoWidth ( float  width)
inline

Definition at line 727 of file RE_Light.h.

void RE_Light::setPortal ( bool  onoff)
inline

Definition at line 508 of file RE_Light.h.

void RE_Light::setPosition ( const UT_Vector3 p)
inline

Definition at line 110 of file RE_Light.h.

void RE_Light::setProjectMap ( const char *  name,
const char *  relativeTo 
)
void RE_Light::setProjectMapAnisotropy ( int  samples)
void RE_Light::setProjectMapClamp ( int  onoff)
void RE_Light::setProjectMapFormat ( RE_TextureCompress  format)
void RE_Light::setProjectMapMipmap ( bool  onoff)
void RE_Light::setProjectMapScale ( float  sc,
bool  limitres,
int  maxw,
int  maxh 
)
void RE_Light::setShadowBias ( float  b)
inline

Definition at line 225 of file RE_Light.h.

void RE_Light::setShadowBlur ( float  b)
inline

Definition at line 226 of file RE_Light.h.

void RE_Light::setShadowed ( bool  onoff)
void RE_Light::setShadowIntensity ( float  i)
inline

Definition at line 224 of file RE_Light.h.

void RE_Light::setShadowMapSize ( int  s)
void RE_Light::setShadowMapTime ( fpreal  t)
void RE_Light::setShadowMapVersion ( uint64  version)
void RE_Light::setShadowMask ( const char *  m)
inline

Definition at line 608 of file RE_Light.h.

void RE_Light::setShadowQuality ( float  q)
inline

Definition at line 227 of file RE_Light.h.

void RE_Light::setSpecular ( int  onoff)
inline

Definition at line 687 of file RE_Light.h.

void RE_Light::setSurfaceArea ( float  area)
inline

Definition at line 667 of file RE_Light.h.

void RE_Light::setTransform ( const UT_Matrix4 m)
inline

Definition at line 128 of file RE_Light.h.

void RE_Light::setZoom ( float  z)
inline

Definition at line 697 of file RE_Light.h.

void RE_Light::updateAreaLighting ( RE_Render r,
RE_Shader sh 
)
void RE_Light::updateBasicBlock ( RE_UniformBlock lighting_block,
int  light_index,
const char *  light_prefix 
)
void RE_Light::updateBasicLighting ( RE_Render r,
RE_Shader sh,
int  index 
)
void RE_Light::updateHQLighting ( RE_Render r,
RE_Shader sh 
)
void RE_Light::updateShadow ( RE_Render r,
RE_Shader sh 
)
bool RE_Light::useSeparatePointShadowMaps ( RE_Render r) const
void RE_Light::useShadowMap ( RE_Render r,
RE_Shader shadow_shader,
bool  onoff 
)

Member Data Documentation

float RE_Light::coneAngle
protected

Definition at line 365 of file RE_Light.h.

float RE_Light::coneDelta
protected

Definition at line 365 of file RE_Light.h.

float RE_Light::coneRoll
protected

Definition at line 365 of file RE_Light.h.

RE_LightFlag RE_Light::flag
protected

Definition at line 358 of file RE_Light.h.

int RE_Light::myAnisotropySamples
protected

Definition at line 386 of file RE_Light.h.

float RE_Light::myAperture
protected

Definition at line 366 of file RE_Light.h.

UT_Vector3 RE_Light::myAreaAxes
protected

Definition at line 405 of file RE_Light.h.

RE_UniformBlockHandle RE_Light::myAreaBlock
protected

Definition at line 420 of file RE_Light.h.

UT_Vector3FArray RE_Light::myAreaDir
protected

Definition at line 409 of file RE_Light.h.

RE_LightAreaShape RE_Light::myAreaLightShape
protected

Definition at line 394 of file RE_Light.h.

UT_Vector3FArray RE_Light::myAreaPos
protected

Definition at line 408 of file RE_Light.h.

unsigned RE_Light::myAreaSingleReverse
protected

Definition at line 353 of file RE_Light.h.

unsigned RE_Light::myAreaSingleSided
protected

Definition at line 353 of file RE_Light.h.

UT_Matrix4 RE_Light::myAreaTransform
protected

Definition at line 407 of file RE_Light.h.

UT_Array<RE_LightData *> RE_Light::myAttachedLightData
protected

Definition at line 414 of file RE_Light.h.

float RE_Light::myAtten[3]
protected

Definition at line 371 of file RE_Light.h.

RE_Texture* RE_Light::myAttenMap
protected

Definition at line 399 of file RE_Light.h.

UT_Ramp* RE_Light::myAttenRamp
protected

Definition at line 400 of file RE_Light.h.

bool RE_Light::myAttenRampDirty
protected

Definition at line 403 of file RE_Light.h.

float RE_Light::myAttenRampEnd
protected

Definition at line 402 of file RE_Light.h.

float RE_Light::myAttenRampStart
protected

Definition at line 401 of file RE_Light.h.

float RE_Light::myAttenRange[2]
protected

Definition at line 372 of file RE_Light.h.

RE_UniformBlockHandle RE_Light::myBasicLightingBlock
protected

Definition at line 417 of file RE_Light.h.

UT_Vector3 RE_Light::myColor
protected

Definition at line 362 of file RE_Light.h.

unsigned RE_Light::myContribDiff
protected

Definition at line 353 of file RE_Light.h.

unsigned RE_Light::myContribSpec
protected

Definition at line 353 of file RE_Light.h.

UT_Vector3 RE_Light::myDir
protected

Definition at line 361 of file RE_Light.h.

int64 RE_Light::myEmitSerial
protected

Definition at line 412 of file RE_Light.h.

float RE_Light::myEnvCone
protected

Definition at line 376 of file RE_Light.h.

RE_TextureCubeMap* RE_Light::myEnvMap
protected

Definition at line 375 of file RE_Light.h.

RE_Texture* RE_Light::myFalloffRamp
protected

Definition at line 397 of file RE_Light.h.

bool RE_Light::myFalloffRampDirty
protected

Definition at line 398 of file RE_Light.h.

float RE_Light::myFarDist
protected

Definition at line 369 of file RE_Light.h.

float RE_Light::myFocalLength
protected

Definition at line 366 of file RE_Light.h.

int RE_Light::myGLConeTextureIndex
protected

Definition at line 352 of file RE_Light.h.

RE_UniformBlockHandle RE_Light::myHighQualityBlock
protected

Definition at line 418 of file RE_Light.h.

int RE_Light::myLightShadowMapSize
protected

Definition at line 393 of file RE_Light.h.

int64 RE_Light::myLightVersion
protected

Definition at line 411 of file RE_Light.h.

int RE_Light::myMaxEnvMapSize
protected

Definition at line 377 of file RE_Light.h.

float RE_Light::myMaxLightRadius
protected

Definition at line 373 of file RE_Light.h.

UT_String RE_Light::myName
protected

Definition at line 359 of file RE_Light.h.

float RE_Light::myNearDist
protected

Definition at line 368 of file RE_Light.h.

UT_Matrix3 RE_Light::myOrientation
protected

Definition at line 363 of file RE_Light.h.

float RE_Light::myOrthoWidth
protected

Definition at line 367 of file RE_Light.h.

UT_Vector3 RE_Light::myPos
protected

Definition at line 360 of file RE_Light.h.

RE_TextureCompress RE_Light::myProjectMapFormat
protected

Definition at line 385 of file RE_Light.h.

bool RE_Light::myProjectMapLimit
protected

Definition at line 381 of file RE_Light.h.

int RE_Light::myProjectMapMaxH
protected

Definition at line 383 of file RE_Light.h.

int RE_Light::myProjectMapMaxW
protected

Definition at line 382 of file RE_Light.h.

UT_String RE_Light::myProjectMapName
protected

Definition at line 379 of file RE_Light.h.

UT_String RE_Light::myProjectMapRelativeTo
protected

Definition at line 380 of file RE_Light.h.

float RE_Light::myProjectMapScale
protected

Definition at line 384 of file RE_Light.h.

float RE_Light::myShadowBias
protected

Definition at line 388 of file RE_Light.h.

RE_UniformBlockHandle RE_Light::myShadowBlock
protected

Definition at line 419 of file RE_Light.h.

float RE_Light::myShadowBlur
protected

Definition at line 389 of file RE_Light.h.

float RE_Light::myShadowIntensity
protected

Definition at line 387 of file RE_Light.h.

RE_ShadowMap* RE_Light::myShadowMap
protected

Definition at line 396 of file RE_Light.h.

int RE_Light::myShadowMapSize
protected

Definition at line 391 of file RE_Light.h.

UT_String RE_Light::myShadowMask
protected

Definition at line 392 of file RE_Light.h.

float RE_Light::myShadowQuality
protected

Definition at line 390 of file RE_Light.h.

float RE_Light::mySurfaceArea
protected

Definition at line 406 of file RE_Light.h.

unsigned RE_Light::myUseShadows
protected

Definition at line 353 of file RE_Light.h.

RE_Texture2DMap* RE_Light::projectMap
protected

Definition at line 374 of file RE_Light.h.

UT_Matrix4 RE_Light::xform
protected

Definition at line 364 of file RE_Light.h.

float RE_Light::zoom
protected

Definition at line 370 of file RE_Light.h.


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