diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02959.html | 507 |
1 files changed, 507 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02959.html b/docs/doxygen/nel/a02959.html new file mode 100644 index 00000000..cc52da4c --- /dev/null +++ b/docs/doxygen/nel/a02959.html @@ -0,0 +1,507 @@ +<!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::CMRMLevelDetail class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CMRMLevelDetail Class Reference</h1><code>#include <<a class="el" href="a06060.html">mrm_level_detail.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Degradation Control for MRM. used by <a class="el" href="a02891.html">CMeshMRM</a> and <a class="el" href="a03399.html">CSkeletonModel</a> <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00051">51</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetaila0">CMRMLevelDetail</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CMRMLevelDetaila0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetaila1">compileDistanceSetup</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">compile OODistanceDelta and DistancePow <a href="#NL3D_1_1CMRMLevelDetaila1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetaila2">getLevelDetailFromDist</a> (float dist)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return a float [0,1], computed from a distance (should be >0). <a href="#NL3D_1_1CMRMLevelDetaila2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetaila3">getLevelDetailFromPolyCount</a> (float polygonCount)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return a float [0,1], computed from number of poly wanted (should be >0) <a href="#NL3D_1_1CMRMLevelDetaila3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetaila4">getNumTriangles</a> (float dist)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return number of triangles for a distance <a href="#NL3D_1_1CMRMLevelDetaila4"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetailo0">DistanceCoarsest</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The MRM has faces/Divisor when dist>=DistanceCoarsest. nlassert if <= DistanceMiddle. <a href="#NL3D_1_1CMRMLevelDetailo0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetailo1">DistanceFinest</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The MRM has its max faces when dist<=DistanceFinest. nlassert if <0. <a href="#NL3D_1_1CMRMLevelDetailo1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetailo2">DistanceMiddle</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The MRM has 50% of its faces at dist==DistanceMiddle. nlassert if <= DistanceFinest. <a href="#NL3D_1_1CMRMLevelDetailo2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetailo3">DistancePow</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetailo4">MaxFaceUsed</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">For Load balancing, the max number of faces this MRM use. <a href="#NL3D_1_1CMRMLevelDetailo4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetailo5">MinFaceUsed</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">For Load balancing, the min number of faces this MRM use. <a href="#NL3D_1_1CMRMLevelDetailo5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02959.html#NL3D_1_1CMRMLevelDetailo6">OODistanceDelta</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">compiled info (public for faster serial) <a href="#NL3D_1_1CMRMLevelDetailo6"></a><br><br></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CMRMLevelDetaila0" doxytag="NL3D::CMRMLevelDetail::CMRMLevelDetail" ></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::CMRMLevelDetail::CMRMLevelDetail </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00073">73</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +<div class="fragment"><pre>00073 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMRMLevelDetaila1" doxytag="NL3D::CMRMLevelDetail::compileDistanceSetup" ></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::CMRMLevelDetail::compileDistanceSetup </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compile OODistanceDelta and DistancePow +<p> + +<p> +Definition at line <a class="el" href="a06059.html#l00037">37</a> of file <a class="el" href="a06059.html">mrm_level_detail.cpp</a>. +<p> +References <a class="el" href="a06060.html#l00069">DistancePow</a>, and <a class="el" href="a06060.html#l00068">OODistanceDelta</a>. +<p> +Referenced by <a class="el" href="a06011.html#l00206">NL3D::CMeshMRMSkinnedGeom::build()</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a06393.html#l01282">NL3D::CSkeletonModel::buildDefaultLevelDetail()</a>, <a class="el" href="a06393.html#l01589">NL3D::CSkeletonModel::changeMRMDistanceSetup()</a>, <a class="el" href="a06011.html#l00188">NL3D::CMeshMRMSkinnedGeom::changeMRMDistanceSetup()</a>, <a class="el" href="a06005.html#l00228">NL3D::CMeshMRMGeom::changeMRMDistanceSetup()</a>, and <a class="el" href="a06393.html#l01117">NL3D::CSkeletonModel::updateSkinRenderLists()</a>. +<p> +<div class="fragment"><pre>00038 { +00039 <span class="comment">// Compute _OODistDelta.</span> +00040 <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo6">OODistanceDelta</a>= 1.0f / (<a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo0">DistanceCoarsest</a> - <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo1">DistanceFinest</a>); +00041 <span class="comment">/* Compute exponent pow, such that 0.5= dMiddle^pow;</span> +00042 <span class="comment"> ie 0.5= e(ln dMiddle * pow)</span> +00043 <span class="comment"> */</span> +00044 <span class="keywordtype">float</span> dMiddle= (<a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo0">DistanceCoarsest</a> - <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo2">DistanceMiddle</a>) * <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo6">OODistanceDelta</a>; +00045 <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo3">DistancePow</a>= (<span class="keywordtype">float</span>)(log(0.5) / log(dMiddle)); +00046 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetaila2" doxytag="NL3D::CMRMLevelDetail::getLevelDetailFromDist" ></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::CMRMLevelDetail::getLevelDetailFromDist </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>dist</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return a float [0,1], computed from a distance (should be >0). +<p> + +<p> +Definition at line <a class="el" href="a06059.html#l00050">50</a> of file <a class="el" href="a06059.html">mrm_level_detail.cpp</a>. +<p> +References <a class="el" href="a06060.html#l00069">DistancePow</a>, and <a class="el" href="a06060.html#l00068">OODistanceDelta</a>. +<p> +Referenced by <a class="el" href="a06060.html#l00082">getNumTriangles()</a>. +<p> +<div class="fragment"><pre>00051 { +00052 <span class="keywordflow">if</span>(dist <= <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo1">DistanceFinest</a>) +00053 <span class="keywordflow">return</span> 1; +00054 <span class="keywordflow">if</span>(dist >= <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo0">DistanceCoarsest</a>) +00055 <span class="keywordflow">return</span> 0; +00056 +00057 <span class="keywordtype">float</span> d= (<a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo0">DistanceCoarsest</a> - dist) * <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo6">OODistanceDelta</a>; +00058 <span class="keywordflow">return</span> (<span class="keywordtype">float</span>)pow(d, DistancePow); +00059 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetaila3" doxytag="NL3D::CMRMLevelDetail::getLevelDetailFromPolyCount" ></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::CMRMLevelDetail::getLevelDetailFromPolyCount </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>polygonCount</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return a float [0,1], computed from number of poly wanted (should be >0) +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00101">101</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a06060.html#l00058">MaxFaceUsed</a>, <a class="el" href="a06060.html#l00056">MinFaceUsed</a>, and <a class="el" href="a06060.html#l00041">NL3D_MRM_LD_SHIFT_POLY_COUNT</a>. +<p> +Referenced by <a class="el" href="a06005.html#l02738">NL3D::CMeshMRMGeom::activeInstance()</a>, <a class="el" href="a06011.html#l01288">NL3D::CMeshMRMSkinnedGeom::profileSceneRender()</a>, <a class="el" href="a06005.html#l02600">NL3D::CMeshMRMGeom::profileSceneRender()</a>, <a class="el" href="a06011.html#l00568">NL3D::CMeshMRMSkinnedGeom::render()</a>, <a class="el" href="a06005.html#l00927">NL3D::CMeshMRMGeom::render()</a>, and <a class="el" href="a06393.html#l01390">NL3D::CSkeletonModel::renderSkins()</a>. +<p> +<div class="fragment"><pre>00102 { +00103 <span class="keywordtype">float</span> ld; +00104 <span class="keywordflow">if</span>(<a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo4">MaxFaceUsed</a> > <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo5">MinFaceUsed</a>) +00105 { +00106 <span class="comment">// compute the level of detail we want.</span> +00107 ld= (polygonCount - <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo5">MinFaceUsed</a>) / (<a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo4">MaxFaceUsed</a> - <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo5">MinFaceUsed</a>); +00108 <span class="comment">/* remove the value added in getNumTriangles(). For the same reason:</span> +00109 <span class="comment"> this is always the higher Lod which is rendered, geomorphing to the coarser one.</span> +00110 <span class="comment"> Hence we must degrade a bit.</span> +00111 <span class="comment"> NB: if polygonCount==MinFaceUsed, then we have here ld= -NL3D_MRM_LD_SHIFT_POLY_COUNT (ie -0.05f)</span> +00112 <span class="comment"> but it is clamped below</span> +00113 <span class="comment"> */</span> +00114 ld-= <a class="code" href="a04637.html#a0">NL3D_MRM_LD_SHIFT_POLY_COUNT</a>; +00115 <a class="code" href="a05378.html#a374">NLMISC::clamp</a>(ld, 0, 1); +00116 } +00117 <span class="keywordflow">else</span> +00118 ld= 1; +00119 +00120 <span class="keywordflow">return</span> ld; +00121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetaila4" doxytag="NL3D::CMRMLevelDetail::getNumTriangles" ></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::CMRMLevelDetail::getNumTriangles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>dist</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return number of triangles for a distance +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00082">82</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +References <a class="el" href="a06059.html#l00050">getLevelDetailFromDist()</a>, <a class="el" href="a06060.html#l00058">MaxFaceUsed</a>, <a class="el" href="a06060.html#l00056">MinFaceUsed</a>, and <a class="el" href="a06060.html#l00041">NL3D_MRM_LD_SHIFT_POLY_COUNT</a>. +<p> +Referenced by <a class="el" href="a06393.html#l01578">NL3D::CSkeletonModel::getNumTriangles()</a>, <a class="el" href="a06011.html#l01055">NL3D::CMeshMRMSkinnedGeom::getNumTriangles()</a>, and <a class="el" href="a06005.html#l02200">NL3D::CMeshMRMGeom::getNumTriangles()</a>. +<p> +<div class="fragment"><pre>00083 { +00084 <span class="comment">// return the lod detail [0,1].</span> +00085 <span class="keywordtype">float</span> ld= <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetaila2">getLevelDetailFromDist</a>(dist); +00086 <span class="comment">// return in nb face.</span> +00087 <span class="keywordflow">if</span>(ld<=0) +00088 <span class="keywordflow">return</span> (<span class="keywordtype">float</span>)<a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo5">MinFaceUsed</a>; +00089 <span class="keywordflow">else</span> +00090 { +00091 <span class="comment">/* over-estimate the number of poly rendered </span> +00092 <span class="comment"> because this is always the higher Lod which is rendered, geomorphing to the coarser one.</span> +00093 <span class="comment"> NB: still need to over-estimate if ld==1, because getLevelDetailFromPolyCount() remove the shift...</span> +00094 <span class="comment"> */</span> +00095 ld+= <a class="code" href="a04637.html#a0">NL3D_MRM_LD_SHIFT_POLY_COUNT</a>; +00096 <span class="keywordflow">return</span> <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo5">MinFaceUsed</a> + ld * (<a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo4">MaxFaceUsed</a> - <a class="code" href="a02959.html#NL3D_1_1CMRMLevelDetailo5">MinFaceUsed</a>); +00097 } +00098 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CMRMLevelDetailo0" doxytag="NL3D::CMRMLevelDetail::DistanceCoarsest" ></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="a02959.html#NL3D_1_1CMRMLevelDetailo0">NL3D::CMRMLevelDetail::DistanceCoarsest</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The MRM has faces/Divisor when dist>=DistanceCoarsest. nlassert if <= DistanceMiddle. +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00065">65</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +Referenced by <a class="el" href="a06011.html#l00206">NL3D::CMeshMRMSkinnedGeom::build()</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a06393.html#l01282">NL3D::CSkeletonModel::buildDefaultLevelDetail()</a>, <a class="el" href="a06393.html#l01589">NL3D::CSkeletonModel::changeMRMDistanceSetup()</a>, <a class="el" href="a06011.html#l00188">NL3D::CMeshMRMSkinnedGeom::changeMRMDistanceSetup()</a>, <a class="el" href="a06005.html#l00228">NL3D::CMeshMRMGeom::changeMRMDistanceSetup()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, and <a class="el" href="a06393.html#l01117">NL3D::CSkeletonModel::updateSkinRenderLists()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetailo1" doxytag="NL3D::CMRMLevelDetail::DistanceFinest" ></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="a02959.html#NL3D_1_1CMRMLevelDetailo1">NL3D::CMRMLevelDetail::DistanceFinest</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The MRM has its max faces when dist<=DistanceFinest. nlassert if <0. +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00061">61</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +Referenced by <a class="el" href="a06011.html#l00206">NL3D::CMeshMRMSkinnedGeom::build()</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a06393.html#l01282">NL3D::CSkeletonModel::buildDefaultLevelDetail()</a>, <a class="el" href="a06393.html#l01589">NL3D::CSkeletonModel::changeMRMDistanceSetup()</a>, <a class="el" href="a06011.html#l00188">NL3D::CMeshMRMSkinnedGeom::changeMRMDistanceSetup()</a>, <a class="el" href="a06005.html#l00228">NL3D::CMeshMRMGeom::changeMRMDistanceSetup()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, and <a class="el" href="a06393.html#l01117">NL3D::CSkeletonModel::updateSkinRenderLists()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetailo2" doxytag="NL3D::CMRMLevelDetail::DistanceMiddle" ></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="a02959.html#NL3D_1_1CMRMLevelDetailo2">NL3D::CMRMLevelDetail::DistanceMiddle</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The MRM has 50% of its faces at dist==DistanceMiddle. nlassert if <= DistanceFinest. +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00063">63</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +Referenced by <a class="el" href="a06011.html#l00206">NL3D::CMeshMRMSkinnedGeom::build()</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a06393.html#l01282">NL3D::CSkeletonModel::buildDefaultLevelDetail()</a>, <a class="el" href="a06393.html#l01589">NL3D::CSkeletonModel::changeMRMDistanceSetup()</a>, <a class="el" href="a06011.html#l00188">NL3D::CMeshMRMSkinnedGeom::changeMRMDistanceSetup()</a>, <a class="el" href="a06005.html#l00228">NL3D::CMeshMRMGeom::changeMRMDistanceSetup()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, and <a class="el" href="a06393.html#l01117">NL3D::CSkeletonModel::updateSkinRenderLists()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetailo3" doxytag="NL3D::CMRMLevelDetail::DistancePow" ></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="a02959.html#NL3D_1_1CMRMLevelDetailo3">NL3D::CMRMLevelDetail::DistancePow</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00069">69</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +Referenced by <a class="el" href="a06059.html#l00037">compileDistanceSetup()</a>, <a class="el" href="a06059.html#l00050">getLevelDetailFromDist()</a>, and <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetailo4" doxytag="NL3D::CMRMLevelDetail::MaxFaceUsed" ></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="a02959.html#NL3D_1_1CMRMLevelDetailo4">NL3D::CMRMLevelDetail::MaxFaceUsed</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For Load balancing, the max number of faces this MRM use. +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00058">58</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +Referenced by <a class="el" href="a06011.html#l00206">NL3D::CMeshMRMSkinnedGeom::build()</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a06393.html#l01282">NL3D::CSkeletonModel::buildDefaultLevelDetail()</a>, <a class="el" href="a06060.html#l00101">getLevelDetailFromPolyCount()</a>, <a class="el" href="a06060.html#l00082">getNumTriangles()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, and <a class="el" href="a06393.html#l01117">NL3D::CSkeletonModel::updateSkinRenderLists()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetailo5" doxytag="NL3D::CMRMLevelDetail::MinFaceUsed" ></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="a02959.html#NL3D_1_1CMRMLevelDetailo5">NL3D::CMRMLevelDetail::MinFaceUsed</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For Load balancing, the min number of faces this MRM use. +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00056">56</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +Referenced by <a class="el" href="a06011.html#l00206">NL3D::CMeshMRMSkinnedGeom::build()</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a06393.html#l01282">NL3D::CSkeletonModel::buildDefaultLevelDetail()</a>, <a class="el" href="a06060.html#l00101">getLevelDetailFromPolyCount()</a>, <a class="el" href="a06060.html#l00082">getNumTriangles()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, and <a class="el" href="a06393.html#l01117">NL3D::CSkeletonModel::updateSkinRenderLists()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMLevelDetailo6" doxytag="NL3D::CMRMLevelDetail::OODistanceDelta" ></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="a02959.html#NL3D_1_1CMRMLevelDetailo6">NL3D::CMRMLevelDetail::OODistanceDelta</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compiled info (public for faster serial) +<p> + +<p> +Definition at line <a class="el" href="a06060.html#l00068">68</a> of file <a class="el" href="a06060.html">mrm_level_detail.h</a>. +<p> +Referenced by <a class="el" href="a06059.html#l00037">compileDistanceSetup()</a>, <a class="el" href="a06059.html#l00050">getLevelDetailFromDist()</a>, and <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06060.html">mrm_level_detail.h</a><li><a class="el" href="a06059.html">mrm_level_detail.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:56:55 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> |