aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02356.html
blob: 23636a69d7cfcf63241591a7f804d866a791aa20 (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
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
<!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::CCloud 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a>  | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>NL3D::CCloud Class Reference</h1><code>#include &lt;<a class="el" href="a05558.html">cloud.h</a>&gt;</code>
<p>
<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>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda0">anim</a> (double dt, double dt2)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda1">CCloud</a> (<a class="el" href="a02357.html">CCloudScape</a> *pCloudScape)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda2">disp</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda3">dispBill</a> (<a class="el" href="a02315.html">NL3D::CCamera</a> *pViewer)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda4">dispXYZ</a> (<a class="el" href="a02839.html">NL3D::CMaterial</a> *pMat=NULL)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda5">genBill</a> (<a class="el" href="a02315.html">NL3D::CCamera</a> *pViewer, <a class="el" href="a04558.html#a11">uint32</a> nBillSize=128)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda6">generate</a> (<a class="el" href="a02988.html">CNoise3d</a> &amp;noise)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda7">getBillSize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda8">getLastX</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda9">getMemSize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda10">getSizeX</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda11">getSizeY</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda12">getSizeZ</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda13">getX</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda14">getY</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda15">getZ</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda16">init</a> (<a class="el" href="a04558.html#a11">uint32</a> nVoxelW, <a class="el" href="a04558.html#a11">uint32</a> nVoxelH, <a class="el" href="a04558.html#a11">uint32</a> nVoxelD, float rBaseFreq, <a class="el" href="a04558.html#a11">uint32</a> nNbOctave)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda17">light</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda18">reset</a> (<a class="el" href="a02315.html">NL3D::CCamera</a> *pViewer)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda19">setLooping</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda20">setSizeX</a> (float <a class="el" href="a04223.html#a572">x</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda21">setSizeY</a> (float <a class="el" href="a04223.html#a573">y</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda22">setSizeZ</a> (float <a class="el" href="a04223.html#a574">z</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda23">setTex3DTemp</a> (<a class="el" href="a03893.html">SCloudTexture3D</a> &amp;<a class="el" href="a04223.html#a627">t</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda24">setTexClamp</a> (<a class="el" href="a03894.html">SCloudTextureClamp</a> &amp;<a class="el" href="a04223.html#a627">t</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda25">setX</a> (float <a class="el" href="a04223.html#a572">x</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda26">setY</a> (float <a class="el" href="a04223.html#a573">y</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda27">setZ</a> (float <a class="el" href="a04223.html#a574">z</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CClouda28">~CCloud</a> ()</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="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudo0">CloudAmbient</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudo1">CloudDiffuse</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudo2">CloudDistAtt</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudo3">CloudPower</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudo4">FuturTime</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudo5">LastCloudPower</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudo6">Time</a></td></tr>

<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudd0">calcBill</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;Viewer, const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;Center, const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;Size, <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;I, <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;J, <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;K, float &amp;Left, float &amp;Right, float &amp;Top, float &amp;Bottom, float &amp;Near, float &amp;Far)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudd1">setMode2D</a> ()</td></tr>

<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr0">_BaseFreq</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr1">_BillCenter</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr2">_BillOldCenter</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr4">_BillViewer</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02357.html">CCloudScape</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03894.html">SCloudTextureClamp</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr6">_CloudTexClamp</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03893.html">SCloudTexture3D</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr8">_Depth</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02434.html">NL3D::IDriver</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr10">_Height</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr11">_LastX</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr12">_MemBill</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr13">_MemOldBill</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr19">_Size</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="a03511.html">NL3D::CTextureMem</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="a03511.html">NL3D::CTextureMem</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>double *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr22">_UStart</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>double *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr23">_VStart</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr24">_WaitState</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr25">_Width</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>double *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02356.html#NL3D_1_1CCloudr26">_WStart</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="NL3D_1_1CClouda1" doxytag="NL3D::CCloud::CCloud" ></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::CCloud::CCloud </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02357.html">CCloudScape</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pCloudScape</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00041">41</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00146">_BillSize</a>, <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05560.html#l00176">NL3D::CCloudScape::_Driver</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05558.html#l00151">_OldBillSize</a>, <a class="el" href="a05558.html#l00137">_UStart</a>, <a class="el" href="a05558.html#l00137">_VStart</a>, <a class="el" href="a05558.html#l00155">_WaitState</a>, <a class="el" href="a05558.html#l00137">_WStart</a>, <a class="el" href="a05558.html#l00111">CloudAmbient</a>, <a class="el" href="a05558.html#l00110">CloudDiffuse</a>, <a class="el" href="a05558.html#l00113">CloudDistAtt</a>, <a class="el" href="a05558.html#l00112">CloudPower</a>, and <a class="el" href="a05558.html#l00115">LastCloudPower</a>.
<p>
<div class="fragment"><pre>00042 {
00043         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a> = pCloudScape;
00044         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_Driver;
00045         <a class="code" href="a02356.html#NL3D_1_1CCloudo3">CloudPower</a> = 255; <span class="comment">// Max Power</span>
00046         <a class="code" href="a02356.html#NL3D_1_1CCloudo5">LastCloudPower</a> = 255;
00047         <a class="code" href="a02356.html#NL3D_1_1CCloudo2">CloudDistAtt</a> = 0;
00048         <a class="code" href="a02356.html#NL3D_1_1CCloudo1">CloudDiffuse</a> = <a class="code" href="a03337.html">CRGBA</a>(255,255,255,255);
00049         <a class="code" href="a02356.html#NL3D_1_1CCloudo0">CloudAmbient</a> = CRGBA(120,140,160,255);
00050         <a class="code" href="a02356.html#NL3D_1_1CCloudr24">_WaitState</a> = 0;
00051         <a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a> = 0;
00052         <a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a> = 0;
00053         <a class="code" href="a02356.html#NL3D_1_1CCloudr22">_UStart</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr23">_VStart</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr26">_WStart</a> = NULL;
00054 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda28" doxytag="NL3D::CCloud::~CCloud" ></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::CCloud::~<a class="el" href="a02356.html">CCloud</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00057">57</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00137">_UStart</a>, <a class="el" href="a05558.html#l00137">_VStart</a>, and <a class="el" href="a05558.html#l00137">_WStart</a>.
<p>
<div class="fragment"><pre>00058 {
00059         <span class="keyword">delete</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr22">_UStart</a>;
00060         <span class="keyword">delete</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr23">_VStart</a>;
00061         <span class="keyword">delete</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr26">_WStart</a>;
00062 }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="NL3D_1_1CClouda0" doxytag="NL3D::CCloud::anim" ></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"> void NL3D::CCloud::anim </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">double&nbsp;</td>
          <td class="mdname" nowrap> <em>dt</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap> <em>dt2</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00315">315</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00136">_NbOctave</a>, <a class="el" href="a05558.html#l00137">_UStart</a>, <a class="el" href="a05558.html#l00137">_VStart</a>, <a class="el" href="a05558.html#l00137">_WStart</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.
<p>
<div class="fragment"><pre>00316 {
00317         <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> nOct = 0; nOct &lt; <a class="code" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a>; ++nOct)
00318         {
00319                 <a class="code" href="a02356.html#NL3D_1_1CCloudr22">_UStart</a>[nOct] += dt*(1&lt;&lt;nOct) / 5000.0;
00320                 <a class="code" href="a02356.html#NL3D_1_1CCloudr23">_VStart</a>[nOct] += dt*(1&lt;&lt;nOct) / 5000.0;
00321                 <a class="code" href="a02356.html#NL3D_1_1CCloudr26">_WStart</a>[nOct] += dt*(1&lt;&lt;nOct) / 5000.0;
00322         }
00323         <span class="comment">//_Pos.x += dt2;</span>
00324         <span class="comment">//Time += dt2;</span>
00325 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudd0" doxytag="NL3D::CCloud::calcBill" ></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"> void NL3D::CCloud::calcBill </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Viewer</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Center</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Size</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>I</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>J</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>K</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Left</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Right</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Top</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Bottom</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Near</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>Far</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [private]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00437">437</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05972.html#l00200">NLMISC::CMatrix::identity()</a>, <a class="el" href="a05972.html#l00914">NLMISC::CMatrix::invert()</a>, <a class="el" href="a05972.html#l01261">NLMISC::CMatrix::mulPoint()</a>, <a class="el" href="a06682.html#l00115">NLMISC::CVector::norm()</a>, <a class="el" href="a06682.html#l00119">NLMISC::CVector::normalize()</a>, <a class="el" href="a06682.html#l00136">NLMISC::CVector::set()</a>, <a class="el" href="a05972.html#l00267">NLMISC::CMatrix::setPos()</a>, <a class="el" href="a05972.html#l00209">NLMISC::CMatrix::setRot()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.
<p>
<div class="fragment"><pre>00439 {
00440         CVector ViewDir = Center - Viewer;
00441         <span class="keywordtype">float</span> ViewDist = ViewDir.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2049_0">norm</a>();
00442         ViewDir.normalize();
00443 
00444         Left = 1000.0f;
00445         Right = -1000.0f;
00446         Top = -1000.0f;
00447         Bottom = 1000.0f;
00448         Near = 1000.0f;
00449         Far = -1000.0f;
00450 
00451         <span class="keywordflow">if</span> (fabsf(Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>-Viewer.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>) &gt; fabsf(Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>-Viewer.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>))
00452         {
00453                 K.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(0, 0, 1);
00454                 J= ViewDir;
00455                 I= J^K;
00456                 K= I^J;
00457         }
00458         <span class="keywordflow">else</span>
00459         {
00460                 K.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2051_8">set</a>(0, 1, 0);
00461                 J= ViewDir;
00462                 I= J^K;
00463                 K= I^J;
00464         }
00465         I.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2049_1">normalize</a>();
00466         J.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2049_1">normalize</a>();
00467         K.<a class="code" href="a03128.html#NLMISC_1_1CVectorz2049_1">normalize</a>();
00468         
00469         CMatrix mat;
00470         mat.identity();
00471         mat.setRot(I,J,K, <span class="keyword">true</span>);
00472         mat.setPos(CVector(Viewer.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>, Viewer.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>, Viewer.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>));
00473         mat.invert();
00474 
00475         <a class="code" href="a04558.html#a11">uint32</a> i, j, k;
00476         <span class="keywordflow">for</span> (i = 0; i &lt; 2; ++i)
00477         <span class="keywordflow">for</span> (j = 0; j &lt; 2; ++j)
00478         <span class="keywordflow">for</span> (k = 0; k &lt; 2; ++k)
00479         {
00480                 CVector <a class="code" href="a04223.html#a576">v</a>;
00481                 <span class="keywordflow">if</span> (i == 0) <a class="code" href="a04223.html#a576">v</a>.x = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>-Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>/2; <span class="keywordflow">else</span> <a class="code" href="a04223.html#a576">v</a>.x = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>+Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>/2;
00482                 <span class="keywordflow">if</span> (j == 0) <a class="code" href="a04223.html#a576">v</a>.y = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>-Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>/2; <span class="keywordflow">else</span> <a class="code" href="a04223.html#a576">v</a>.y = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>+Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>/2;
00483                 <span class="keywordflow">if</span> (k == 0) <a class="code" href="a04223.html#a576">v</a>.z = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>-Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>/2; <span class="keywordflow">else</span> <a class="code" href="a04223.html#a576">v</a>.z = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>/2;
00484                 <a class="code" href="a04223.html#a576">v</a> = mat.mulPoint(v);
00485                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a576">v</a>.y &lt; Near)         Near = <a class="code" href="a04223.html#a576">v</a>.y;
00486                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a576">v</a>.y &gt; Far)          Far = <a class="code" href="a04223.html#a576">v</a>.y;
00487         }
00488 
00489         <span class="keywordflow">for</span> (i = 0; i &lt; 2; ++i)
00490         <span class="keywordflow">for</span> (j = 0; j &lt; 2; ++j)
00491         <span class="keywordflow">for</span> (k = 0; k &lt; 2; ++k)
00492         {
00493                 CVector <a class="code" href="a04223.html#a576">v</a>;
00494                 <span class="keywordflow">if</span> (i == 0) <a class="code" href="a04223.html#a576">v</a>.x = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>-Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>/2; <span class="keywordflow">else</span> <a class="code" href="a04223.html#a576">v</a>.x = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>+Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>/2;
00495                 <span class="keywordflow">if</span> (j == 0) <a class="code" href="a04223.html#a576">v</a>.y = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>-Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>/2; <span class="keywordflow">else</span> <a class="code" href="a04223.html#a576">v</a>.y = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>+Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>/2;
00496                 <span class="keywordflow">if</span> (k == 0) <a class="code" href="a04223.html#a576">v</a>.z = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>-Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>/2; <span class="keywordflow">else</span> <a class="code" href="a04223.html#a576">v</a>.z = Center.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+Size.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>/2;
00497                 <a class="code" href="a04223.html#a576">v</a> = mat.mulPoint(v);
00498                 <a class="code" href="a04223.html#a576">v</a>.x = <a class="code" href="a04223.html#a576">v</a>.x / (<a class="code" href="a04223.html#a576">v</a>.y/Near);
00499                 <a class="code" href="a04223.html#a576">v</a>.z = <a class="code" href="a04223.html#a576">v</a>.z / (<a class="code" href="a04223.html#a576">v</a>.y/Near);
00500                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a576">v</a>.x &lt; Left)         Left = <a class="code" href="a04223.html#a576">v</a>.x;
00501                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a576">v</a>.x &gt; Right)        Right = <a class="code" href="a04223.html#a576">v</a>.x;
00502                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a576">v</a>.z &lt; Bottom)       Bottom = <a class="code" href="a04223.html#a576">v</a>.z;
00503                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a576">v</a>.z &gt; Top)          Top = <a class="code" href="a04223.html#a576">v</a>.z;
00504         }
00505 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda2" doxytag="NL3D::CCloud::disp" ></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"> void NL3D::CCloud::disp </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00328">328</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05558.html#l00140">_CloudTexTmp</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05558.html#l00128">_Height</a>, <a class="el" href="a05558.html#l00129">_NbH</a>, <a class="el" href="a05558.html#l00129">_NbW</a>, <a class="el" href="a05560.html#l00177">NL3D::CCloudScape::_VertexBuffer</a>, <a class="el" href="a05558.html#l00128">_Width</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a05972.html#l00200">NLMISC::CMatrix::identity()</a>, <a class="el" href="a05968.html#l00059">NL3D::CMaterial::initUnlit()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a05646.html#l00977">s</a>, <a class="el" href="a05641.html#l00064">NL3D::CMaterial::setBlend()</a>, <a class="el" href="a05641.html#l00071">NL3D::CMaterial::setDoubleSided()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera60">NL3D::IDriver::setFrustum()</a>, <a class="el" href="a05972.html#l00209">NLMISC::CMatrix::setRot()</a>, <a class="el" href="a06711.html#l00600">NL3D::CVertexBuffer::setTexCoord()</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera68">NL3D::IDriver::setupModelMatrix()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera69">NL3D::IDriver::setupScissor()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera72">NL3D::IDriver::setupViewMatrix()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera74">NL3D::IDriver::setupViewport()</a>, <a class="el" href="a06711.html#l00524">NL3D::CVertexBuffer::setVertexCoord()</a>, <a class="el" href="a05641.html#l00099">NL3D::CMaterial::setZFunc()</a>, <a class="el" href="a05641.html#l00105">NL3D::CMaterial::setZWrite()</a>, <a class="el" href="a05560.html#l00051">NL3D::SCloudTexture3D::Tex</a>, <a class="el" href="a05641.html#l00221">NL3D::CMaterial::texEnvArg0RGB()</a>, <a class="el" href="a05641.html#l00214">NL3D::CMaterial::texEnvOpRGB()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv0</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv1</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv2</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv3</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V0</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V1</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V2</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V3</a>, and <a class="el" href="a05646.html#l00236">w</a>.
<p>
<div class="fragment"><pre>00329 {
00330         <a class="code" href="a03295.html">CQuadUV</a> qc;
00331         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo0">Uv0</a> = CUV(0.0f, 0.0f);
00332         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo1">Uv1</a> = CUV(1.0f, 0.0f);
00333         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo2">Uv2</a> = CUV(1.0f, 1.0f);
00334         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo3">Uv3</a> = CUV(0.0f, 1.0f);
00335 
00337         CScissor <a class="code" href="a04223.html#a626">s</a>;
00338         <a class="code" href="a04223.html#a626">s</a>.initFullScreen();
00339         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera69">setupScissor</a> (s);
00340         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera74">setupViewport</a> (CViewport());
00341         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera60">setFrustum</a> (0.0f, 1.0f, 0.0f, 1.0f, -1.0f, 1.0f, <span class="keyword">false</span>);
00342         CVector         I(1,0,0);
00343         CVector         J(0,0,1);
00344         CVector         K(0,-1,0);
00345         CMatrix ViewMatrix;
00346         ViewMatrix.identity();
00347         ViewMatrix.setRot(I,J,K, <span class="keyword">true</span>);
00348         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera72">setupViewMatrix</a>(ViewMatrix);
00349         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera68">setupModelMatrix</a>(CMatrix::Identity);
00351 
00352         <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a575">w</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a>*<a class="code" href="a02356.html#NL3D_1_1CCloudr25">_Width</a>;
00353         <a class="code" href="a04558.html#a11">uint32</a> h = <a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a>*<a class="code" href="a02356.html#NL3D_1_1CCloudr10">_Height</a>;
00354         <a class="code" href="a04558.html#a11">uint32</a> i = 0;
00355         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a> = CVector(0.0f/800.0f,    0.0f/600.0f,    0.0f);
00356         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a> = CVector(w/800.0f,               0.0f/600.0f,    0.0f);
00357         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a> = CVector(w/800.0f,               h/600.0f,               0.0f);
00358         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a> = CVector(0.0f/800.0f,    h/600.0f,               0.0f);
00359         <span class="keyword">static</span> CMaterial *dispMat = NULL;
00360         <span class="keywordflow">if</span> (dispMat == NULL)
00361         {
00362                 dispMat = <span class="keyword">new</span> CMaterial;
00363                 dispMat-&gt;initUnlit();
00364                 dispMat-&gt;setTexture(0, <a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;Tex);
00365                 dispMat-&gt;texEnvOpRGB(0, CMaterial::Replace);
00366                 <span class="comment">//dispMat-&gt;texEnvArg0RGB(0, CMaterial::Texture, CMaterial::SrcAlpha);</span>
00367                 dispMat-&gt;texEnvArg0RGB(0, CMaterial::Texture, CMaterial::SrcColor);
00368                 dispMat-&gt;setZFunc(CMaterial::always);
00369                 dispMat-&gt;setZWrite(<span class="keyword">false</span>);
00370                 dispMat-&gt;setDoubleSided(<span class="keyword">true</span>);
00371                 dispMat-&gt;setBlend (<span class="keyword">false</span>);
00372         }
00373 
00374         CVertexBuffer &amp;rVB = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_VertexBuffer;
00375         rVB.setVertexCoord (0, qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a>);
00376         rVB.setVertexCoord (1, qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a>);
00377         rVB.setVertexCoord (2, qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a>);
00378         rVB.setVertexCoord (3, qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a>);
00379         rVB.setTexCoord (0, 0, qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo0">Uv0</a>);
00380         rVB.setTexCoord (1, 0, qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo1">Uv1</a>);
00381         rVB.setTexCoord (2, 0, qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo2">Uv2</a>);
00382         rVB.setTexCoord (3, 0, qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo3">Uv3</a>);
00383         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00384         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (*dispMat, 0, 1);
00385 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda3" doxytag="NL3D::CCloud::dispBill" ></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"> void NL3D::CCloud::dispBill </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02315.html">NL3D::CCamera</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pViewer</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00606">606</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00159">_BillCenter</a>, <a class="el" href="a05558.html#l00159">_BillOldCenter</a>, <a class="el" href="a05558.html#l00159">_BillViewer</a>, <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05560.html#l00179">NL3D::CCloudScape::_MatBill</a>, <a class="el" href="a05558.html#l00147">_MemBill</a>, <a class="el" href="a05558.html#l00152">_MemOldBill</a>, <a class="el" href="a05558.html#l00132">_Pos</a>, <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a05558.html#l00148">_TexBill</a>, <a class="el" href="a05558.html#l00153">_TexOldBill</a>, <a class="el" href="a05560.html#l00177">NL3D::CCloudScape::_VertexBuffer</a>, <a class="el" href="a05558.html#l00155">_WaitState</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a05557.html#l00437">calcBill()</a>, <a class="el" href="a05558.html#l00108">FuturTime</a>, <a class="el" href="a06710.html#l00497">NL3D::CVertexBuffer::getTexCoordPointer()</a>, <a class="el" href="a06710.html#l00438">NL3D::CVertexBuffer::getVertexCoordPointer()</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, <a class="el" href="a05560.html#l00097">NL3D::CCloudScape::isDebugQuadEnabled()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a05641.html#l00064">NL3D::CMaterial::setBlend()</a>, <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>, <a class="el" href="a05641.html#l00071">NL3D::CMaterial::setDoubleSided()</a>, <a class="el" href="a05640.html#l00763">NL3D::IDriver::setPolygonMode()</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, <a class="el" href="a05558.html#l00108">Time</a>, <a class="el" href="a06655.html#l00049">NLMISC::CUV::U</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv0</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv1</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv2</a>, <a class="el" href="a05760.html#l00256">NLMISC::CQuadUV::Uv3</a>, <a class="el" href="a06655.html#l00049">NLMISC::CUV::V</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V0</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V1</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V2</a>, <a class="el" href="a06297.html#l00046">NLMISC::CQuad::V3</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.
<p>
<div class="fragment"><pre>00607 {
00608 <span class="comment">//      CMatrix CamMat = pCam-&gt;getMatrix();</span>
00609 <span class="comment">//      CVector Viewer = CamMat.getPos();</span>
00610         CVector Viewer = CVector (0,0,0);
00611         CVector Center = CVector (<a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>/2, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>/2, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>/2);
00612         CVector Size = <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>;
00613 
00614         <span class="comment">// Prepare vertices.</span>
00615         <a class="code" href="a03295.html">CQuadUV</a> qc;
00616         
00617         CVector I, J, K;
00618         <span class="keywordtype">float</span> Left, Right, Top, Bottom, Near, Far;
00619 
00620         <span class="keywordflow">if</span> ((<a class="code" href="a02356.html#NL3D_1_1CCloudr12">_MemBill</a> == NULL) || (<a class="code" href="a02356.html#NL3D_1_1CCloudr13">_MemOldBill</a> == NULL))
00621                 <span class="keywordflow">return</span>;
00622 
00623         <span class="keywordflow">if</span> (<a class="code" href="a02356.html#NL3D_1_1CCloudr24">_WaitState</a> &gt; 0)
00624                 <span class="keywordflow">return</span>;
00625 
00626         <span class="keywordflow">if</span> (<a class="code" href="a02356.html#NL3D_1_1CCloudo6">Time</a> &gt; <a class="code" href="a02356.html#NL3D_1_1CCloudo4">FuturTime</a>)
00627                 <a class="code" href="a02356.html#NL3D_1_1CCloudo6">Time</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudo4">FuturTime</a>;
00628 
00629         <span class="comment">// take old computed bill.</span>
00630         Viewer= <a class="code" href="a02356.html#NL3D_1_1CCloudr4">_BillViewer</a>;
00631 <span class="comment">/*              Center= _BillCenter*((float)(Trans)/(float)TransTotal) +</span>
00632 <span class="comment">                        _BillOldCenter*((float)(TransTotal-Trans)/(float)TransTotal);</span>
00633 <span class="comment"></span>
00634 <span class="comment">        calcBill (Viewer, Center, Size, I, J, K, Left, Right, Top, Bottom, Near, Far);</span>
00635 <span class="comment"></span>
00636 <span class="comment"></span>
00637 <span class="comment">        CVector lct = Viewer + J*Near;</span>
00638 <span class="comment">        qc.V0 = lct + I*Left    + K*Bottom;</span>
00639 <span class="comment">        qc.V1 = lct + I*Right   + K*Bottom;</span>
00640 <span class="comment">        qc.V2 = lct + I*Right   + K*Top;</span>
00641 <span class="comment">        qc.V3 = lct + I*Left    + K*Top;*/</span>
00642 
00643         Center= <a class="code" href="a02356.html#NL3D_1_1CCloudr1">_BillCenter</a>;
00644         <a class="code" href="a02356.html#NL3D_1_1CCloudd0">calcBill</a> (Viewer, Center, Size, I, J, K, Left, Right, Top, Bottom, Near, Far);
00645         CVector lct = Viewer + J*Near;
00646         <a class="code" href="a03295.html">CQuadUV</a> qc0;
00647         qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a> = lct + I*Left   + K*Bottom;
00648         qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a> = lct + I*Right  + K*Bottom;
00649         qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a> = lct + I*Right  + K*Top;
00650         qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a> = lct + I*Left   + K*Top;
00651 
00652         Center= <a class="code" href="a02356.html#NL3D_1_1CCloudr2">_BillOldCenter</a>;
00653         <a class="code" href="a02356.html#NL3D_1_1CCloudd0">calcBill</a> (Viewer, Center, Size, I, J, K, Left, Right, Top, Bottom, Near, Far);
00654         lct = Viewer + J*Near;
00655         <a class="code" href="a03295.html">CQuadUV</a> qc1;
00656         qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a> = lct + I*Left   + K*Bottom;
00657         qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a> = lct + I*Right  + K*Bottom;
00658         qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a> = lct + I*Right  + K*Top;
00659         qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a> = lct + I*Left   + K*Top;
00660 
00661         <span class="keywordtype">float</span>   a0= ((<span class="keywordtype">float</span>)(<a class="code" href="a02356.html#NL3D_1_1CCloudo6">Time</a>)/(<span class="keywordtype">float</span>)FuturTime);
00662         <span class="keywordtype">float</span>   a1= (<span class="keywordtype">float</span>)(FuturTime-<a class="code" href="a02356.html#NL3D_1_1CCloudo6">Time</a>)/(<span class="keywordtype">float</span>)FuturTime;
00663         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a>= qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a>*a0 + qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a>*a1;
00664         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a>= qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a>*a0 + qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a>*a1;
00665         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a>= qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a>*a0 + qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a>*a1;
00666         qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a>= qc0.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a>*a0 + qc1.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a>*a1;
00667 
00668         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo0">Uv0</a> = CUV(0, 0);
00669         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo1">Uv1</a> = CUV(1, 0);
00670         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo2">Uv2</a> = CUV(1, 1);
00671         qc.<a class="code" href="a03295.html#NLMISC_1_1CQuadUVo3">Uv3</a> = CUV(0, 1);
00672 
00673         <span class="comment">// Display TexBill with intensity : Trans / TransTotal</span>
00674         <span class="comment">// and TexOldBill  with intensity : (TransTotal-Trans) / TransTotal</span>
00675 
00676         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatBill.setTexture (0, _TexOldBill);
00677         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatBill.setTexture (1, _TexBill);
00678         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatBill.setColor (<a class="code" href="a03337.html">CRGBA</a>(255, 255, 255, (<a class="code" href="a04558.html#a7">uint8</a>)(255*((<span class="keywordtype">float</span>)Time/(<span class="keywordtype">float</span>)FuturTime))));
00679         CVertexBuffer &amp;rVB = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_VertexBuffer;
00680         <a class="code" href="a04558.html#a11">uint32</a> nVSize = rVB.getVertexSize ();
00681         CVector *pVertices = (CVector*)rVB.getVertexCoordPointer (0);
00682         *pVertices = qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo4">V0</a>; pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00683         *pVertices = qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo5">V1</a>; pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00684         *pVertices = qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo6">V2</a>; pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00685         *pVertices = qc.<a class="code" href="a03265.html#NLMISC_1_1CQuadUVo7">V3</a>;
00686 
00687         CUV *pUV = (CUV*)rVB.getTexCoordPointer (0, 0);
00688         pUV-&gt;U = 0;     pUV-&gt;V = 0;     pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00689         pUV-&gt;U = 1;     pUV-&gt;V = 0;     pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00690         pUV-&gt;U = 1;     pUV-&gt;V = 1;     pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00691         pUV-&gt;U = 0;     pUV-&gt;V = 1;
00692 
00693         pUV = (CUV*)rVB.getTexCoordPointer (0, 1);
00694         pUV-&gt;U = 0;     pUV-&gt;V = 0;     pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00695         pUV-&gt;U = 1;     pUV-&gt;V = 0;     pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00696         pUV-&gt;U = 1;     pUV-&gt;V = 1;     pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00697         pUV-&gt;U = 0;     pUV-&gt;V = 1;
00698 
00699         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00700         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatBill, 0, 1);
00701 
00702         <span class="comment">//nlinfo ("ok");</span>
00703         
00704 
00705         <span class="comment">// Debug</span>
00706         <span class="keywordflow">if</span> (<a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;isDebugQuadEnabled())
00707         {
00708                 <span class="keyword">static</span> CMaterial *mTmp = NULL;
00709                 <span class="keywordflow">if</span> (mTmp == NULL)
00710                 {
00711                         mTmp = <span class="keyword">new</span> CMaterial();
00712                         mTmp-&gt;setBlend(<span class="keyword">false</span>);
00713                         mTmp-&gt;setDoubleSided(<span class="keyword">true</span>);
00714                 }
00715                 <span class="comment">/*if (_BillSize &lt;= 4)</span>
00716 <span class="comment">                        mTmp-&gt;setColor(CRGBA(0,127,0,255));</span>
00717 <span class="comment">                else if (_BillSize == 8)</span>
00718 <span class="comment">                        mTmp-&gt;setColor(CRGBA(0,255,0,255));</span>
00719 <span class="comment">                else if (_BillSize == 16)</span>
00720 <span class="comment">                        mTmp-&gt;setColor(CRGBA(127,255,0,255));</span>
00721 <span class="comment">                else if (_BillSize == 32)</span>
00722 <span class="comment">                        mTmp-&gt;setColor(CRGBA(255,255,0,255));</span>
00723 <span class="comment">                else if (_BillSize == 64)</span>
00724 <span class="comment">                        mTmp-&gt;setColor(CRGBA(255,127,0,255));</span>
00725 <span class="comment">                else if (_BillSize == 128)</span>
00726 <span class="comment">                        mTmp-&gt;setColor(CRGBA(255,0,0,255));</span>
00727 <span class="comment">                else if (_BillSize == 256)</span>
00728 <span class="comment">                        mTmp-&gt;setColor(CRGBA(127,0,0,255));*/</span>
00729 
00730                         <span class="keywordflow">if</span> (FuturTime &lt;= 4)
00731                         mTmp-&gt;setColor(<a class="code" href="a03337.html">CRGBA</a>(0,127,0,255));
00732                 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FuturTime &lt;= 8)
00733                         mTmp-&gt;setColor(<a class="code" href="a03337.html">CRGBA</a>(0,255,0,255));
00734                 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FuturTime &lt;= 12)
00735                         mTmp-&gt;setColor(<a class="code" href="a03337.html">CRGBA</a>(127,255,0,255));
00736                 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FuturTime &lt;= 16)
00737                         mTmp-&gt;setColor(<a class="code" href="a03337.html">CRGBA</a>(255,255,0,255));
00738                 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FuturTime &lt;= 20)
00739                         mTmp-&gt;setColor(<a class="code" href="a03337.html">CRGBA</a>(255,127,0,255));
00740                 <span class="keywordflow">else</span>
00741                         mTmp-&gt;setColor(<a class="code" href="a03337.html">CRGBA</a>(255,0,0,255));
00742 
00743                 <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera65">setPolygonMode</a>(IDriver::Line);
00744                 <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (*mTmp, 0, 1);
00745                 <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera65">setPolygonMode</a>(IDriver::Filled);
00746         }
00747 
00748 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda4" doxytag="NL3D::CCloud::dispXYZ" ></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"> void NL3D::CCloud::dispXYZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02839.html">NL3D::CMaterial</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pMat</em> = NULL          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00388">388</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05558.html#l00129">_NbH</a>, <a class="el" href="a05558.html#l00129">_NbW</a>, <a class="el" href="a05558.html#l00132">_Pos</a>, <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a05560.html#l00177">NL3D::CCloudScape::_VertexBuffer</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a06710.html#l00497">NL3D::CVertexBuffer::getTexCoordPointer()</a>, <a class="el" href="a06710.html#l00438">NL3D::CVertexBuffer::getVertexCoordPointer()</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a06655.html#l00049">NLMISC::CUV::U</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a06655.html#l00049">NLMISC::CUV::V</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00509">genBill()</a>.
<p>
<div class="fragment"><pre>00389 {
00390         <a class="code" href="a03295.html">CQuadUV</a> qc;
00391         <a class="code" href="a04558.html#a11">uint32</a> i,j;
00392 
00393         <span class="keywordtype">float</span> oneOverNbW = 1.0f / <a class="code" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a>;
00394         <span class="keywordtype">float</span> oneOverNbH = 1.0f / <a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a>;
00395         <span class="keywordtype">float</span> oneOverNbWNbH = 1.0f / (<a class="code" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a>*<a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a>);
00396         CVertexBuffer &amp;rVB = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_VertexBuffer;
00397         <a class="code" href="a04558.html#a11">uint32</a> nVSize = rVB.getVertexSize ();
00398         CVector *pVertices;
00399         CUV *pUV;
00400         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00401 
00402         <span class="keywordflow">if</span> (pMat == NULL)
00403                 <span class="keywordflow">return</span>;
00404 
00405         <span class="keywordflow">for</span> (j = 0; j &lt; <a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a>; ++j)
00406         {
00407                 <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a>; ++i)
00408                 {
00409                         <a class="code" href="a04558.html#a11">uint32</a> d = i+j*_NbW;
00410 
00411                         pVertices = (CVector*)rVB.getVertexCoordPointer (0);
00412                         *pVertices = CVector(<a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>,                    <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>,                 <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>*(_NbW*_NbH-d)*oneOverNbWNbH); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00413                         *pVertices = CVector(<a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>,    <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>,                 <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>*(_NbW*_NbH-d)*oneOverNbWNbH); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00414                         *pVertices = CVector(<a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>,    <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>*(_NbW*_NbH-d)*oneOverNbWNbH); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00415                         *pVertices = CVector(<a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>,                    <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>*(_NbW*_NbH-d)*oneOverNbWNbH);
00416 
00417                         pUV = (CUV*)rVB.getTexCoordPointer (0, 0);
00418                         pUV-&gt;U = i*oneOverNbW;          pUV-&gt;V = j*oneOverNbH;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00419                         pUV-&gt;U = (i+1)*oneOverNbW;      pUV-&gt;V = j*oneOverNbH;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00420                         pUV-&gt;U = (i+1)*oneOverNbW;      pUV-&gt;V = (j+1)*oneOverNbH;      pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00421                         pUV-&gt;U = i*oneOverNbW;          pUV-&gt;V = (j+1)*oneOverNbH;
00422 
00423                         pUV = (CUV*)rVB.getTexCoordPointer (0, 1);
00424                         pUV-&gt;U = i*oneOverNbW;          pUV-&gt;V = j*oneOverNbH;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00425                         pUV-&gt;U = (i+1)*oneOverNbW;      pUV-&gt;V = j*oneOverNbH;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00426                         pUV-&gt;U = (i+1)*oneOverNbW;      pUV-&gt;V = (j+1)*oneOverNbH;      pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00427                         pUV-&gt;U = i*oneOverNbW;          pUV-&gt;V = (j+1)*oneOverNbH;
00428 
00429                         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (*pMat, 0, 1);
00430                 }
00431         }
00432 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda5" doxytag="NL3D::CCloud::genBill" ></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"> void NL3D::CCloud::genBill </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02315.html">NL3D::CCamera</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>pViewer</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>nBillSize</em> = 128</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00509">509</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00159">_BillCenter</a>, <a class="el" href="a05558.html#l00159">_BillOldCenter</a>, <a class="el" href="a05558.html#l00146">_BillSize</a>, <a class="el" href="a05558.html#l00159">_BillViewer</a>, <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05558.html#l00140">_CloudTexTmp</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05558.html#l00133">_LastX</a>, <a class="el" href="a05560.html#l00178">NL3D::CCloudScape::_MatClear</a>, <a class="el" href="a05558.html#l00147">_MemBill</a>, <a class="el" href="a05558.html#l00152">_MemOldBill</a>, <a class="el" href="a05558.html#l00151">_OldBillSize</a>, <a class="el" href="a05558.html#l00132">_Pos</a>, <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a05558.html#l00148">_TexBill</a>, <a class="el" href="a05558.html#l00153">_TexOldBill</a>, <a class="el" href="a05560.html#l00177">NL3D::CCloudScape::_VertexBuffer</a>, <a class="el" href="a05558.html#l00155">_WaitState</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a05557.html#l00437">calcBill()</a>, <a class="el" href="a05558.html#l00111">CloudAmbient</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera6">NL3D::IDriver::copyFrameBufferToTexture()</a>, <a class="el" href="a05557.html#l00388">dispXYZ()</a>, <a class="el" href="a06710.html#l00438">NL3D::CVertexBuffer::getVertexCoordPointer()</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera38">NL3D::IDriver::getWindowSize()</a>, <a class="el" href="a05972.html#l00200">NLMISC::CMatrix::identity()</a>, <a class="el" href="a06722.html#l00044">NL3D::CViewport::init()</a>, <a class="el" href="a06722.html#l00059">NL3D::CViewport::initFullScreen()</a>, <a class="el" href="a05972.html#l00914">NLMISC::CMatrix::invert()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera60">NL3D::IDriver::setFrustum()</a>, <a class="el" href="a05972.html#l00267">NLMISC::CMatrix::setPos()</a>, <a class="el" href="a05972.html#l00209">NLMISC::CMatrix::setRot()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera68">NL3D::IDriver::setupModelMatrix()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera72">NL3D::IDriver::setupViewMatrix()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera74">NL3D::IDriver::setupViewport()</a>, <a class="el" href="a05560.html#l00053">NL3D::SCloudTexture3D::ToBill</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.
<p>
<div class="fragment"><pre>00510 {
00511         <span class="comment">// If minimized mode (screenW / H is 0) abort.</span>
00512         <a class="code" href="a04558.html#a11">uint32</a> nScreenW, nScreenH;
00513         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera38">getWindowSize</a> (nScreenW, nScreenH);
00514         <span class="keywordflow">if</span>(nScreenW&lt;=0 || nScreenH&lt;=0)
00515                 <span class="keywordflow">return</span>;
00516 
00517 
00518         <span class="comment">// Compute the Bill</span>
00519         <a class="code" href="a04558.html#a11">uint32</a> sizeTMP = <a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a>;
00520         <a class="code" href="a04558.html#a7">uint8</a> *MemTMP = <a class="code" href="a02356.html#NL3D_1_1CCloudr13">_MemOldBill</a>;
00521         <a class="code" href="a03408.html">CSmartPtr&lt;CTextureMem&gt;</a>  TexTMP = <a class="code" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a>;
00522 
00523         _OldBillSize = <a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a>;
00524         _MemOldBill = <a class="code" href="a02356.html#NL3D_1_1CCloudr12">_MemBill</a>;
00525         _TexOldBill = <a class="code" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a>;
00526         _BillSize = sizeTMP;
00527         _MemBill = MemTMP;
00528         _TexBill = TexTMP;
00529 
00530         <span class="comment">// Check the new size of the billboard</span>
00531         <span class="keywordflow">if</span> (nBillSize != _BillSize)
00532         {
00533                 _BillSize = nBillSize;
00534                 _MemBill = <span class="keyword">new</span> <a class="code" href="a04558.html#a7">uint8</a>[4*_BillSize*_BillSize];
00535                 _TexBill = <span class="keyword">new</span> CTextureMem (_MemBill, 4*_BillSize*_BillSize, <span class="keyword">true</span>, <span class="keyword">false</span>, _BillSize, _BillSize);
00536                 <span class="comment">//for (i = 0; i &lt; 4*_BillSize*_BillSize; ++i) _MemBill[i] = (uint8)i;</span>
00537                 _TexBill-&gt;setWrapS (ITexture::Clamp);
00538                 _TexBill-&gt;setWrapT (ITexture::Clamp);
00539                 _TexBill-&gt;setFilterMode (ITexture::Linear, ITexture::LinearMipMapOff);
00540                 _TexBill-&gt;setReleasable (<span class="keyword">false</span>);
00541                 _TexBill-&gt;generate();
00542         }
00543 
00544         CViewport viewport, viewportOLD;
00545         viewportOLD.initFullScreen();
00546         viewport.init(0.0f, 0.0f, ((<span class="keywordtype">float</span>)_BillSize+1)/((<span class="keywordtype">float</span>)nScreenW), ((<span class="keywordtype">float</span>)_BillSize+1)/((<span class="keywordtype">float</span>)nScreenH));
00547         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera74">setupViewport</a> (viewport);
00548 
00549         <span class="comment">//CMatrix CamMat = pCam-&gt;getMatrix();</span>
00550         <span class="comment">//CVector Viewer = CamMat.getPos();</span>
00551         CVector Viewer = CVector (0,0,0);
00552         CVector Center = CVector (<a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>/2, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>/2, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>/2);
00553         CVector Size = <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>;
00554         CVector I, J, K;
00555         <span class="keywordtype">float</span> Left, Right, Top, Bottom, Near, Far;
00556 
00557         <a class="code" href="a02356.html#NL3D_1_1CCloudd0">calcBill</a> (Viewer, Center, Size, I, J, K, Left, Right, Top, Bottom, Near, Far);
00558 
00559         CMatrix mat;
00560         mat.identity();
00561         mat.setRot(I,J,K, <span class="keyword">true</span>);
00562         mat.setPos(CVector(Viewer.x, Viewer.y, Viewer.z));
00563         mat.invert();
00564 
00565         <span class="comment">// Clear background for cloud creation</span>
00566         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera60">setFrustum</a>(0.0f, 1.0f, 0.0f, 1.0f, -1.0f, 1.0f, <span class="keyword">false</span>);
00567         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera72">setupViewMatrix</a> (CMatrix::Identity);
00568         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera68">setupModelMatrix</a> (CMatrix::Identity);
00569 
00570         CVertexBuffer &amp;rVB = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_VertexBuffer;
00571         <a class="code" href="a04558.html#a11">uint32</a> nVSize = rVB.getVertexSize ();
00572         CVector *pVertices = (CVector*)rVB.getVertexCoordPointer (0);
00573         *pVertices = CVector(0.0f,      0.0f,   0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00574         *pVertices = CVector(1.0f,      0.0f,   0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00575         *pVertices = CVector(1.0f,      0.0f,   1.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00576         *pVertices = CVector(0.0f,      0.0f,   1.0f);
00577 
00578         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear.setColor (<a class="code" href="a03337.html">CRGBA</a>(0,0,0,0));
00579         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00580         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear, 0, 1);
00581 
00582         <span class="comment">// Render </span>
00583         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera60">setFrustum</a>(Left, Right, Bottom, Top, Near, Far);
00584         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera72">setupViewMatrix</a>(mat);
00585         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera68">setupModelMatrix</a> (CMatrix::Identity);
00586 
00587         <a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;ToBill.setColor (CloudAmbient);
00588         <a class="code" href="a02356.html#NL3D_1_1CClouda4">dispXYZ</a> (&amp;<a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;ToBill);
00589 
00590         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera6">copyFrameBufferToTexture</a> (_TexBill, 0, 0, 0, 0, 0, _BillSize, _BillSize);
00591 
00592         <span class="comment">// This is the end of render to texture like so reset all stuff</span>
00593         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera74">setupViewport</a> (viewportOLD);
00594 
00595         <a class="code" href="a02356.html#NL3D_1_1CCloudr2">_BillOldCenter</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr1">_BillCenter</a>;
00596         <a class="code" href="a02356.html#NL3D_1_1CCloudr4">_BillViewer</a> = Viewer;
00597         _BillCenter = Center;
00598 
00599         <span class="keywordflow">if</span> (<a class="code" href="a02356.html#NL3D_1_1CCloudr24">_WaitState</a> &gt; 0)
00600                 <a class="code" href="a02356.html#NL3D_1_1CCloudr24">_WaitState</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr24">_WaitState</a> - 1;
00601 
00602         <a class="code" href="a02356.html#NL3D_1_1CCloudr11">_LastX</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>;
00603 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda6" doxytag="NL3D::CCloud::generate" ></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"> void NL3D::CCloud::generate </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02988.html">CNoise3d</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>noise</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00110">110</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00135">_BaseFreq</a>, <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05558.html#l00141">_CloudTexClamp</a>, <a class="el" href="a05558.html#l00140">_CloudTexTmp</a>, <a class="el" href="a05558.html#l00128">_Depth</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05558.html#l00128">_Height</a>, <a class="el" href="a05560.html#l00178">NL3D::CCloudScape::_MatClear</a>, <a class="el" href="a05558.html#l00129">_NbH</a>, <a class="el" href="a05558.html#l00136">_NbOctave</a>, <a class="el" href="a05558.html#l00129">_NbW</a>, <a class="el" href="a05558.html#l00137">_UStart</a>, <a class="el" href="a05560.html#l00177">NL3D::CCloudScape::_VertexBuffer</a>, <a class="el" href="a05558.html#l00137">_VStart</a>, <a class="el" href="a05558.html#l00128">_Width</a>, <a class="el" href="a05558.html#l00137">_WStart</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a05558.html#l00113">CloudDistAtt</a>, <a class="el" href="a05558.html#l00112">CloudPower</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera6">NL3D::IDriver::copyFrameBufferToTexture()</a>, <a class="el" href="a06103.html#l00421">NL3D::CNoise3d::flush()</a>, <a class="el" href="a06103.html#l00457">NL3D::CNoise3d::getDepth()</a>, <a class="el" href="a06103.html#l00451">NL3D::CNoise3d::getHeight()</a>, <a class="el" href="a06710.html#l00497">NL3D::CVertexBuffer::getTexCoordPointer()</a>, <a class="el" href="a06710.html#l00438">NL3D::CVertexBuffer::getVertexCoordPointer()</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, <a class="el" href="a06103.html#l00445">NL3D::CNoise3d::getWidth()</a>, <a class="el" href="a06103.html#l00271">NL3D::CNoise3d::renderGrid()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>, <a class="el" href="a05557.html#l00751">setMode2D()</a>, <a class="el" href="a05560.html#l00051">NL3D::SCloudTexture3D::Tex</a>, <a class="el" href="a05560.html#l00066">NL3D::SCloudTextureClamp::ToClamp</a>, <a class="el" href="a06655.html#l00049">NLMISC::CUV::U</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a06655.html#l00049">NLMISC::CUV::V</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.
<p>
<div class="fragment"><pre>00111 {
00112         <span class="keywordtype">float</span> dU, dV, dW;
00113         <a class="code" href="a04558.html#a11">uint32</a> nOct;
00114         <a class="code" href="a03295.html">CQuadUV</a> qc;
00115 
00116         <span class="comment">// Setup the matrices view&amp;model, viewport and frustum</span>
00117         <a class="code" href="a02356.html#NL3D_1_1CCloudd1">setMode2D</a> ();
00118 
00119         <span class="comment">// Clear background</span>
00120         CVertexBuffer &amp;rVB = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_VertexBuffer;
00121         <a class="code" href="a04558.html#a11">uint32</a> nVSize = rVB.getVertexSize ();
00122         CVector *pVertices = (CVector*)rVB.getVertexCoordPointer (0);
00123         *pVertices = CVector(0.0f,                              0.0f,                           0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00124         *pVertices = CVector((<span class="keywordtype">float</span>)_NbW*_Width,0.0f,                           0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00125         *pVertices = CVector((<span class="keywordtype">float</span>)_NbW*_Width,(<span class="keywordtype">float</span>)_NbH*_Height,0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00126         *pVertices = CVector(0.0f,                              (<span class="keywordtype">float</span>)_NbH*_Height,0.0f);
00127         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear.setColor (<a class="code" href="a03337.html">CRGBA</a>(0,0,0,0));
00128         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00129         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear, 0, 1);
00130 
00131         <span class="comment">// Create cloud from noise</span>
00132         <span class="keywordflow">for</span> (nOct = 0; nOct &lt; <a class="code" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a>; ++nOct)
00133         {
00134                 dU = (<a class="code" href="a02356.html#NL3D_1_1CCloudr0">_BaseFreq</a>*((<span class="keywordtype">float</span>)_Width)/noise.getWidth())*(1&lt;&lt;nOct);
00135                 dV = (<a class="code" href="a02356.html#NL3D_1_1CCloudr0">_BaseFreq</a>*((<span class="keywordtype">float</span>)<a class="code" href="a02356.html#NL3D_1_1CCloudr10">_Height</a>)/noise.getHeight())*(1&lt;&lt;nOct);
00136                 dW = (<a class="code" href="a02356.html#NL3D_1_1CCloudr0">_BaseFreq</a>*((<span class="keywordtype">float</span>)<a class="code" href="a02356.html#NL3D_1_1CCloudr8">_Depth</a>)/noise.getDepth())*(1&lt;&lt;nOct);
00137 
00138 
00139                 noise.renderGrid (_NbW, _NbH, _Width, _Height, 
00140                                                 (<span class="keywordtype">float</span>)_UStart[nOct], (<span class="keywordtype">float</span>)_VStart[nOct], (<span class="keywordtype">float</span>)_WStart[nOct], dU, dV, dW, 
00141                                                 1.0f/(2&lt;&lt;nOct));
00142 
00143                 <span class="comment">/* This is the same thing as a renderGrid which is optimized to do that </span>
00144 <span class="comment">                qc.Uv0 = CUV((float)_UStart[nOct],              (float)_VStart[nOct]);</span>
00145 <span class="comment">                qc.Uv1 = CUV((float)_UStart[nOct]+dU,   (float)_VStart[nOct]);</span>
00146 <span class="comment">                qc.Uv2 = CUV((float)_UStart[nOct]+dU,   (float)_VStart[nOct]+dV);</span>
00147 <span class="comment">                qc.Uv3 = CUV((float)_UStart[nOct],              (float)_VStart[nOct]+dV);</span>
00148 <span class="comment">                uint32 i,j;</span>
00149 <span class="comment">                for (j = 0; j &lt; _NbH; ++j)</span>
00150 <span class="comment">                {</span>
00151 <span class="comment">                        for (i = 0; i &lt; _NbW; ++i)</span>
00152 <span class="comment">                        {</span>
00153 <span class="comment">                                qc.V0 = CVector((float)i*_Width,                (float)j*_Height,               0.0f);</span>
00154 <span class="comment">                                qc.V1 = CVector((float)(i+1)*_Width,    (float)j*_Height,               0.0f);</span>
00155 <span class="comment">                                qc.V2 = CVector((float)(i+1)*_Width,    (float)(j+1)*_Height,   0.0f);</span>
00156 <span class="comment">                                qc.V3 = CVector((float)i*_Width,                (float)(j+1)*_Height,   0.0f);</span>
00157 <span class="comment">                                noise.render (qc, (float)_WStart[nOct]+dW*(i+(float)j*_NbW)/(((float)_NbW)*_NbH), 1.0f/(2&lt;&lt;nOct));</span>
00158 <span class="comment">                        }</span>
00159 <span class="comment">                }*/</span>
00160                 noise.flush ();
00161         }
00162 
00163         <span class="comment">// Apply attenuation texture (not needed to resetup position again (done when clearing to black))</span>
00164         CUV *pUV = (CUV*)rVB.getTexCoordPointer (0, 0);
00165         pUV-&gt;U = 0.0f;          pUV-&gt;V = 0.0f;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00166         pUV-&gt;U = 1.0f;          pUV-&gt;V = 0.0f;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00167         pUV-&gt;U = 1.0f;          pUV-&gt;V = 1.0f;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00168         pUV-&gt;U = 0.0f;          pUV-&gt;V = 1.0f;
00169         <a class="code" href="a04558.html#a7">uint8</a> colpow = (<a class="code" href="a04558.html#a7">uint8</a>)(255-(((<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02356.html#NL3D_1_1CCloudo3">CloudPower</a>*(255-(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02356.html#NL3D_1_1CCloudo2">CloudDistAtt</a>)) / 255));
00170         <a class="code" href="a02356.html#NL3D_1_1CCloudr6">_CloudTexClamp</a>-&gt;ToClamp.setColor (<a class="code" href="a03337.html">CRGBA</a>(255, 255, 255, colpow));
00171         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00172         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr6">_CloudTexClamp</a>-&gt;ToClamp, 0, 1);
00173 
00174         <span class="comment">// We have generated to the screen the texture cloud so now copy from screen to the texture</span>
00175         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera6">copyFrameBufferToTexture</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;Tex, 0, 0, 0, 0, 0, _Width*_NbW, _Height*_NbH);
00176 
00177         <a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;Tex-&gt;setFilterMode (ITexture::Nearest, ITexture::NearestMipMapOff);
00178 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda7" doxytag="NL3D::CCloud::getBillSize" ></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#a11">uint32</a> NL3D::CCloud::getBillSize </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00100">100</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00146">_BillSize</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
<div class="fragment"><pre>00100 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda8" doxytag="NL3D::CCloud::getLastX" ></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"> float NL3D::CCloud::getLastX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00079">79</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00133">_LastX</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.
<p>
<div class="fragment"><pre>00079 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr11">_LastX</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda9" doxytag="NL3D::CCloud::getMemSize" ></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#a11">uint32</a> NL3D::CCloud::getMemSize </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00102">102</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00146">_BillSize</a>, <a class="el" href="a05558.html#l00151">_OldBillSize</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00829">NL3D::CCloudScape::getMemSize()</a>.
<p>
<div class="fragment"><pre>00103         {
00104                 <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a>*<a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a>*4 + <a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a>*<a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a>*4;
00105         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda10" doxytag="NL3D::CCloud::getSizeX" ></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"> float NL3D::CCloud::getSizeX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00083">83</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00131">_Size</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.
<p>
<div class="fragment"><pre>00083 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda11" doxytag="NL3D::CCloud::getSizeY" ></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"> float NL3D::CCloud::getSizeY </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00084">84</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00131">_Size</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.
<p>
<div class="fragment"><pre>00084 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda12" doxytag="NL3D::CCloud::getSizeZ" ></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"> float NL3D::CCloud::getSizeZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00085">85</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00131">_Size</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.
<p>
<div class="fragment"><pre>00085 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda13" doxytag="NL3D::CCloud::getX" ></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"> float NL3D::CCloud::getX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00078">78</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00132">_Pos</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.
<p>
<div class="fragment"><pre>00078 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda14" doxytag="NL3D::CCloud::getY" ></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"> float NL3D::CCloud::getY </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00080">80</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00132">_Pos</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.
<p>
<div class="fragment"><pre>00080 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda15" doxytag="NL3D::CCloud::getZ" ></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"> float NL3D::CCloud::getZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00081">81</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00132">_Pos</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.
<p>
<div class="fragment"><pre>00081 { <span class="keywordflow">return</span> <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda16" doxytag="NL3D::CCloud::init" ></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"> void NL3D::CCloud::init </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>nVoxelW</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>nVoxelH</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>nVoxelD</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>float&nbsp;</td>
          <td class="mdname" nowrap> <em>rBaseFreq</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>nNbOctave</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00065">65</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00135">_BaseFreq</a>, <a class="el" href="a05558.html#l00146">_BillSize</a>, <a class="el" href="a05558.html#l00128">_Depth</a>, <a class="el" href="a05558.html#l00128">_Height</a>, <a class="el" href="a05558.html#l00147">_MemBill</a>, <a class="el" href="a05558.html#l00152">_MemOldBill</a>, <a class="el" href="a05558.html#l00129">_NbH</a>, <a class="el" href="a05558.html#l00136">_NbOctave</a>, <a class="el" href="a05558.html#l00129">_NbW</a>, <a class="el" href="a05558.html#l00151">_OldBillSize</a>, <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a05558.html#l00137">_UStart</a>, <a class="el" href="a05558.html#l00137">_VStart</a>, <a class="el" href="a05558.html#l00128">_Width</a>, <a class="el" href="a05558.html#l00137">_WStart</a>, <a class="el" href="a05586.html#l00358">NLMISC::getPowerOf2()</a>, <a class="el" href="a05586.html#l00349">NLMISC::raiseToNextPowerOf2()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00066 {
00067         <span class="keywordflow">if</span> (<a class="code" href="a02356.html#NL3D_1_1CCloudr22">_UStart</a> != NULL)
00068                 <span class="keywordflow">return</span>;
00069         
00070         <a class="code" href="a02356.html#NL3D_1_1CCloudr0">_BaseFreq</a> = rBaseFreq;
00071         <a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a> = 0;
00072         <a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a> = 0;
00073 
00074         <a class="code" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a> = nNbOctave;
00075         <a class="code" href="a02356.html#NL3D_1_1CCloudr22">_UStart</a> = <span class="keyword">new</span> <span class="keywordtype">double</span>[<a class="code" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a>];
00076         <a class="code" href="a02356.html#NL3D_1_1CCloudr23">_VStart</a> = <span class="keyword">new</span> <span class="keywordtype">double</span>[<a class="code" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a>];
00077         <a class="code" href="a02356.html#NL3D_1_1CCloudr26">_WStart</a> = <span class="keyword">new</span> <span class="keywordtype">double</span>[<a class="code" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a>];
00078 
00079         <a class="code" href="a04558.html#a11">uint32</a> i;
00080         <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="a02356.html#NL3D_1_1CCloudr15">_NbOctave</a>; ++i)
00081         {
00082                 <a class="code" href="a02356.html#NL3D_1_1CCloudr22">_UStart</a>[i] = ((<span class="keywordtype">double</span>)rand())/RAND_MAX;
00083                 <a class="code" href="a02356.html#NL3D_1_1CCloudr23">_VStart</a>[i] = ((<span class="keywordtype">double</span>)rand())/RAND_MAX;
00084                 <a class="code" href="a02356.html#NL3D_1_1CCloudr26">_WStart</a>[i] = ((<span class="keywordtype">double</span>)rand())/RAND_MAX;
00085         }
00086 
00087         <a class="code" href="a02356.html#NL3D_1_1CCloudr25">_Width</a> = <a class="code" href="a05378.html#a262">raiseToNextPowerOf2</a> (nVoxelW);
00088         <a class="code" href="a02356.html#NL3D_1_1CCloudr10">_Height</a> = <a class="code" href="a05378.html#a262">raiseToNextPowerOf2</a> (nVoxelH);
00089         <a class="code" href="a02356.html#NL3D_1_1CCloudr8">_Depth</a> = <a class="code" href="a05378.html#a262">raiseToNextPowerOf2</a> (nVoxelD);
00090         <a class="code" href="a04558.html#a11">uint32</a> vdpo2 = <a class="code" href="a05378.html#a263">getPowerOf2</a>(_Depth);
00091         <a class="code" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a> = 1 &lt;&lt; (vdpo2 / 2);
00092         <span class="keywordflow">if</span> ((vdpo2 &amp; 1) != 0)
00093                 <a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a> = 2 &lt;&lt; (vdpo2 / 2);
00094         <span class="keywordflow">else</span>
00095                 <a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a> = 1 &lt;&lt; (vdpo2 / 2);
00096 
00097         <a class="code" href="a02356.html#NL3D_1_1CCloudr12">_MemBill</a> = NULL;
00098         <a class="code" href="a02356.html#NL3D_1_1CCloudr13">_MemOldBill</a> = NULL;
00099 
00100         <span class="keywordtype">float</span> scale = 20.0f + 10.0f*((<span class="keywordtype">float</span>)rand())/RAND_MAX;;
00101         <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = scale * <a class="code" href="a02356.html#NL3D_1_1CCloudr25">_Width</a>/<a class="code" href="a02356.html#NL3D_1_1CCloudr8">_Depth</a>;
00102         scale = 20.0f + 10.0f*((<span class="keywordtype">float</span>)rand())/RAND_MAX;;
00103         <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = scale * <a class="code" href="a02356.html#NL3D_1_1CCloudr10">_Height</a>/<a class="code" href="a02356.html#NL3D_1_1CCloudr8">_Depth</a>;
00104         scale = 20.0f + 10.0f*((<span class="keywordtype">float</span>)rand())/RAND_MAX;;
00105         <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = scale * <a class="code" href="a02356.html#NL3D_1_1CCloudr8">_Depth</a>/<a class="code" href="a02356.html#NL3D_1_1CCloudr8">_Depth</a>;
00106 
00107 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda17" doxytag="NL3D::CCloud::light" ></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"> void NL3D::CCloud::light </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00182">182</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05558.html#l00140">_CloudTexTmp</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05558.html#l00128">_Height</a>, <a class="el" href="a05560.html#l00178">NL3D::CCloudScape::_MatClear</a>, <a class="el" href="a05558.html#l00129">_NbH</a>, <a class="el" href="a05558.html#l00129">_NbW</a>, <a class="el" href="a05560.html#l00177">NL3D::CCloudScape::_VertexBuffer</a>, <a class="el" href="a05558.html#l00128">_Width</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a05558.html#l00110">CloudDiffuse</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera6">NL3D::IDriver::copyFrameBufferToTexture()</a>, <a class="el" href="a06710.html#l00497">NL3D::CVertexBuffer::getTexCoordPointer()</a>, <a class="el" href="a06710.html#l00438">NL3D::CVertexBuffer::getVertexCoordPointer()</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a05641.html#l00064">NL3D::CMaterial::setBlend()</a>, <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera58">NL3D::IDriver::setColorMask()</a>, <a class="el" href="a05557.html#l00751">setMode2D()</a>, <a class="el" href="a05560.html#l00051">NL3D::SCloudTexture3D::Tex</a>, <a class="el" href="a05560.html#l00052">NL3D::SCloudTexture3D::ToLight</a>, <a class="el" href="a06655.html#l00049">NLMISC::CUV::U</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a06655.html#l00049">NLMISC::CUV::V</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.
<p>
<div class="fragment"><pre>00183 {
00184         <a class="code" href="a04558.html#a11">uint32</a> i, j;
00185 
00186         <span class="comment">// Setup the matrices view&amp;model, viewport and frustum</span>
00187         <a class="code" href="a02356.html#NL3D_1_1CCloudd1">setMode2D</a> ();
00188 
00189         <span class="comment">// Destination position for lighting accumulation buffer from (0, 0) size (_Width, _Height)</span>
00190         CVertexBuffer &amp;rVB = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_VertexBuffer;
00191         <a class="code" href="a04558.html#a11">uint32</a> nVSize = rVB.getVertexSize ();
00192         CVector *pVertices = (CVector*)rVB.getVertexCoordPointer (0);
00193         *pVertices = CVector((<span class="keywordtype">float</span>)0.0f,       (<span class="keywordtype">float</span>)0.0f,    0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00194         *pVertices = CVector((<span class="keywordtype">float</span>)_Width,     (<span class="keywordtype">float</span>)0.0f,    0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00195         *pVertices = CVector((<span class="keywordtype">float</span>)_Width,     (<span class="keywordtype">float</span>)_Height, 0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00196         *pVertices = CVector((<span class="keywordtype">float</span>)0.0f,       (<span class="keywordtype">float</span>)_Height, 0.0f);
00197 
00198         <span class="comment">// Clear the screen accumulatorfor lighting</span>
00199         <a class="code" href="a02356.html#NL3D_1_1CCloudo1">CloudDiffuse</a>.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a> = 255;
00200         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear.setColor (CloudDiffuse);
00201         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00202         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear, 0, 1);
00203 
00204         CUV *pUV;
00205         <span class="comment">// Lighting : render the alpha of one layer into rgb of the screen</span>
00206         <span class="keywordtype">float</span> oneOverNbW = 1.0f/<a class="code" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a>;
00207         <span class="keywordtype">float</span> oneOverNbH = 1.0f/<a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a>;
00208         <a class="code" href="a04558.html#a11">uint32</a> previ, prevj;
00209         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00210         <span class="keywordflow">for</span> (j = 0; j &lt; <a class="code" href="a02356.html#NL3D_1_1CCloudr14">_NbH</a>; ++j)
00211         {
00212                 <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="a02356.html#NL3D_1_1CCloudr16">_NbW</a>; ++i)
00213                 {
00214                         <span class="comment">// Add the alpha of the previous layer into the RGB of the destination</span>
00215                         <span class="keywordflow">if</span> ((i+j) &gt; 0)
00216                         {
00217                                 <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera58">setColorMask</a> (<span class="keyword">true</span>, <span class="keyword">true</span>, <span class="keyword">true</span>, <span class="keyword">false</span>);
00218                                 pUV = (CUV*)rVB.getTexCoordPointer (0, 0);
00219                                 pUV-&gt;U = previ*oneOverNbW;              pUV-&gt;V = prevj*oneOverNbH;              pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00220                                 pUV-&gt;U = (previ+1)*oneOverNbW;  pUV-&gt;V = prevj*oneOverNbH;              pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00221                                 pUV-&gt;U = (previ+1)*oneOverNbW;  pUV-&gt;V = (prevj+1)*oneOverNbH;  pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00222                                 pUV-&gt;U = previ*oneOverNbW;              pUV-&gt;V = (prevj+1)*oneOverNbH;
00223 
00224                                 <a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;ToLight.setBlend (<span class="keyword">true</span>);
00225                                 <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;ToLight, 0, 1);
00226                         }
00227                         <span class="comment">// Replace the alpha of the destination by the alpha of the current layer</span>
00228                         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera58">setColorMask</a> (<span class="keyword">false</span>, <span class="keyword">false</span>, <span class="keyword">false</span>, <span class="keyword">true</span>);
00229 
00230                         pUV = (CUV*)rVB.getTexCoordPointer (0, 0);
00231                         pUV-&gt;U = i*oneOverNbW;          pUV-&gt;V = j*oneOverNbH;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00232                         pUV-&gt;U = (i+1)*oneOverNbW;      pUV-&gt;V = j*oneOverNbH;          pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00233                         pUV-&gt;U = (i+1)*oneOverNbW;      pUV-&gt;V = (j+1)*oneOverNbH;      pUV = (CUV*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pUV) + nVSize );
00234                         pUV-&gt;U = i*oneOverNbW;          pUV-&gt;V = (j+1)*oneOverNbH;
00235 
00236                         <a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;ToLight.setBlend (<span class="keyword">false</span>);
00237                         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;ToLight, 0, 1);
00238 
00239                         <span class="comment">// Copy from accumulator to the texture</span>
00240                         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera6">copyFrameBufferToTexture</a>(<a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;Tex, 0, i*_Width, j*_Height, 0, 0, _Width, _Height);
00241                         previ = i;
00242                         prevj = j;
00243                 }
00244         }
00245         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera58">setColorMask</a> (<span class="keyword">true</span>, <span class="keyword">true</span>, <span class="keyword">true</span>, <span class="keyword">true</span>);
00246 
00247         <a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a>-&gt;Tex-&gt;setFilterMode (ITexture::Linear, ITexture::LinearMipMapOff);
00248 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda18" doxytag="NL3D::CCloud::reset" ></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"> void NL3D::CCloud::reset </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02315.html">NL3D::CCamera</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pViewer</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00251">251</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00159">_BillCenter</a>, <a class="el" href="a05558.html#l00159">_BillOldCenter</a>, <a class="el" href="a05558.html#l00146">_BillSize</a>, <a class="el" href="a05558.html#l00159">_BillViewer</a>, <a class="el" href="a05558.html#l00139">_CloudScape</a>, <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a05560.html#l00178">NL3D::CCloudScape::_MatClear</a>, <a class="el" href="a05558.html#l00147">_MemBill</a>, <a class="el" href="a05558.html#l00152">_MemOldBill</a>, <a class="el" href="a05558.html#l00151">_OldBillSize</a>, <a class="el" href="a05558.html#l00132">_Pos</a>, <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a05558.html#l00148">_TexBill</a>, <a class="el" href="a05558.html#l00153">_TexOldBill</a>, <a class="el" href="a05560.html#l00177">NL3D::CCloudScape::_VertexBuffer</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a05557.html#l00437">calcBill()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera6">NL3D::IDriver::copyFrameBufferToTexture()</a>, <a class="el" href="a06710.html#l00438">NL3D::CVertexBuffer::getVertexCoordPointer()</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera54">NL3D::IDriver::renderQuads()</a>, <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>, <a class="el" href="a05557.html#l00751">setMode2D()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>.
<p>
<div class="fragment"><pre>00252 {
00253         <span class="keywordflow">if</span> (<a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a> != 4)
00254         {
00255                 <a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a> = 4;
00256                 <a class="code" href="a02356.html#NL3D_1_1CCloudr12">_MemBill</a> = <span class="keyword">new</span> <a class="code" href="a04558.html#a7">uint8</a>[4*<a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a>*<a class="code" href="a02356.html#NL3D_1_1CCloudr3">_BillSize</a>];
00257                 <a class="code" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a> = <span class="keyword">new</span> CTextureMem (_MemBill, 4*_BillSize*_BillSize, <span class="keyword">true</span>, <span class="keyword">false</span>, _BillSize, _BillSize);
00258                 <a class="code" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a>-&gt;setWrapS (ITexture::Clamp);
00259                 <a class="code" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a>-&gt;setWrapT (ITexture::Clamp);
00260                 <a class="code" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a>-&gt;setFilterMode (ITexture::Linear, ITexture::LinearMipMapOff);
00261                 <a class="code" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a>-&gt;generate();
00262                 <a class="code" href="a02356.html#NL3D_1_1CCloudr20">_TexBill</a>-&gt;setReleasable (<span class="keyword">false</span>);
00263         }
00264         <span class="keywordflow">if</span> (<a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a> != 4)
00265         {
00266                 <a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a> = 4;
00267                 <a class="code" href="a02356.html#NL3D_1_1CCloudr13">_MemOldBill</a> = <span class="keyword">new</span> <a class="code" href="a04558.html#a7">uint8</a>[4*<a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a>*<a class="code" href="a02356.html#NL3D_1_1CCloudr17">_OldBillSize</a>];
00268                 <a class="code" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a> = <span class="keyword">new</span> CTextureMem (_MemOldBill, 4*_OldBillSize*_OldBillSize, <span class="keyword">true</span>, <span class="keyword">false</span>, _OldBillSize, _OldBillSize);
00269                 <a class="code" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a>-&gt;setWrapS (ITexture::Clamp);
00270                 <a class="code" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a>-&gt;setWrapT (ITexture::Clamp);
00271                 <a class="code" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a>-&gt;setFilterMode (ITexture::Linear, ITexture::LinearMipMapOff);
00272                 <a class="code" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a>-&gt;generate();
00273                 <a class="code" href="a02356.html#NL3D_1_1CCloudr21">_TexOldBill</a>-&gt;setReleasable (<span class="keyword">false</span>);
00274         }
00275         <a class="code" href="a02356.html#NL3D_1_1CCloudd1">setMode2D</a> ();
00276 
00277         <span class="comment">// Clear background</span>
00278         CVertexBuffer &amp;rVB = <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_VertexBuffer;
00279         <a class="code" href="a04558.html#a11">uint32</a> nVSize = rVB.getVertexSize ();
00280         CVector *pVertices = (CVector*)rVB.getVertexCoordPointer (0);
00281         *pVertices = CVector(0.0f, 0.0f, 0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00282         *pVertices = CVector(5.0f, 0.0f, 0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00283         *pVertices = CVector(5.0f, 5.0f, 0.0f); pVertices = (CVector*)( ((<a class="code" href="a04558.html#a7">uint8</a>*)pVertices) + nVSize );
00284         *pVertices = CVector(0.0f, 5.0f, 0.0f);
00285         <a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear.setColor (<a class="code" href="a03337.html">CRGBA</a>(0,0,0,0));
00286         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera2">activeVertexBuffer</a> (rVB);
00287         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera54">renderQuads</a> (<a class="code" href="a02356.html#NL3D_1_1CCloudr5">_CloudScape</a>-&gt;_MatClear, 0, 1);
00288 
00289         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera6">copyFrameBufferToTexture</a> (_TexBill, 0, 0, 0, 0, 0, 4, 4);
00290         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera6">copyFrameBufferToTexture</a> (_TexOldBill, 0, 0, 0, 0, 0, 4, 4);
00291 
00292 <span class="comment">//      CMatrix CamMat = pViewer-&gt;getMatrix();</span>
00293 <span class="comment">//      CVector Viewer = CamMat.getPos();</span>
00294         CVector Viewer = CVector(0,0,0);
00295         CVector Center = CVector (<a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a>/2, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a>/2, <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>+<a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a>/2);
00296         CVector Size = <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>;
00297         CVector I, J, K;
00298         <span class="keywordtype">float</span> Left, Right, Top, Bottom, Near, Far;
00299 
00300         <a class="code" href="a02356.html#NL3D_1_1CCloudd0">calcBill</a> (Viewer, Center, Size, I, J, K, Left, Right, Top, Bottom, Near, Far);
00301 
00302         <a class="code" href="a02356.html#NL3D_1_1CCloudr2">_BillOldCenter</a> = <a class="code" href="a02356.html#NL3D_1_1CCloudr1">_BillCenter</a>;
00303         <a class="code" href="a02356.html#NL3D_1_1CCloudr4">_BillViewer</a> = Viewer;
00304         _BillCenter = Center;
00305 
00306         <a class="code" href="a02356.html#NL3D_1_1CCloudd0">calcBill</a> (Viewer, Center, Size, I, J, K, Left, Right, Top, Bottom, Near, Far);
00307 
00308         <a class="code" href="a02356.html#NL3D_1_1CCloudr2">_BillOldCenter</a> = _BillCenter;
00309         <a class="code" href="a02356.html#NL3D_1_1CCloudr4">_BillViewer</a> = Viewer;
00310         _BillCenter = Center;
00311 
00312 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda19" doxytag="NL3D::CCloud::setLooping" ></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"> void NL3D::CCloud::setLooping </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00098">98</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00155">_WaitState</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.
<p>
<div class="fragment"><pre>00098 { <a class="code" href="a02356.html#NL3D_1_1CCloudr24">_WaitState</a> = 2; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudd1" doxytag="NL3D::CCloud::setMode2D" ></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"> void NL3D::CCloud::setMode2D </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [private]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05557.html#l00751">751</a> of file <a class="el" href="a05557.html">cloud.cpp</a>.
<p>
References <a class="el" href="a05558.html#l00163">_Driver</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera38">NL3D::IDriver::getWindowSize()</a>, <a class="el" href="a05972.html#l00200">NLMISC::CMatrix::identity()</a>, <a class="el" href="a06355.html#l00088">NL3D::CScissor::initFullScreen()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera60">NL3D::IDriver::setFrustum()</a>, <a class="el" href="a05972.html#l00209">NLMISC::CMatrix::setRot()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera68">NL3D::IDriver::setupModelMatrix()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera69">NL3D::IDriver::setupScissor()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera72">NL3D::IDriver::setupViewMatrix()</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera74">NL3D::IDriver::setupViewport()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00182">light()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.
<p>
<div class="fragment"><pre>00752 {
00753         CVector I(1,0,0), J(0,0,1), K(0,-1,0);
00754         CMatrix ViewMatrix;
00755         ViewMatrix.identity ();
00756         ViewMatrix.setRot (I,J,K, <span class="keyword">true</span>);
00757         CScissor Scissor;
00758         Scissor.initFullScreen();
00759         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera69">setupScissor</a> (Scissor);
00760         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera74">setupViewport</a> (CViewport());
00761         <a class="code" href="a04558.html#a11">uint32</a> nScreenW, nScreenH;
00762         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera38">getWindowSize</a> (nScreenW, nScreenH);
00763         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera60">setFrustum</a> (0, (<span class="keywordtype">float</span>)nScreenW, 0, (<span class="keywordtype">float</span>)nScreenH, -1, 1, <span class="keyword">false</span>);
00764         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera72">setupViewMatrix</a> (ViewMatrix);
00765         <a class="code" href="a02356.html#NL3D_1_1CCloudr9">_Driver</a>-&gt;<a class="code" href="a02434.html#NL3D_1_1IDrivera68">setupModelMatrix</a> (CMatrix::Identity);
00766 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda20" doxytag="NL3D::CCloud::setSizeX" ></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"> void NL3D::CCloud::setSizeX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>x</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00091">91</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, and <a class="el" href="a05646.html#l00236">x</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00091 { <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = <a class="code" href="a04223.html#a572">x</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda21" doxytag="NL3D::CCloud::setSizeY" ></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"> void NL3D::CCloud::setSizeY </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>y</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00092">92</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a05646.html#l00236">y</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00092 { <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = <a class="code" href="a04223.html#a573">y</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda22" doxytag="NL3D::CCloud::setSizeZ" ></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"> void NL3D::CCloud::setSizeZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>z</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00093">93</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00131">_Size</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>, and <a class="el" href="a05646.html#l00236">z</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00093 { <a class="code" href="a02356.html#NL3D_1_1CCloudr19">_Size</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = <a class="code" href="a04223.html#a574">z</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda23" doxytag="NL3D::CCloud::setTex3DTemp" ></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"> void NL3D::CCloud::setTex3DTemp </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a03893.html">SCloudTexture3D</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>t</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00096">96</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00140">_CloudTexTmp</a>, and <a class="el" href="a05646.html#l00985">t</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00096 { <a class="code" href="a02356.html#NL3D_1_1CCloudr7">_CloudTexTmp</a> = &amp;<a class="code" href="a04223.html#a627">t</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda24" doxytag="NL3D::CCloud::setTexClamp" ></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"> void NL3D::CCloud::setTexClamp </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a03894.html">SCloudTextureClamp</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>t</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00095">95</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00141">_CloudTexClamp</a>, and <a class="el" href="a05646.html#l00985">t</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00095 { <a class="code" href="a02356.html#NL3D_1_1CCloudr6">_CloudTexClamp</a> = &amp;<a class="code" href="a04223.html#a627">t</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda25" doxytag="NL3D::CCloud::setX" ></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"> void NL3D::CCloud::setX </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>x</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00087">87</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00133">_LastX</a>, <a class="el" href="a05558.html#l00132">_Pos</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, and <a class="el" href="a05646.html#l00236">x</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, and <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.
<p>
<div class="fragment"><pre>00087 { <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = <a class="code" href="a04223.html#a572">x</a>; <a class="code" href="a02356.html#NL3D_1_1CCloudr11">_LastX</a> = <a class="code" href="a04223.html#a572">x</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda26" doxytag="NL3D::CCloud::setY" ></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"> void NL3D::CCloud::setY </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>y</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00088">88</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00132">_Pos</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a05646.html#l00236">y</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00088 { <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = <a class="code" href="a04223.html#a573">y</a>; }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CClouda27" doxytag="NL3D::CCloud::setZ" ></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"> void NL3D::CCloud::setZ </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>z</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00089">89</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
References <a class="el" href="a05558.html#l00132">_Pos</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>, and <a class="el" href="a05646.html#l00236">z</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>.
<p>
<div class="fragment"><pre>00089 { <a class="code" href="a02356.html#NL3D_1_1CCloudr18">_Pos</a>.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = <a class="code" href="a04223.html#a574">z</a>; }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="NL3D_1_1CCloudr0" doxytag="NL3D::CCloud::_BaseFreq" ></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"> float <a class="el" href="a02356.html#NL3D_1_1CCloudr0">NL3D::CCloud::_BaseFreq</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00135">135</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00110">generate()</a>, and <a class="el" href="a05557.html#l00065">init()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr1" doxytag="NL3D::CCloud::_BillCenter" ></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="a03128.html">NLMISC::CVector</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr1">NL3D::CCloud::_BillCenter</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00159">159</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr2" doxytag="NL3D::CCloud::_BillOldCenter" ></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="a03128.html">NLMISC::CVector</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr2">NL3D::CCloud::_BillOldCenter</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00159">159</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr3" doxytag="NL3D::CCloud::_BillSize" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr3">NL3D::CCloud::_BillSize</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00146">146</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05558.html#l00100">getBillSize()</a>, <a class="el" href="a05558.html#l00102">getMemSize()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr4" doxytag="NL3D::CCloud::_BillViewer" ></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="a03128.html">NLMISC::CVector</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr4">NL3D::CCloud::_BillViewer</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00159">159</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr5" doxytag="NL3D::CCloud::_CloudScape" ></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="a02357.html">CCloudScape</a>* <a class="el" href="a02356.html#NL3D_1_1CCloudr5">NL3D::CCloud::_CloudScape</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00139">139</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00328">disp()</a>, <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00388">dispXYZ()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00182">light()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr6" doxytag="NL3D::CCloud::_CloudTexClamp" ></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="a03894.html">SCloudTextureClamp</a>* <a class="el" href="a02356.html#NL3D_1_1CCloudr6">NL3D::CCloud::_CloudTexClamp</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00141">141</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00110">generate()</a>, and <a class="el" href="a05558.html#l00095">setTexClamp()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr7" doxytag="NL3D::CCloud::_CloudTexTmp" ></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="a03893.html">SCloudTexture3D</a>* <a class="el" href="a02356.html#NL3D_1_1CCloudr7">NL3D::CCloud::_CloudTexTmp</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00140">140</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00328">disp()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00182">light()</a>, and <a class="el" href="a05558.html#l00096">setTex3DTemp()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr8" doxytag="NL3D::CCloud::_Depth" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr8">NL3D::CCloud::_Depth</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00128">128</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00110">generate()</a>, and <a class="el" href="a05557.html#l00065">init()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr9" doxytag="NL3D::CCloud::_Driver" ></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="a02434.html">NL3D::IDriver</a>* <a class="el" href="a02356.html#NL3D_1_1CCloudr9">NL3D::CCloud::_Driver</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00163">163</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00328">disp()</a>, <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00388">dispXYZ()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00182">light()</a>, <a class="el" href="a05557.html#l00251">reset()</a>, and <a class="el" href="a05557.html#l00751">setMode2D()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr10" doxytag="NL3D::CCloud::_Height" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr10">NL3D::CCloud::_Height</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00128">128</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00328">disp()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00182">light()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr11" doxytag="NL3D::CCloud::_LastX" ></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"> float <a class="el" href="a02356.html#NL3D_1_1CCloudr11">NL3D::CCloud::_LastX</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00133">133</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05558.html#l00079">getLastX()</a>, and <a class="el" href="a05558.html#l00087">setX()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr12" doxytag="NL3D::CCloud::_MemBill" ></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="a02356.html#NL3D_1_1CCloudr12">NL3D::CCloud::_MemBill</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00147">147</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr13" doxytag="NL3D::CCloud::_MemOldBill" ></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="a02356.html#NL3D_1_1CCloudr13">NL3D::CCloud::_MemOldBill</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00152">152</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr14" doxytag="NL3D::CCloud::_NbH" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr14">NL3D::CCloud::_NbH</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00129">129</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00328">disp()</a>, <a class="el" href="a05557.html#l00388">dispXYZ()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00182">light()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr15" doxytag="NL3D::CCloud::_NbOctave" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr15">NL3D::CCloud::_NbOctave</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00136">136</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00315">anim()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, and <a class="el" href="a05557.html#l00065">init()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr16" doxytag="NL3D::CCloud::_NbW" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr16">NL3D::CCloud::_NbW</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00129">129</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00328">disp()</a>, <a class="el" href="a05557.html#l00388">dispXYZ()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00182">light()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr17" doxytag="NL3D::CCloud::_OldBillSize" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr17">NL3D::CCloud::_OldBillSize</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00151">151</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05558.html#l00102">getMemSize()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr18" doxytag="NL3D::CCloud::_Pos" ></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="a03128.html">NLMISC::CVector</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr18">NL3D::CCloud::_Pos</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00132">132</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00388">dispXYZ()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05558.html#l00078">getX()</a>, <a class="el" href="a05558.html#l00080">getY()</a>, <a class="el" href="a05558.html#l00081">getZ()</a>, <a class="el" href="a05557.html#l00251">reset()</a>, <a class="el" href="a05558.html#l00087">setX()</a>, <a class="el" href="a05558.html#l00088">setY()</a>, and <a class="el" href="a05558.html#l00089">setZ()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr19" doxytag="NL3D::CCloud::_Size" ></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="a03128.html">NLMISC::CVector</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr19">NL3D::CCloud::_Size</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00131">131</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00388">dispXYZ()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, <a class="el" href="a05558.html#l00083">getSizeX()</a>, <a class="el" href="a05558.html#l00084">getSizeY()</a>, <a class="el" href="a05558.html#l00085">getSizeZ()</a>, <a class="el" href="a05557.html#l00065">init()</a>, <a class="el" href="a05557.html#l00251">reset()</a>, <a class="el" href="a05558.html#l00091">setSizeX()</a>, <a class="el" href="a05558.html#l00092">setSizeY()</a>, and <a class="el" href="a05558.html#l00093">setSizeZ()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr20" doxytag="NL3D::CCloud::_TexBill" ></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="a03408.html">NLMISC::CSmartPtr</a>&lt;<a class="el" href="a03511.html">NL3D::CTextureMem</a>&gt; <a class="el" href="a02356.html#NL3D_1_1CCloudr20">NL3D::CCloud::_TexBill</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00148">148</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr21" doxytag="NL3D::CCloud::_TexOldBill" ></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="a03408.html">NLMISC::CSmartPtr</a>&lt;<a class="el" href="a03511.html">NL3D::CTextureMem</a>&gt; <a class="el" href="a02356.html#NL3D_1_1CCloudr21">NL3D::CCloud::_TexOldBill</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00153">153</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05557.html#l00251">reset()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr22" doxytag="NL3D::CCloud::_UStart" ></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"> double* <a class="el" href="a02356.html#NL3D_1_1CCloudr22">NL3D::CCloud::_UStart</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00137">137</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00315">anim()</a>, <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00057">~CCloud()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr23" doxytag="NL3D::CCloud::_VStart" ></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"> double * <a class="el" href="a02356.html#NL3D_1_1CCloudr23">NL3D::CCloud::_VStart</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00137">137</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00315">anim()</a>, <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00057">~CCloud()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr24" doxytag="NL3D::CCloud::_WaitState" ></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="a02356.html#NL3D_1_1CCloudr24">NL3D::CCloud::_WaitState</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00155">155</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05558.html#l00098">setLooping()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr25" doxytag="NL3D::CCloud::_Width" ></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#a11">uint32</a> <a class="el" href="a02356.html#NL3D_1_1CCloudr25">NL3D::CCloud::_Width</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00128">128</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00328">disp()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00182">light()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudr26" doxytag="NL3D::CCloud::_WStart" ></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"> double * <a class="el" href="a02356.html#NL3D_1_1CCloudr26">NL3D::CCloud::_WStart</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00137">137</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00315">anim()</a>, <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05557.html#l00065">init()</a>, and <a class="el" href="a05557.html#l00057">~CCloud()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudo0" doxytag="NL3D::CCloud::CloudAmbient" ></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="a02356.html#NL3D_1_1CCloudo0">NL3D::CCloud::CloudAmbient</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00111">111</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00509">genBill()</a>, and <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudo1" doxytag="NL3D::CCloud::CloudDiffuse" ></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="a02356.html#NL3D_1_1CCloudo1">NL3D::CCloud::CloudDiffuse</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00110">110</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00182">light()</a>, and <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudo2" doxytag="NL3D::CCloud::CloudDistAtt" ></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="a02356.html#NL3D_1_1CCloudo2">NL3D::CCloud::CloudDistAtt</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00113">113</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, and <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudo3" doxytag="NL3D::CCloud::CloudPower" ></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="a02356.html#NL3D_1_1CCloudo3">NL3D::CCloud::CloudPower</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00112">112</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00424">NL3D::CCloudScape::anim()</a>, <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05557.html#l00110">generate()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudo4" doxytag="NL3D::CCloud::FuturTime" ></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"> double <a class="el" href="a02356.html#NL3D_1_1CCloudo4">NL3D::CCloud::FuturTime</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00108">108</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, and <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudo5" doxytag="NL3D::CCloud::LastCloudPower" ></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="a02356.html#NL3D_1_1CCloudo5">NL3D::CCloud::LastCloudPower</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00115">115</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05557.html#l00041">CCloud()</a>, <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>, and <a class="el" href="a05559.html#l00777">NL3D::CCloudScape::render()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NL3D_1_1CCloudo6" doxytag="NL3D::CCloud::Time" ></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"> double <a class="el" href="a02356.html#NL3D_1_1CCloudo6">NL3D::CCloud::Time</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05558.html#l00108">108</a> of file <a class="el" href="a05558.html">cloud.h</a>.
<p>
Referenced by <a class="el" href="a05559.html#l00424">NL3D::CCloudScape::anim()</a>, <a class="el" href="a05557.html#l00606">dispBill()</a>, <a class="el" href="a05559.html#l00269">NL3D::CCloudScape::init()</a>, and <a class="el" href="a05559.html#l00535">NL3D::CCloudScape::makeHalfCloud()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a05558.html">cloud.h</a><li><a class="el" href="a05557.html">cloud.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:45:06 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>