aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/mesh__mrm_8h-source.html
blob: 57f137ecf7b867860c76373a084d524764db8544 (plain)
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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
	<TITLE>nevrax.org : docs</TITLE>
	<LINK REL=stylesheet TYPE="text/css" HREF="/inc/css/nevrax.css">
	<link href="doxygen.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY MARGINHEIGHT="0" MARGINWIDTH="0">

<!-- uplinks -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0>
 <TR>
        <TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=140 BGCOLOR=#dddddd><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF='/'><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
        <TD><IMG  width=6 height=14  SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF='/'><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
 </TR>
</TABLE> 

<!-- banner Nevrax -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 WIDTH=100%>
 <TR><TD  BGCOLOR="#000000" BACKGROUND="/inc/img/black_banner.jpg"><A HREF=""><IMG  SRC="/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
</TABLE>

<!-- main table -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 height=100%>
 <TR>
	<TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
	<TD WIDTH=140   BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

		<!------ Begin Box ------>
		<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0  cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
		<FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td  colspan=2 bgcolor=#FFFFFF>
		<TABLE cellspacing=0 cellpadding=1 border=0>
			<tr><td ALIGN=middle><a  class='linkbox' href="/news/" TITLE="Rubrique news"><img width=13 height=15  hspace=5 border=0 src=/inc/img/picto-news.gif ALT=#></A></td><td><a  class='linkbox' href="/news/" TITLE="News">News</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/mail/" TITLE="Rubrique mail"><img width=15 height=11  hspace=5 border=0 src=/inc/img/picto-mail.gif ALT=#></A></td><td><a  class='linkbox' href="/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/docs/" TITLE="Rubrique docs"><img width=14 height=16  hspace=5 border=0 src=/inc/img/picto-docs.gif ALT=#></A></td><td><a  class='linkbox' href="/docs/" TITLE="Documentation">Documentation</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/cvs/" TITLE="Rubrique cvs"><img width=13 height=17  hspace=5 border=0 src=/inc/img/picto-cvs.gif ALT=#></A></td><td><a  class='linkbox' href="/cvs/" TITLE="CVS Web">CVS</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/bugs/" TITLE="Rubrique bugs"><img width=20 height=16  hspace=5 border=0 src=/inc/img/picto-bugs.gif ALT=#></A></td><td><a  class='linkbox' href="/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/GPL.php3" TITLE="Rubrique license"><img  width=18 height=12   hspace=5 border=0 src=/inc/img/picto-gpl.gif ALT=#></A></td><td><a  class='linkbox' href="/GPL.php3" TITLE="License">License</a></td></tr>
		</TABLE>
		</TD></TR></TABLE></TD></TR></TABLE>
		<!------ End Box  ------>

	</TD>
	<TD WIDTH=15><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
	<TD ALIGN=left valign=top><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

<!-- title -->
<TABLE  background="/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td>
<A HREF="/docs/"><img src="/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
</td><td><IMG  SRC="/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
</td></tr></table>
&nbsp;

<!-- block -->
<TABLE  bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="/inc/img/reddots.gif"></TD>
	<TD><B>Documentation</B></TD>
	<TD ALIGN=RIGHT>&nbsp;</td>
</tr></table>
<!-- Generated by Doxygen 1.2.14 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:/cgi-bin/nel-search.cgi" href="/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
<hr><h1>mesh_mrm.h</h1><a href="mesh__mrm_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 
00007 <font class="comment">/* Copyright, 2001 Nevrax Ltd.</font>
00008 <font class="comment"> *</font>
00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
00013 <font class="comment"> * any later version.</font>
00014 <font class="comment"></font>
00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
00018 <font class="comment"> * General Public License for more details.</font>
00019 <font class="comment"></font>
00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
00023 <font class="comment"> * MA 02111-1307, USA.</font>
00024 <font class="comment"> */</font>
00025 
00026 <font class="preprocessor">#ifndef NL_MESH_MRM_H</font>
00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_MESH_MRM_H</font>
00028 <font class="preprocessor"></font>
00029 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font>
00030 <font class="preprocessor">#include "<a class="code" href="shape_8h.html">3d/shape.h</a>"</font>
00031 <font class="preprocessor">#include "<a class="code" href="driver_8h.html">3d/driver.h</a>"</font>
00032 <font class="preprocessor">#include "<a class="code" href="aabbox_8h.html">nel/misc/aabbox.h</a>"</font>
00033 <font class="preprocessor">#include "<a class="code" href="uv_8h.html">nel/misc/uv.h</a>"</font>
00034 <font class="preprocessor">#include "<a class="code" href="vertex__buffer_8h.html">3d/vertex_buffer.h</a>"</font>
00035 <font class="preprocessor">#include "<a class="code" href="material_8h.html">3d/material.h</a>"</font>
00036 <font class="preprocessor">#include "<a class="code" href="3d_2primitive__block_8h.html">3d/primitive_block.h</a>"</font>
00037 <font class="preprocessor">#include "<a class="code" href="animated__material_8h.html">3d/animated_material.h</a>"</font>
00038 <font class="preprocessor">#include "<a class="code" href="mesh__base_8h.html">3d/mesh_base.h</a>"</font>
00039 <font class="preprocessor">#include "<a class="code" href="mesh_8h.html">3d/mesh.h</a>"</font>
00040 <font class="preprocessor">#include "<a class="code" href="mrm__mesh_8h.html">3d/mrm_mesh.h</a>"</font>
00041 <font class="preprocessor">#include "<a class="code" href="mrm__parameters_8h.html">3d/mrm_parameters.h</a>"</font>
00042 <font class="preprocessor">#include "<a class="code" href="bone_8h.html">3d/bone.h</a>"</font>
00043 <font class="preprocessor">#include "<a class="code" href="mesh__geom_8h.html">3d/mesh_geom.h</a>"</font>
00044 <font class="preprocessor">#include "<a class="code" href="mrm__level__detail_8h.html">3d/mrm_level_detail.h</a>"</font>
00045 <font class="preprocessor">#include &lt;set&gt;</font>
00046 <font class="preprocessor">#include &lt;vector&gt;</font>
00047 
00048 
00049 <font class="keyword">namespace </font>NL3D 
00050 {
00051 
00052 
00053 <font class="keyword">using</font>   <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>;
00054 <font class="keyword">using</font>   <a class="code" href="classNLMISC_1_1CPlane.html">NLMISC::CPlane</a>;
00055 <font class="keyword">using</font>   <a class="code" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a>;
00056 <font class="keyword">class   </font>CMRMBuilder;
00057 <font class="comment">// Fast matrix in mesh_mrm_skin.cpp</font>
00058 <font class="keyword">class   </font>CMatrix3x4;
00059 <font class="keyword">class   </font>CMatrix3x4SSE;
00060 <font class="keyword">class   </font>CRawVertexNormalSkin1;
00061 <font class="keyword">class   </font>CRawVertexNormalSkin2;
00062 <font class="keyword">class   </font>CRawVertexNormalSkin4;
00063 <font class="keyword">class   </font>CRawSkinNormalCache;
00064 <font class="keyword">class   </font>CMeshMRMInstance;
00065 
00066 <font class="comment">// ***************************************************************************</font>
<a name="l00080"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html">00080</a> <font class="comment"></font><font class="keyword">class   </font>CMeshMRMGeom : <font class="keyword">public</font> IMeshGeom
00081 {
00082 <font class="keyword">public</font>:
00084         <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a0">CMeshMRMGeom</a>();
00085         <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a1">~CMeshMRMGeom</a>();
00086 
00091         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a2">build</a>(CMesh::CMeshBuild &amp;m, std::vector&lt;CMesh::CMeshBuild*&gt; &amp;bsList, uint numMaxMaterial, <font class="keyword">const</font> CMRMParameters &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>= CMRMParameters());
00092 
00094         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a3">applyMaterialRemap</a>(<font class="keyword">const</font> std::vector&lt;sint&gt; &amp;remap);
00095 
00096 
00103         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a4">changeMRMDistanceSetup</a>(<font class="keywordtype">float</font> distanceFinest, <font class="keywordtype">float</font> distanceMiddle, <font class="keywordtype">float</font> distanceCoarsest);
00104 
00105 
00107         <font class="comment">// @{</font>
00108 
00110         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z589_0">initInstance</a>(CMeshBaseInstance *mbi);
00111 
00113         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z589_1">clip</a>(<font class="keyword">const</font> std::vector&lt;CPlane&gt;  &amp;pyramid, <font class="keyword">const</font> CMatrix &amp;worldMatrix) ;
00114 
00116         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z589_2">render</a>(IDriver *drv, CTransformShape *trans, <font class="keywordtype">float</font> polygonCount, uint32 rdrFlags, <font class="keywordtype">float</font> globalAlpha);
00117 
00119         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z589_3">renderSkin</a>(CTransformShape *trans, <font class="keywordtype">float</font> alphaMRM);
00120 
00122         <font class="keyword">virtual</font> <font class="keywordtype">float</font>   <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z589_4">getNumTriangles</a> (<font class="keywordtype">float</font> distance);
00123 
00125         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z589_5">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) <font class="keywordflow">throw</font>(NLMISC::EStream);
00126         <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z589_6">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a0">CMeshMRMGeom</a>);
00127 
00128         <font class="comment">// @}</font>
00129 
00130 
00132         <font class="comment">// @{</font>
00133 
<a name="l00136"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z590_0">00136</a>         uint                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z590_0">getNbLodLoaded</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o17">_NbLodLoaded</a> ; }
00137 
00138 
00142         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z590_1">loadFirstLod</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f);
00143 
00144 
00150         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z590_2">loadNextLod</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f);
00151 
00152 
00156         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z590_3">unloadNextLod</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f);
00157 
00158 
00159         <font class="comment">// @}</font>
00160 
00161 
00163         <font class="comment">// @{</font>
00164 
<a name="l00166"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_0">00166</a>         <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a>&amp; <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_0">getBoundingBox</a>()<font class="keyword"> const</font>
00167 <font class="keyword">        </font>{
00168                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o15">_BBox</a>;
00169         }
00170 
<a name="l00172"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_1">00172</a>         <font class="keyword">const</font> CVertexBuffer &amp;<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_1">getVertexBuffer</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o5">_VBufferFinal</a> ; }
00173 
<a name="l00175"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_2">00175</a>         <font class="keyword">const</font> std::vector&lt;CMesh::CSkinWeight&gt;   &amp;<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_2">getSkinWeights</a>()<font class="keyword"> const </font>{<font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o6">_SkinWeights</a>;}
00176 
<a name="l00178"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_3">00178</a>         <font class="keyword">const</font> std::vector&lt;std::string&gt;                  &amp;<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_3">getBonesName</a>()<font class="keyword"> const </font>{<font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o11">_BonesName</a>;}
00179 
<a name="l00182"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_4">00182</a>         uint <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_4">getNbLod</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o14">_Lods</a>.size() ; }
00183 
00184 
<a name="l00188"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_5">00188</a>         uint <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_5">getNbRdrPass</a>(uint lodId)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o14">_Lods</a>[lodId].RdrPass.size() ; }
00189 
00190 
<a name="l00195"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_6">00195</a>         <font class="keyword">const</font> CPrimitiveBlock &amp;<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_6">getRdrPassPrimitiveBlock</a>(uint lodId, uint renderingPassIndex)<font class="keyword"> const</font>
00196 <font class="keyword">        </font>{
00197                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o14">_Lods</a>[lodId].RdrPass[renderingPassIndex].PBlock ;
00198         }
00199 
00200 
<a name="l00205"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_7">00205</a>         uint32 <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_7">getRdrPassMaterial</a>(uint lodId, uint renderingPassIndex)<font class="keyword"> const</font>
00206 <font class="keyword">        </font>{
00207                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o14">_Lods</a>[lodId].RdrPass[renderingPassIndex].MaterialId ;
00208         }
00209 
00210 
<a name="l00212"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_8">00212</a>         <font class="keyword">const</font> std::vector&lt;CMRMWedgeGeom&gt;        &amp;<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z591_8">getGeomorphs</a>(uint lodId)<font class="keyword"> const</font>
00213 <font class="keyword">        </font>{
00214                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o14">_Lods</a>[lodId].Geomorphs;
00215         }
00216 
00217         <font class="comment">// @}</font>
00218 
00219 
00221         <font class="comment">// @{</font>
00222 
<a name="l00224"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z592_0">00224</a>         <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z592_0">isSkinned</a> ()<font class="keyword"> const</font>
00225 <font class="keyword">        </font>{
00226                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o0">_Skinned</a>;
00227         }
00228 
00230         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z592_1">computeBonesId</a> (CSkeletonModel *skeleton);
00231 
00233         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z592_2">updateSkeletonUsage</a>(CSkeletonModel *sm, <font class="keywordtype">bool</font> increment);
00234 
<a name="l00236"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z592_3">00236</a>         <font class="keyword">const</font> std::vector&lt;sint32&gt;       &amp;<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z592_3">getSkinBoneUsage</a>()<font class="keyword"> const </font>{<font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o12">_BonesId</a>;}
00237 
00238         <font class="comment">// @}</font>
00239 
00240 
00242         <font class="comment">// @{</font>
00243 
00247         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z593_0">supportMeshBlockRendering</a> () <font class="keyword">const</font>;
00248 
00249         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z593_1">sortPerMaterial</a>() <font class="keyword">const</font>;
00250         <font class="keyword">virtual</font> uint    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z593_2">getNumRdrPasses</a>() <font class="keyword">const</font> ;
00251         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z593_3">beginMesh</a>(CMeshGeomRenderContext &amp;rdrCtx) ;
00252         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z593_4">activeInstance</a>(CMeshGeomRenderContext &amp;rdrCtx, CMeshBaseInstance *inst, <font class="keywordtype">float</font> polygonCount) ;
00253         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z593_5">renderPass</a>(CMeshGeomRenderContext &amp;rdrCtx, CMeshBaseInstance *inst, <font class="keywordtype">float</font> polygonCount, uint rdrPass) ;
00254         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z593_6">endMesh</a>(CMeshGeomRenderContext &amp;rdrCtx) ;
00255 
00256         <font class="comment">// @}</font>
00257 
00258 
<a name="l00260"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a5">00260</a>         <font class="keyword">const</font>   CMRMLevelDetail         &amp;<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#a5">getLevelDetail</a>()<font class="keyword"> const </font>{<font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z596_0">_LevelDetail</a>;}
00261 
00262 
00264         <font class="comment">// @{</font>
00265         <font class="keywordtype">bool</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z594_0">supportSkinGrouping</a>() <font class="keyword">const</font>;
00266         sint                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z594_1">renderSkinGroupGeom</a>(CMeshMRMInstance    *mi, <font class="keywordtype">float</font> alphaMRM, uint remainingVertices, uint8 *vbDest);
00267         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z594_2">renderSkinGroupPrimitives</a>(CMeshMRMInstance      *mi, uint baseVertex);
00268         <font class="comment">// @}</font>
00269 
00270 
00271 <font class="comment">// ************************</font>
00272 <font class="keyword">private</font>:
<a name="l00273"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#l0">00273</a>         <font class="keyword">friend</font> <font class="keyword">class    </font><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#l0">CMRMBuilder</a>;
00274 
00276 
00277 
<a name="l00279"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html">00279</a>         <font class="keyword">class   </font>CRdrPass
00280         {
00281         <font class="keyword">public</font>:
00282                 <font class="comment">// The id of this material.</font>
<a name="l00283"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#m0">00283</a>                 uint32                          <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#m0">MaterialId</a>;
00284                 <font class="comment">// The list of primitives.</font>
<a name="l00285"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#m1">00285</a>                 CPrimitiveBlock         <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#m1">PBlock</a>;
00286 
00287 
00288                 <font class="comment">// Serialize a rdrpass.</font>
<a name="l00289"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#a0">00289</a>                 <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#a0">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)
00290                 {
00291                         (void)f.<a class="code" href="classNLMISC_1_1IStream.html#a29">serialVersion</a>(0);
00292 
00293                         f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#m0">MaterialId</a>);
00294                         f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CRdrPass.html#m1">PBlock</a>);
00295                 }
00296         };
00297 
00298 
<a name="l00300"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html">00300</a>         <font class="keyword">struct  </font>CVertexBlock
00301         {
00302                 <font class="comment">// The index of the start vertex.</font>
<a name="l00303"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#m0">00303</a>                 uint32  <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#m0">VertexStart</a>;
00304                 <font class="comment">// Number of vertices.</font>
<a name="l00305"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#m1">00305</a>                 uint32  <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#m1">NVertices</a>;
00306 
<a name="l00307"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#a0">00307</a>                 <font class="keywordtype">void</font>    <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#a0">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)
00308                 {
00309                         f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#m0">VertexStart</a>, <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CVertexBlock.html#m1">NVertices</a>);
00310                 }
00311         };
00312 
00313 
00314 
<a name="l00316"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html">00316</a>         <font class="keyword">class   </font><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a>
00317         {
00318         <font class="keyword">public</font>:
<a name="l00320"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m0">00320</a>                 uint32                                          <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m0">NWedges</a>;
<a name="l00322"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m1">00322</a>                 std::vector&lt;CMRMWedgeGeom&gt;      <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m1">Geomorphs</a>;
<a name="l00324"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m2">00324</a>                 std::vector&lt;CRdrPass&gt;           <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m2">RdrPass</a>;
00325 
<a name="l00329"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m3">00329</a>                 std::vector&lt;uint32&gt;                             <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m3">InfluencedVertices</a>[<a class="code" href="mesh_8h.html#a0">NL3D_MESH_SKINNING_MAX_MATRIX</a>];
<a name="l00331"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m4">00331</a>                 std::vector&lt;uint32&gt;                             <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m4">MatrixInfluences</a>;
<a name="l00333"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m5">00333</a>                 <font class="keywordtype">bool</font>                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m5">OriginalSkinRestored</a>;
<a name="l00337"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m6">00337</a>                 std::vector&lt;CVertexBlock&gt;               <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m6">SkinVertexBlocks</a>;
00338 
00339 
00340 
<a name="l00341"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#a0">00341</a>                 <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#a0">CLod</a>()
00342                 {
00343                         <font class="comment">// By default, this is supposed false.</font>
00344                         <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#m5">OriginalSkinRestored</a>= <font class="keyword">false</font>;
00345                 }
00346 
00347                 <font class="comment">// Serialize a Lod.</font>
00348                 <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f);
00349 
00350                 <font class="comment">// Used in CMeshMRMGeom::build().</font>
00351                 <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#a2">buildSkinVertexBlocks</a>();
00352                 <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLod.html#a3">optimizeTriangleOrder</a>();
00353         };
00354 
<a name="l00355"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">00355</a>         <font class="keyword">friend</font> <font class="keyword">class    </font><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a>;
00356 
<a name="l00360"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html">00360</a>         <font class="keyword">struct  </font>CMeshBuildMRM
00361         {
00362                 <font class="comment">// This tells if the mesh is correctly skinned.</font>
<a name="l00363"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m0">00363</a>                 <font class="keywordtype">bool</font>                                                            <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m0">Skinned</a>;
00364 
00365                 <font class="comment">// This is the array of SkinWeights, same size as the VB.</font>
<a name="l00366"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m1">00366</a>                 std::vector&lt;CMesh::CSkinWeight&gt;         <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m1">SkinWeights</a>;            
00367 
00368                 <font class="comment">// This VB is computed with CMRMBuilder and is ready to used</font>
<a name="l00369"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m2">00369</a>                 CVertexBuffer                   <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m2">VBuffer</a>;
00370 
00371                 <font class="comment">// Lod array, computed with CMRMBuilder and ready to used</font>
<a name="l00372"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m3">00372</a>                 std::vector&lt;CLod&gt;               <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m3">Lods</a>;
00373 
00374                 <font class="comment">// The blend shapes</font>
<a name="l00375"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m4">00375</a>                 std::vector&lt;CBlendShape&gt;        <a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#m4">BlendShapes</a>;
00376 
00378                 <font class="comment">// @{</font>
<a name="l00380"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#z599_0">00380</a> <font class="comment">                float                                   DistanceFinest;</font>
<a name="l00382"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#z599_1">00382</a> <font class="comment">                float                                   DistanceMiddle;</font>
<a name="l00384"></a><a class="code" href="structNL3D_1_1CMeshMRMGeom_1_1CMeshBuildMRM.html#z599_2">00384</a> <font class="comment">                float                                   DistanceCoarsest;</font>
00385                 <font class="comment">// @}</font>
00386 
00387         };
00389 
00390 
<a name="l00392"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html">00392</a>         <font class="keyword">class   </font>CLodInfo
00393         {
00394         <font class="keyword">public</font>:
<a name="l00396"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m0">00396</a>                 uint32          <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m0">StartAddWedge</a>;
<a name="l00398"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m1">00398</a>                 uint32          <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m1">EndAddWedges</a>;
<a name="l00400"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m2">00400</a>                 sint32          <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m2">LodOffset</a>;
00401 
<a name="l00402"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#a0">00402</a>                 <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#a0">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)
00403                 {
00404                         (void)f.<a class="code" href="classNLMISC_1_1IStream.html#a29">serialVersion</a>(0);
00405 
00406                         f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m0">StartAddWedge</a>);
00407                         f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom_1_1CLodInfo.html#m1">EndAddWedges</a>);
00408                         <font class="comment">// do not serial LodOffset here.</font>
00409                 }
00410         };
00411 
00412 
00413 
00414 <font class="keyword">private</font>:
00415 
<a name="l00417"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o0">00417</a>         <font class="keywordtype">bool</font>                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o0">_Skinned</a>;
<a name="l00419"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o1">00419</a>         std::vector&lt;CVector&gt;            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o1">_OriginalSkinVertices</a>;
<a name="l00420"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o2">00420</a>         std::vector&lt;CVector&gt;            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o2">_OriginalSkinNormals</a>;
<a name="l00421"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o3">00421</a>         std::vector&lt;CVector&gt;            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o3">_OriginalTGSpace</a>;
00422 
<a name="l00424"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o4">00424</a>         CVertexBuffer                           <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o4">_VBufferOriginal</a>;
<a name="l00426"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o5">00426</a>         CVertexBuffer                           <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o5">_VBufferFinal</a>;
00427         
<a name="l00429"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o6">00429</a>         std::vector&lt;CMesh::CSkinWeight&gt;         <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o6">_SkinWeights</a>;
00430 
<a name="l00432"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o7">00432</a>         <font class="keywordtype">bool</font>                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o7">_BoneIdComputed</a>;
<a name="l00434"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o8">00434</a>         <font class="keywordtype">bool</font>                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o8">_BoneIdExtended</a>;
00435 
<a name="l00437"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o9">00437</a>         <font class="keywordtype">bool</font>                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o9">_SupportSkinGrouping</a>;
00438 
<a name="l00440"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o10">00440</a>         uint8                                           <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o10">_LastLodComputed</a>;
00441 
<a name="l00443"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o11">00443</a>         std::vector&lt;std::string&gt;        <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o11">_BonesName</a>;
<a name="l00445"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o12">00445</a>         std::vector&lt;sint32&gt;                     <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o12">_BonesId</a>;
<a name="l00447"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o13">00447</a>         std::vector&lt;sint32&gt;                     <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o13">_BonesIdExt</a>;
00448 
<a name="l00450"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o14">00450</a>         std::vector&lt;CLod&gt;                       <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o14">_Lods</a>;
<a name="l00452"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o15">00452</a>         <a class="code" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a>                      <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o15">_BBox</a>;
00453 
00454 
<a name="l00456"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o16">00456</a>         std::vector&lt;CLodInfo&gt;           <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o16">_LodInfos</a>;
<a name="l00457"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o17">00457</a>         uint                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o17">_NbLodLoaded</a>;
00458 
00459 
00461         <font class="comment">// @{</font>
<a name="l00462"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z596_0">00462</a>         CMRMLevelDetail                         <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z596_0">_LevelDetail</a>;
00463         <font class="comment">// @}</font>
00464 
00465 
00467         <font class="comment">// @{</font>
00468 
<a name="l00469"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_3">00469</a>         CRefPtr&lt;IVertexBufferHard&gt;      <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_3">_VBHard</a>;
00470         <font class="comment">// a refPtr on the driver, to delete VBuffer Hard at clear().</font>
<a name="l00471"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_4">00471</a>         CRefPtr&lt;IDriver&gt;                        <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_4">_Driver</a>;
<a name="l00472"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_5">00472</a>         <font class="keywordtype">bool</font>                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_5">_VertexBufferHardDirty</a>;
00473 
<a name="l00475"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_6">00475</a>         <font class="keywordtype">bool</font>                                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_6">_PreciseClipping</a>;
00476 
00477         <font class="comment">/* try to create a vertexBufferHard. NB: enlarge capacity of the VBHard as necessary.</font>
00478 <font class="comment">                After this call, the vertexBufferHard may be NULL.</font>
00479 <font class="comment">        */</font>
00480         <font class="keywordtype">void</font>                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_0">updateVertexBufferHard</a>(IDriver *drv, uint32 numVertices);
00481         <font class="keywordtype">void</font>                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_1">deleteVertexBufferHard</a>();
00482 
00483         <font class="comment">// Fill skin in AGP, with a direct ptr onto AGP</font>
00484         <font class="keywordtype">void</font>                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z597_2">fillAGPSkinPartWithVBHardPtr</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, uint8 *vertexDst);
00485 
00486         <font class="comment">// @}</font>
00487 
00488         <font class="comment">// The Mesh Morpher</font>
<a name="l00489"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o18">00489</a>         CMeshMorpher                            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o18">_MeshMorpher</a>; 
00490 
00491         <font class="comment">// Possible MeshVertexProgram to apply at render()</font>
<a name="l00492"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o19">00492</a>         <a class="code" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr&lt;IMeshVertexProgram&gt;</a>   <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#o19">_MeshVertexProgram</a>;
00493 
00494 <font class="keyword">private</font>:
00496         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c0">serialLodVertexData</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f, uint startWedge, uint endWedge);
00497 
00499         sint    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c1">chooseLod</a>(<font class="keywordtype">float</font> alphaMRM, <font class="keywordtype">float</font> &amp;alphaLod);
00500 
00502         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c2">applyGeomorph</a>(std::vector&lt;CMRMWedgeGeom&gt;  &amp;geoms, <font class="keywordtype">float</font> alphaLod, IVertexBufferHard *currentVBHard);
00503 
00505         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c3">applyGeomorphWithVBHardPtr</a>(std::vector&lt;CMRMWedgeGeom&gt;  &amp;geoms, <font class="keywordtype">float</font> alphaLod, uint8 *vertexDestPtr);
00506 
00508         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c4">applyGeomorphPosNormalUV0</a>(std::vector&lt;CMRMWedgeGeom&gt;  &amp;geoms, uint8 *vertexPtr, uint8 *vertexDestPtr, sint32 vertexSize, <font class="keywordtype">float</font> a, <font class="keywordtype">float</font> a1);
00509 
00511         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c5">bkupOriginalSkinVertices</a>();
00512         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c6">bkupOriginalSkinVerticesSubset</a>(uint wedgeStart, uint wedgeEnd);
00514         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c7">restoreOriginalSkinVertices</a>();
00515 
00517         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c8">applySkin</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, <font class="keyword">const</font> CSkeletonModel *skeleton);
00518 
00522         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c9">applySkinWithNormal</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, <font class="keyword">const</font> CSkeletonModel *skeleton);
00523         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c10">applySkinWithNormalSSE</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, <font class="keyword">const</font> CSkeletonModel *skeleton);
00524         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c11">applyRawSkinWithNormal</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, CRawSkinNormalCache &amp;rawSkinLod, <font class="keyword">const</font> CSkeletonModel *skeleton);
00525         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c12">applyRawSkinWithNormalSSE</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, CRawSkinNormalCache &amp;rawSkinLod, <font class="keyword">const</font> CSkeletonModel *skeleton);
00526 
00531         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c13">applySkinWithTangentSpace</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, <font class="keyword">const</font> CSkeletonModel *skeleton, uint tangentSpaceTexCoord);
00532         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c14">applySkinWithTangentSpaceSSE</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, <font class="keyword">const</font> CSkeletonModel *skeleton, uint tangentSpaceTexCoord);
00533 
00535         <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c15">restoreOriginalSkinPart</a>(<a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z595_0">CLod</a> &amp;lod, IVertexBufferHard *currentVBHard);
00536 
00537 
00539         sint            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c16">loadHeader</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) <font class="keywordflow">throw</font>(NLMISC::EStream);
00541         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c17">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) <font class="keywordflow">throw</font>(NLMISC::EStream);
00543         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c18">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) <font class="keywordflow">throw</font>(NLMISC::EStream);
00544 
00545         <font class="comment">// Build bone Usage information for serialized mesh &lt;= version 2.</font>
00546         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c19">buildBoneUsageVer2</a> ();
00547 
00548         <font class="comment">// Some runtime not serialized compilation</font>
00549         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c20">compileRunTime</a>();
00550 
00551         <font class="comment">// SkinGroup</font>
00552         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#c21">updateShiftedTriangleCache</a>(CMeshMRMInstance *mi, sint curLodId, uint baseVertex);
00553 
00554 <font class="keyword">private</font>:
00555 
00557         <font class="comment">// @{</font>
00558 
<a name="l00560"></a><a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_13">00560</a>         uint            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_13">_MeshDataId</a>;
00561 
00563         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_3">updateRawSkinNormal</a>(<font class="keywordtype">bool</font> enabled, CMeshMRMInstance *mi, sint curLodId);
00565         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_4">dirtMeshDataId</a>();
00566 
00567         <font class="comment">// ApplySkin method</font>
00568         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_5">applyArrayRawSkinNormal1</a>(CRawVertexNormalSkin1 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00569                 CMatrix3x4 *boneMat3x4, uint vertexSize, uint nInf);
00570         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_6">applyArrayRawSkinNormal2</a>(CRawVertexNormalSkin2 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00571                 CMatrix3x4 *boneMat3x4, uint vertexSize, uint nInf);
00572         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_7">applyArrayRawSkinNormal3</a>(CRawVertexNormalSkin4 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00573                 CMatrix3x4 *boneMat3x4, uint vertexSize, uint nInf);
00574         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_8">applyArrayRawSkinNormal4</a>(CRawVertexNormalSkin4 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00575                 CMatrix3x4 *boneMat3x4, uint vertexSize, uint nInf);
00576         <font class="comment">// Same for SSE</font>
00577         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_5">applyArrayRawSkinNormal1</a>(CRawVertexNormalSkin1 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00578                 CMatrix3x4SSE *boneMat3x4, uint vertexSize, uint nInf);
00579         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_6">applyArrayRawSkinNormal2</a>(CRawVertexNormalSkin2 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00580                 CMatrix3x4SSE *boneMat3x4, uint vertexSize, uint nInf);
00581         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_7">applyArrayRawSkinNormal3</a>(CRawVertexNormalSkin4 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00582                 CMatrix3x4SSE *boneMat3x4, uint vertexSize, uint nInf);
00583         <font class="keywordtype">void</font>            <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_8">applyArrayRawSkinNormal4</a>(CRawVertexNormalSkin4 *<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, uint8 *destVertexPtr, 
00584                 CMatrix3x4SSE *boneMat3x4, uint vertexSize, uint nInf);
00585 
00586 
00587 <font class="keyword">public</font>:
00588         <font class="keyword">static</font>  uint    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_0">NumCacheVertexNormal1</a>;
00589         <font class="keyword">static</font>  uint    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_1">NumCacheVertexNormal2</a>;
00590         <font class="keyword">static</font>  uint    <a class="code" href="classNL3D_1_1CMeshMRMGeom.html#z598_2">NumCacheVertexNormal4</a>;
00591 
00592         <font class="comment">// @}</font>
00593 };
00594 
00595 
00596 
00597 <font class="comment">// ***************************************************************************</font>
<a name="l00612"></a><a class="code" href="classNL3D_1_1CMeshMRM.html">00612</a> <font class="comment"></font><font class="keyword">class </font>CMeshMRM : <font class="keyword">public</font> CMeshBase
00613 {
00614 <font class="keyword">public</font>:
00616         <a class="code" href="classNL3D_1_1CMeshMRM.html#a0">CMeshMRM</a>();
00617 
00622         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRM.html#a1">build</a> ( CMeshBase::CMeshBaseBuild &amp;mBase, CMesh::CMeshBuild &amp;m,
00623                                                         std::vector&lt;CMesh::CMeshBuild*&gt; &amp;listBS,
00624                                                         <font class="keyword">const</font> CMRMParameters &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a357">params</a>= CMRMParameters() );
00625 
00631         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRM.html#a1">build</a> (CMeshBase::CMeshBaseBuild &amp;m, <font class="keyword">const</font> CMeshMRMGeom &amp;mgeom);
00632 
00637         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRM.html#a3">optimizeMaterialUsage</a>(std::vector&lt;sint&gt; &amp;remap);
00638 
00639 
00641         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRM.html#a4">computeBonesId</a> (CSkeletonModel *skeleton);
00642 
00644         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRM.html#a5">updateSkeletonUsage</a>(CSkeletonModel *sm, <font class="keywordtype">bool</font> increment);
00645 
00652         <font class="keywordtype">void</font>                    <a class="code" href="classNL3D_1_1CMeshMRM.html#a6">changeMRMDistanceSetup</a>(<font class="keywordtype">float</font> distanceFinest, <font class="keywordtype">float</font> distanceMiddle, <font class="keywordtype">float</font> distanceCoarsest);
00653 
00655         <font class="comment">// @{</font>
00656 
00658         <font class="keyword">virtual</font> CTransformShape         *<a class="code" href="classNL3D_1_1CMeshMRM.html#z600_0">createInstance</a>(CScene &amp;scene);
00659 
00661         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNL3D_1_1CMeshMRM.html#z600_1">clip</a>(<font class="keyword">const</font> std::vector&lt;CPlane&gt;  &amp;pyramid, <font class="keyword">const</font> CMatrix &amp;worldMatrix) ;
00662 
00664         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRM.html#z600_2">render</a>(IDriver *drv, CTransformShape *trans, <font class="keywordtype">bool</font> passOpaque);
00665 
00667         <font class="keyword">virtual</font> <font class="keywordtype">float</font>   <a class="code" href="classNL3D_1_1CMeshMRM.html#z600_3">getNumTriangles</a> (<font class="keywordtype">float</font> distance);
00668 
00670         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRM.html#z600_4">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) <font class="keywordflow">throw</font>(NLMISC::EStream);
00671         <a class="code" href="classNL3D_1_1CMeshMRM.html#z600_5">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CMeshMRM.html#a0">CMeshMRM</a>);
00672 
<a name="l00674"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#z600_6">00674</a>         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNL3D_1_1CMeshMRM.html#z600_6">getAABBox</a>(<a class="code" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> &amp;bbox)<font class="keyword"> const </font>{bbox= <a class="code" href="classNL3D_1_1CMeshMRM.html#z601_0">getBoundingBox</a>().<a class="code" href="classNLMISC_1_1CAABBoxExt.html#z268_6">getAABBox</a>();}
00675 
00676         <font class="comment">// @}</font>
00677 
00678 
00680         <font class="comment">// @{</font>
00681 
<a name="l00683"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#z601_0">00683</a>         <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a>&amp; <a class="code" href="classNL3D_1_1CMeshMRM.html#z601_0">getBoundingBox</a>()<font class="keyword"> const</font>
00684 <font class="keyword">        </font>{
00685                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRM.html#o0">_MeshMRMGeom</a>.getBoundingBox();
00686         }
00687 
<a name="l00689"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#z601_1">00689</a>         <font class="keyword">const</font> CVertexBuffer &amp;<a class="code" href="classNL3D_1_1CMeshMRM.html#z601_1">getVertexBuffer</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRM.html#o0">_MeshMRMGeom</a>.getVertexBuffer(); }
00690 
00691 
<a name="l00694"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#z601_2">00694</a>         uint <a class="code" href="classNL3D_1_1CMeshMRM.html#z601_2">getNbLod</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRM.html#o0">_MeshMRMGeom</a>.getNbLod()  ; }
00695 
00696 
<a name="l00700"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#z601_3">00700</a>         uint <a class="code" href="classNL3D_1_1CMeshMRM.html#z601_3">getNbRdrPass</a>(uint lodId)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRM.html#o0">_MeshMRMGeom</a>.getNbRdrPass(lodId) ; }
00701 
00702 
<a name="l00707"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#z601_4">00707</a>         <font class="keyword">const</font> CPrimitiveBlock &amp;<a class="code" href="classNL3D_1_1CMeshMRM.html#z601_4">getRdrPassPrimitiveBlock</a>(uint lodId, uint renderingPassIndex)<font class="keyword"> const</font>
00708 <font class="keyword">        </font>{
00709                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRM.html#o0">_MeshMRMGeom</a>.getRdrPassPrimitiveBlock(lodId, renderingPassIndex) ;
00710         }
00711 
00712 
<a name="l00717"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#z601_5">00717</a>         uint32 <a class="code" href="classNL3D_1_1CMeshMRM.html#z601_5">getRdrPassMaterial</a>(uint lodId, uint renderingPassIndex)<font class="keyword"> const</font>
00718 <font class="keyword">        </font>{
00719                 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshMRM.html#o0">_MeshMRMGeom</a>.getRdrPassMaterial(lodId, renderingPassIndex) ;
00720         }
00721 
00723         <font class="keyword">const</font> CMeshMRMGeom&amp; <a class="code" href="classNL3D_1_1CMeshMRM.html#z601_6">getMeshGeom</a> () <font class="keyword">const</font>;
00724 
00725         <font class="comment">// @}</font>
00726 
00727 
00728 <font class="comment">// ************************</font>
00729 <font class="keyword">private</font>:
00730 
<a name="l00731"></a><a class="code" href="classNL3D_1_1CMeshMRM.html#o0">00731</a>         CMeshMRMGeom            <a class="code" href="classNL3D_1_1CMeshMRM.html#o0">_MeshMRMGeom</a>;
00732 
00733 
00734 };
00735 
00736 
00737 } <font class="comment">// NL3D</font>
00738 
00739 
00740 <font class="preprocessor">#endif // NL_MESH_MRM_H</font>
00741 <font class="preprocessor"></font>
00742 <font class="comment">/* End of mesh_mrm.h */</font>
</pre></div>

<!-- footer -->
<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
</TD>
<TD WIDTH=15><IMG  SRC=/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
</TR>
</TABLE>
</BODY>
</HTML>