diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02744.html | 476 |
1 files changed, 476 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02744.html b/docs/doxygen/nel/a02744.html new file mode 100644 index 00000000..88d56808 --- /dev/null +++ b/docs/doxygen/nel/a02744.html @@ -0,0 +1,476 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CLightContribution class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CLightContribution Class Reference</h1><code>#include <<a class="el" href="a05894.html">light_contribution.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +light contribution on a model. Owned by a <a class="el" href="a02316.html">CTransform</a> computed by lighting manager. result <a class="el" href="a02743.html">CLight</a> is computed at render.<p> +if FrozenStaticLightSetup, then the SunContribution won't never be recomputed, and the first NumFrozenStaticLight PointLight are considered always valid and their setup won't be recomputed too. It's means also that <a class="el" href="a02316.html#NL3D_1_1CWaveMakerModelz1024_5">CTransform::resetLighting()</a> do not affect those NumFrozenStaticLight.<p> +Typically, FrozenStaticLightSetup is setup for models and lights THAT ARE IN SAME IG, and are deleted together. This last point is important because the first NumFrozenStaticLight PointLight pointers are never updated, so delete a light which is in this setup will cause memory failure.<p> +<dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00063">63</a> of file <a class="el" href="a05894.html">light_contribution.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiona0">CLightContribution</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CLightContributiona0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiona1">computeCurrentAmbient</a> (<a class="el" href="a03337.html">CRGBA</a> sunAmbient) const </td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono0">AttFactor</a> [6]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the Attenuation factor of influence to apply to each point light. Used if the model <a href="#NL3D_1_1CLightContributiono0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono1">Factor</a> [6]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the factor of influence to apply to each point light. <a href="#NL3D_1_1CLightContributiono1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03091.html">CPointLight</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono2">FrozenAmbientLight</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono3">FrozenStaticLightSetup</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Tells if there is some frozen static light setup. <a href="#NL3D_1_1CLightContributiono3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono4">LocalAmbient</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the Dynamic Local Ambient. If A==0 then full SunAmbient is taken. If A==255, take full LocalAmbient color. <a href="#NL3D_1_1CLightContributiono4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono5">MergedPointLight</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono6">NumFrozenStaticLight</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03091.html">CPointLight</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono7">PointLight</a> [6]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This is the list of Light which influence us. The first NULL means end_of_list. <a href="#NL3D_1_1CLightContributiono7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono8">SunContribution</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">CPointLight::ItTransformList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono9">TransformIterator</a> [6]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">An iterator on the list of model in the pointLight which owns our transform. <a href="#NL3D_1_1CLightContributiono9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02744.html#NL3D_1_1CLightContributiono10">UseMergedPointLight</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CLightContributiona0" doxytag="NL3D::CLightContribution::CLightContribution" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CLightContribution::CLightContribution </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a05893.html#l00034">34</a> of file <a class="el" href="a05893.html">light_contribution.cpp</a>. +<p> +References <a class="el" href="a05894.html#l00093">FrozenAmbientLight</a>, <a class="el" href="a05894.html#l00079">FrozenStaticLightSetup</a>, and <a class="el" href="a05894.html#l00088">UseMergedPointLight</a>. +<p> +<div class="fragment"><pre>00035 { +00036 <a class="code" href="a02744.html#NL3D_1_1CLightContributiono3">FrozenStaticLightSetup</a>= <span class="keyword">false</span>; +00037 <span class="comment">// empty the list.</span> +00038 <a class="code" href="a02744.html#NL3D_1_1CLightContributiono7">PointLight</a>[0]= NULL; +00039 <span class="comment">// default is to take fully light from the sun.</span> +00040 <a class="code" href="a02744.html#NL3D_1_1CLightContributiono8">SunContribution</a>= 255; +00041 +00042 <a class="code" href="a02744.html#NL3D_1_1CLightContributiono2">FrozenAmbientLight</a>= NULL; +00043 +00044 <a class="code" href="a02744.html#NL3D_1_1CLightContributiono10">UseMergedPointLight</a>= <span class="keyword">false</span>; +00045 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CLightContributiona1" doxytag="NL3D::CLightContribution::computeCurrentAmbient" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03337.html">CRGBA</a> NL3D::CLightContribution::computeCurrentAmbient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>sunAmbient</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute the current ambiant according to the FrozenAmbientLight, or LocalAmbient and provided sunAmbiant NB: The MergerPointLight is not added (since not really an ambiant) +<p> +Definition at line <a class="el" href="a05894.html#l00106">106</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +References <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a06340.html#l00264">NLMISC::CRGBA::addRGBOnly()</a>, <a class="el" href="a05894.html#l00093">FrozenAmbientLight</a>, <a class="el" href="a05894.html#l00079">FrozenStaticLightSetup</a>, <a class="el" href="a06180.html#l00129">NL3D::CPointLight::getAmbient()</a>, <a class="el" href="a05894.html#l00075">LocalAmbient</a>, <a class="el" href="a06340.html#l00236">NLMISC::CRGBA::modulateFromuiRGBOnly()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06329.html#l00409">NL3D::CRenderTrav::changeLightSetup()</a>, and <a class="el" href="a06372.html#l00626">NL3D::CShadowMapManager::computeShadowColors()</a>. +<p> +<div class="fragment"><pre>00107 { +00108 <a class="code" href="a03337.html">CRGBA</a> finalAmbient; +00109 <span class="keywordflow">if</span>(<a class="code" href="a02744.html#NL3D_1_1CLightContributiono3">FrozenStaticLightSetup</a>) +00110 { +00111 <span class="comment">// Any FrozenAmbientLight provided??</span> +00112 <span class="keywordflow">if</span>(<a class="code" href="a02744.html#NL3D_1_1CLightContributiono2">FrozenAmbientLight</a>) +00113 <span class="comment">// Take his current (maybe animated) ambient</span> +00114 finalAmbient= <a class="code" href="a02744.html#NL3D_1_1CLightContributiono2">FrozenAmbientLight</a>->getAmbient(); +00115 <span class="keywordflow">else</span> +00116 <span class="comment">// Take the sun ones.</span> +00117 finalAmbient= sunAmbient; +00118 } +00119 <span class="keywordflow">else</span> +00120 { +00121 <span class="comment">// must interpolate between SunAmbient and localAmbient</span> +00122 <a class="code" href="a04558.html#a15">uint</a> uAmbFactor= <a class="code" href="a02744.html#NL3D_1_1CLightContributiono4">LocalAmbient</a>.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00123 <span class="comment">// expand 0..255 to 0..256, to avoid loss of precision.</span> +00124 uAmbFactor+= uAmbFactor>>7; +00125 <span class="comment">// Blend, but LocalAmbient.r/g/b is already multiplied by a.</span> +00126 finalAmbient.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_5">modulateFromuiRGBOnly</a>(sunAmbient, 256 - uAmbFactor); +00127 finalAmbient.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_0">addRGBOnly</a>(finalAmbient, LocalAmbient); +00128 } +00129 <span class="keywordflow">return</span> finalAmbient; +00130 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CLightContributiono0" doxytag="NL3D::CLightContribution::AttFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02744.html#NL3D_1_1CLightContributiono0">NL3D::CLightContribution::AttFactor</a>[ 6 ] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the Attenuation factor of influence to apply to each point light. Used if the model +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00073">73</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a06329.html#l00409">NL3D::CRenderTrav::changeLightSetup()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06372.html#l00626">NL3D::CShadowMapManager::computeShadowColors()</a>, <a class="el" href="a06372.html#l00595">NL3D::CShadowMapManager::computeShadowDirection()</a>, <a class="el" href="a06393.html#l01295">NL3D::CSkeletonModel::renderCLod()</a>, <a class="el" href="a06568.html#l01080">NL3D::CTransform::traverseLight()</a>, and <a class="el" href="a06148.html#l00680">NL3D::CParticleSystemModel::traverseRender()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono1" doxytag="NL3D::CLightContribution::Factor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02744.html#NL3D_1_1CLightContributiono1">NL3D::CLightContribution::Factor</a>[ 6 ] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the factor of influence to apply to each point light. +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00071">71</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a06329.html#l00409">NL3D::CRenderTrav::changeLightSetup()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, and <a class="el" href="a06568.html#l01028">NL3D::CTransform::freezeStaticLightSetup()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono2" doxytag="NL3D::CLightContribution::FrozenAmbientLight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03091.html">CPointLight</a>* <a class="el" href="a02744.html#NL3D_1_1CLightContributiono2">NL3D::CLightContribution::FrozenAmbientLight</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +if FrozenStaticLightSetup, this is the frozen AmbientLight in ig. can't be stored as RGBA, because the ambient color may change. NULL means take full Sun ambient +<p> +Definition at line <a class="el" href="a05894.html#l00093">93</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a05893.html#l00034">CLightContribution()</a>, <a class="el" href="a05894.html#l00106">computeCurrentAmbient()</a>, <a class="el" href="a06568.html#l01028">NL3D::CTransform::freezeStaticLightSetup()</a>, and <a class="el" href="a06568.html#l01061">NL3D::CTransform::unfreezeStaticLightSetup()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono3" doxytag="NL3D::CLightContribution::FrozenStaticLightSetup" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02744.html#NL3D_1_1CLightContributiono3">NL3D::CLightContribution::FrozenStaticLightSetup</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Tells if there is some frozen static light setup. +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00079">79</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a05893.html#l00034">CLightContribution()</a>, <a class="el" href="a05894.html#l00106">computeCurrentAmbient()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06568.html#l01028">NL3D::CTransform::freezeStaticLightSetup()</a>, <a class="el" href="a06568.html#l00988">NL3D::CTransform::resetLighting()</a>, <a class="el" href="a06568.html#l01061">NL3D::CTransform::unfreezeStaticLightSetup()</a>, and <a class="el" href="a06568.html#l00663">NL3D::CTransform::updateWorld()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono4" doxytag="NL3D::CLightContribution::LocalAmbient" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a02744.html#NL3D_1_1CLightContributiono4">NL3D::CLightContribution::LocalAmbient</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the Dynamic Local Ambient. If A==0 then full SunAmbient is taken. If A==255, take full LocalAmbient color. +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00075">75</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a05894.html#l00106">computeCurrentAmbient()</a>, and <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono5" doxytag="NL3D::CLightContribution::MergedPointLight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03337.html">CRGBA</a> <a class="el" href="a02744.html#NL3D_1_1CLightContributiono5">NL3D::CLightContribution::MergedPointLight</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00096">96</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a06329.html#l00409">NL3D::CRenderTrav::changeLightSetup()</a>, and <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono6" doxytag="NL3D::CLightContribution::NumFrozenStaticLight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02744.html#NL3D_1_1CLightContributiono6">NL3D::CLightContribution::NumFrozenStaticLight</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +if FrozenStaticLightSetup, tells the number of point light setup which are static. NB: it is possible that FrozenStaticLightSetup==true, and NumFrozenStaticLight==0. it means that the model is not touched by any static pointLight. +<p> +Definition at line <a class="el" href="a05894.html#l00084">84</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06568.html#l01028">NL3D::CTransform::freezeStaticLightSetup()</a>, <a class="el" href="a06568.html#l00988">NL3D::CTransform::resetLighting()</a>, <a class="el" href="a06568.html#l01080">NL3D::CTransform::traverseLight()</a>, and <a class="el" href="a06568.html#l01061">NL3D::CTransform::unfreezeStaticLightSetup()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono7" doxytag="NL3D::CLightContribution::PointLight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03091.html">CPointLight</a>* <a class="el" href="a02744.html#NL3D_1_1CLightContributiono7">NL3D::CLightContribution::PointLight</a>[ 6 ] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is the list of Light which influence us. The first NULL means end_of_list. +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00067">67</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a06329.html#l00409">NL3D::CRenderTrav::changeLightSetup()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06372.html#l00626">NL3D::CShadowMapManager::computeShadowColors()</a>, <a class="el" href="a06372.html#l00595">NL3D::CShadowMapManager::computeShadowDirection()</a>, <a class="el" href="a06568.html#l01028">NL3D::CTransform::freezeStaticLightSetup()</a>, <a class="el" href="a06393.html#l01295">NL3D::CSkeletonModel::renderCLod()</a>, <a class="el" href="a06568.html#l00988">NL3D::CTransform::resetLighting()</a>, <a class="el" href="a06568.html#l01080">NL3D::CTransform::traverseLight()</a>, <a class="el" href="a06148.html#l00680">NL3D::CParticleSystemModel::traverseRender()</a>, and <a class="el" href="a06568.html#l01061">NL3D::CTransform::unfreezeStaticLightSetup()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono8" doxytag="NL3D::CLightContribution::SunContribution" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02744.html#NL3D_1_1CLightContributiono8">NL3D::CLightContribution::SunContribution</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00086">86</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a06329.html#l00409">NL3D::CRenderTrav::changeLightSetup()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06372.html#l00626">NL3D::CShadowMapManager::computeShadowColors()</a>, <a class="el" href="a06372.html#l00595">NL3D::CShadowMapManager::computeShadowDirection()</a>, <a class="el" href="a06568.html#l01028">NL3D::CTransform::freezeStaticLightSetup()</a>, <a class="el" href="a06393.html#l01295">NL3D::CSkeletonModel::renderCLod()</a>, and <a class="el" href="a06148.html#l00680">NL3D::CParticleSystemModel::traverseRender()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono9" doxytag="NL3D::CLightContribution::TransformIterator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">CPointLight::ItTransformList</a> <a class="el" href="a02744.html#NL3D_1_1CLightContributiono9">NL3D::CLightContribution::TransformIterator</a>[ 6 ] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +An iterator on the list of model in the pointLight which owns our transform. +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00069">69</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, and <a class="el" href="a06568.html#l00988">NL3D::CTransform::resetLighting()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CLightContributiono10" doxytag="NL3D::CLightContribution::UseMergedPointLight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02744.html#NL3D_1_1CLightContributiono10">NL3D::CLightContribution::UseMergedPointLight</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05894.html#l00088">88</a> of file <a class="el" href="a05894.html">light_contribution.h</a>. +<p> +Referenced by <a class="el" href="a06329.html#l00409">NL3D::CRenderTrav::changeLightSetup()</a>, <a class="el" href="a05893.html#l00034">CLightContribution()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, and <a class="el" href="a06569.html#l00369">NL3D::CTransform::useMergedPointLight()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05894.html">light_contribution.h</a><li><a class="el" href="a05893.html">light_contribution.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:49:26 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |