aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02356.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02356.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02356.html2981
1 files changed, 2981 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02356.html b/docs/doxygen/nel/a02356.html
new file mode 100644
index 00000000..23636a69
--- /dev/null
+++ b/docs/doxygen/nel/a02356.html
@@ -0,0 +1,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>