1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
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>
|