aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02891.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/a02891.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/a02891.html3219
1 files changed, 3219 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02891.html b/docs/doxygen/nel/a02891.html
new file mode 100644
index 00000000..ad4d57c7
--- /dev/null
+++ b/docs/doxygen/nel/a02891.html
@@ -0,0 +1,3219 @@
+<!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::CMeshMRM 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::CMeshMRM Class Reference</h1><code>#include &lt;<a class="el" href="a06006.html">mesh_mrm.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CMeshMRM:
+<p><center><img src="a02891.png" usemap="#NL3D::CMeshMRM_map" border="0" alt=""></center>
+<map name="NL3D::CMeshMRM_map">
+<area href="a02858.html" alt="NL3D::CMeshBase" shape="rect" coords="70,168,201,192">
+<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="70,112,201,136">
+<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,56,131,80">
+<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="141,56,272,80">
+<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="141,0,272,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+An instanciable MRM mesh.<p>
+To build a <a class="el" href="a02891.html">CMeshMRM</a>, you should:<ul>
+<li>build a <a class="el" href="a02864.html">CMesh::CMeshBuild</a> meshBuild (see <a class="el" href="a02857.html">CMesh</a>)</li><li>call MeshMRM.build(MeshBuild);</li><li>call if you want <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz427_1">setAnimatedMaterial()</a> etc...</li></ul>
+<p>
+NB: internally, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMa1">build()</a> use <a class="el" href="a02951.html">CMRMBuilder</a>, a builder of MRM.<p>
+<dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06006.html#l00684">684</a> of file <a class="el" href="a06006.html">mesh_mrm.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>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMa0">build</a> (<a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;m, const <a class="el" href="a02892.html">CMeshMRMGeom</a> &amp;mgeom)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMa1">build</a> (<a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;mBase, <a class="el" href="a02864.html">CMesh::CMeshBuild</a> &amp;m, std::vector&lt; <a class="el" href="a02864.html">CMesh::CMeshBuild</a> * &gt; &amp;listBS, const <a class="el" href="a02967.html">CMRMParameters</a> &amp;<a class="el" href="a04223.html#a565">params</a>=<a class="el" href="a02967.html">CMRMParameters</a>())</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMa2">changeMRMDistanceSetup</a> (float distanceFinest, float distanceMiddle, float distanceCoarsest)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMa3">CMeshMRM</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CMeshMRMa3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMa4">computeBonesId</a> (<a class="el" href="a03399.html">CSkeletonModel</a> *skeleton)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute skinning id. <a href="#NL3D_1_1CMeshMRMa4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda1">flushTextures</a> (<a class="el" href="a02434.html">IDriver</a> &amp;driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flush textures. <a href="#NL3D_1_1CMeshMultiLoda1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea5">getDistMax</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda10">isLightable</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh lightable? true if one of his materials is not a lightmap. NB: result stored in file. <a href="#NL3D_1_1CMeshMultiLoda10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMa10">optimizeMaterialUsage</a> (std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;remap)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda12">serialMeshBase</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial the base Part of this mesh. <a href="#NL3D_1_1CMeshMultiLoda12"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea11">setDistMax</a> (float distMax)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMa13">updateSkeletonUsage</a> (<a class="el" href="a03399.html">CSkeletonModel</a> *sm, bool increment)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">update Skeleton Usage. increment or decrement. <a href="#NL3D_1_1CMeshMRMa13"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">useLightingLocalAttenuation</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">tells if the shape wants LocalAttenuation for RealTime lighting. Default is false <a href="#NL3D_1_1CMeshMultiLoda14"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">From IShape</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_0">clip</a> (const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;pyramid, const <a class="el" href="a02851.html">CMatrix</a> &amp;worldMatrix)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clip this mesh in a driver. <a href="#NL3D_1_1CMeshMRMz493_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_1">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &amp;scene)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="a02888.html">CMeshInstance</a>, which contains materials. <a href="#NL3D_1_1CMeshMRMz493_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_2">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;bbox) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get bbox. <a href="#NL3D_1_1CMeshMRMz493_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_3">getNumTriangles</a> (float distance)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get an approximation of the number of triangles this instance will render for a fixed distance. <a href="#NL3D_1_1CMeshMRMz493_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_4">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a02891.html">CMeshMRM</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clip this mesh in a driver. <a href="#NL3D_1_1CMeshMRMz493_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_5">profileSceneRender</a> (<a class="el" href="a03325.html">CRenderTrav</a> *rdrTrav, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">profiling <a href="#NL3D_1_1CMeshMRMz493_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_6">render</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool passOpaque)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_6">render()</a> this mesh in a driver. <a href="#NL3D_1_1CMeshMRMz493_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_7">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial this mesh. <a href="#NL3D_1_1CMeshMRMz493_7"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Geometry accessors</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02157.html">NLMISC::CAABBoxExt</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz495_0">getBoundingBox</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the extended axis aligned bounding box of the mesh <a href="#NL3D_1_1CMeshMRMz495_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02892.html">CMeshMRMGeom</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz495_1">getMeshGeom</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the mesh geom. <a href="#NL3D_1_1CMeshMRMz495_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz495_2">getNbLod</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz495_3">getNbRdrPass</a> (<a class="el" href="a04558.html#a15">uint</a> lodId) const </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="a02891.html#NL3D_1_1CMeshMRMz495_4">getRdrPassMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> lodId, <a class="el" href="a04558.html#a15">uint</a> renderingPassIndex) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03105.html">CPrimitiveBlock</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz495_5">getRdrPassPrimitiveBlock</a> (<a class="el" href="a04558.html#a15">uint</a> lodId, <a class="el" href="a04558.html#a15">uint</a> renderingPassIndex) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03692.html">CVertexBuffer</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz495_6">getVertexBuffer</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the vertex buffer used by the mrm mesh. NB: this VB store all Vertices used by All LODs. <a href="#NL3D_1_1CMeshMRMz495_6"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Mesh Block Render Interface</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02879.html">IMeshGeom</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMz497_0">supportMeshBlockRendering</a> (<a class="el" href="a02537.html">CTransformShape</a> *trans, float &amp;polygonCount) const </td></tr>
+
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr>
+
+<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="a04558.html#a11">uint32</a>,<br>
+ <a class="el" href="a02846.html">CMaterialBase</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Animated Material mgt. <a href="#NL3D_1_1CMeshMultiLodx0"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected 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="a02858.html#NL3D_1_1CMeshMultiLodb0">applyMaterialUsageOptim</a> (const std::vector&lt; bool &gt; &amp;materialUsed, std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;remap)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb1">buildMeshBase</a> (CMeshBaseBuild &amp;m)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Just copy informations from a <a class="el" href="a02872.html">CMeshBaseBuild</a>. <a href="#NL3D_1_1CMeshMultiLodb1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb2">instanciateMeshBase</a> (<a class="el" href="a02873.html">CMeshBaseInstance</a> *mi, <a class="el" href="a03348.html">CScene</a> *ownerScene)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">instanciate MeshBase part to an instance (a <a class="el" href="a02873.html">CMeshBaseInstance</a>). <a href="#NL3D_1_1CMeshMultiLodb2"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02936.html">CMorphBase</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp3">_DefaultLMFactor</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transform default tracks. Those default tracks are instancied, ie, CInstanceMesh will have the same and can't specialize it. <a href="#NL3D_1_1CMeshMultiLodp5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default to -1. <a href="#NL3D_1_1IShapep0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh lightable?? <a href="#NL3D_1_1CMeshMultiLodp10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02839.html">CMaterial</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Materials. <a href="#NL3D_1_1CMeshMultiLodp11"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh Use Lighting Local Attenuation ?? <a href="#NL3D_1_1CMeshMultiLodp12"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02892.html">CMeshMRMGeom</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a></td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>struct&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodx0" doxytag="NL3D::CMeshMRM::TAnimatedMaterialMap" ></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"> typedef std::map&lt;<a class="el" href="a04558.html#a11">uint32</a>, <a class="el" href="a02846.html">CMaterialBase</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">NL3D::CMeshBase::TAnimatedMaterialMap</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Animated Material mgt.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00239">239</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz425_0" doxytag="NL3D::CMeshMRM::TLightInfoMapV7" ></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"> typedef std::map&lt; std::string, CLightInfoMapListV7 &gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">NL3D::CMeshBase::TLightInfoMapV7</a><code> [inherited]</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="a05992.html#l00076">76</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz425_1" doxytag="NL3D::CMeshMRM::TLightMapInfo" ></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"> typedef std::vector&lt; CLightMapInfoList &gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">NL3D::CMeshBase::TLightMapInfo</a><code> [inherited]</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="a05992.html#l00111">111</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMeshMRMa3" doxytag="NL3D::CMeshMRM::CMeshMRM" ></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::CMeshMRM::CMeshMRM </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>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l02874">2874</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+<div class="fragment"><pre>02875 {
+02876 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodb0" doxytag="NL3D::CMeshMRM::applyMaterialUsageOptim" ></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::CMeshBase::applyMaterialUsageOptim </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; bool &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>materialUsed</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>remap</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [protected, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+delete any material not used, and build remap table (old to new). _AnimatedMaterials are reseted <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture()</a>; is called
+<p>
+Definition at line <a class="el" href="a05991.html#l00333">333</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05991.html#l00436">NL3D::CMeshBase::resetLodCharacterTexture()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05992.html#l00102">NL3D::CMeshBase::CLightMapInfoList::StageList</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00334 {
+00335 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size()==materialUsed.size());
+00336
+00337 <span class="comment">// security reset</span>
+00338 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a>();
+00339 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.clear();
+00340
+00341 <span class="comment">// init all ids to "Not Used"</span>
+00342 remap.clear();
+00343 remap.resize(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size(), -1);
+00344
+00345 <span class="comment">// remove unused materials and build remap</span>
+00346 vector&lt;CMaterial&gt;::iterator itMat= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.begin();
+00347 <a class="code" href="a04558.html#a15">uint</a> dstIdx= 0;
+00348 <a class="code" href="a04558.html#a15">uint</a> i;
+00349 <span class="keywordflow">for</span>(i=0;i&lt;materialUsed.size();i++)
+00350 {
+00351 <span class="comment">// if used, still use it, and remap.</span>
+00352 <span class="keywordflow">if</span>(materialUsed[i])
+00353 {
+00354 remap[i]= dstIdx;
+00355 itMat++;
+00356 dstIdx++;
+00357 }
+00358 <span class="comment">// remove from the array</span>
+00359 <span class="keywordflow">else</span>
+00360 {
+00361 itMat= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.erase(itMat);
+00362 }
+00363 }
+00364
+00365 <span class="comment">// apply the remap to LightMaps infos</span>
+00366 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a577">count</a> = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>.size ();
+00367 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a04223.html#a577">count</a>; i++)
+00368 {
+00369 CLightMapInfoList &amp;mapInfoList = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>[i];
+00370 std::list&lt;CMeshBase::CLightMapInfoList::CMatStage&gt;::iterator ite = mapInfoList.StageList.begin ();
+00371 <span class="keywordflow">while</span> (ite != mapInfoList.StageList.end ())
+00372 {
+00373 <a class="code" href="a04558.html#a14">sint</a> newId= remap[ite-&gt;MatId];
+00374 <span class="comment">// If material used</span>
+00375 <span class="keywordflow">if</span>(newId&gt;=0)
+00376 {
+00377 <span class="comment">// apply remap on the material id</span>
+00378 ite-&gt;MatId= newId;
+00379 ite++;
+00380 }
+00381 <span class="keywordflow">else</span>
+00382 {
+00383 <span class="comment">// remove it from list of light infos</span>
+00384 ite= mapInfoList.StageList.erase(ite);
+00385 }
+00386 }
+00387 }
+00388 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMa0" doxytag="NL3D::CMeshMRM::build" ></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::CMeshMRM::build </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>m</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02892.html">CMeshMRMGeom</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>mgeom</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>
+Build a mesh, replacing old. build from a CMeshBaseBuild (materials info) and a previously builded <a class="el" href="a02892.html">CMeshMRMGeom</a>. WARNING: This has a side effect of deleting AnimatedMaterials. this is much slower than <a class="el" href="a02857.html#NL3D_1_1CMesha1">CMesh::build()</a>, because it computes the MRM. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>params</em>&nbsp;</td><td>parameters of the MRM build process.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l02889">2889</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>.
+<p>
+<div class="fragment"><pre>02890 {
+02892 CMeshBase::buildMeshBase(m);
+02893
+02894 <span class="comment">// Then copy the geom.</span>
+02895 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>= mgeom;
+02896 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMa1" doxytag="NL3D::CMeshMRM::build" ></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::CMeshMRM::build </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>mBase</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02864.html">CMesh::CMeshBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>m</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="a02864.html">CMesh::CMeshBuild</a> * &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>listBS</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02967.html">CMRMParameters</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>params</em> = <a class="el" href="a02967.html">CMRMParameters</a>()</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>
+Build a mesh, replacing old. WARNING: This has a side effect of deleting AnimatedMaterials. this is much slower than <a class="el" href="a02857.html#NL3D_1_1CMesha1">CMesh::build()</a>, because it computes the MRM. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>params</em>&nbsp;</td><td>parameters of the MRM build process.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l02878">2878</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a05992.html#l00128">NL3D::CMeshBase::CMeshBaseBuild::Materials</a>, and <a class="el" href="a05646.html#l00223">params</a>.
+<p>
+<div class="fragment"><pre>02881 {
+02883 CMeshBase::buildMeshBase (mBase);
+02884
+02885 <span class="comment">// Then build the geom.</span>
+02886 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.build (m, listBS, mBase.Materials.size(), <a class="code" href="a04223.html#a565">params</a>);
+02887 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodb1" doxytag="NL3D::CMeshMRM::buildMeshBase" ></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::CMeshBase::buildMeshBase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBaseBuild</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>m</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [protected, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Just copy informations from a <a class="el" href="a02872.html">CMeshBaseBuild</a>.
+<p>
+Copy default position values
+<p>
+Definition at line <a class="el" href="a05991.html#l00226">226</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>, <a class="el" href="a05992.html#l00135">NL3D::CMeshBase::CMeshBaseBuild::BSNames</a>, <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05992.html#l00134">NL3D::CMeshBase::CMeshBaseBuild::DefaultBSFactors</a>, <a class="el" href="a05992.html#l00122">NL3D::CMeshBase::CMeshBaseBuild::DefaultPivot</a>, <a class="el" href="a05992.html#l00121">NL3D::CMeshBase::CMeshBaseBuild::DefaultPos</a>, <a class="el" href="a05992.html#l00123">NL3D::CMeshBase::CMeshBaseBuild::DefaultRotEuler</a>, <a class="el" href="a05992.html#l00124">NL3D::CMeshBase::CMeshBaseBuild::DefaultRotQuat</a>, <a class="el" href="a05992.html#l00125">NL3D::CMeshBase::CMeshBaseBuild::DefaultScale</a>, <a class="el" href="a05992.html#l00131">NL3D::CMeshBase::CMeshBaseBuild::LightInfoMap</a>, <a class="el" href="a05992.html#l00128">NL3D::CMeshBase::CMeshBaseBuild::Materials</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::setValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::setValue()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05992.html#l00118">NL3D::CMeshBase::CMeshBaseBuild::UseLightingLocalAttenuation</a>.
+<p>
+<div class="fragment"><pre>00227 {
+00228 <span class="comment">// Copy light information</span>
+00229 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a> = m.LightInfoMap;
+00230
+00231 <span class="comment">// copy the materials.</span>
+00232 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>= m.Materials;
+00233
+00234 <span class="comment">// clear the animated materials.</span>
+00235 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.clear();
+00236
+00238 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.setValue (m.DefaultPos);
+00239 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>.setValue (m.DefaultPivot);
+00240 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a>.setValue (m.DefaultRotEuler);
+00241 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.setValue (m.DefaultRotQuat);
+00242 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.setValue (m.DefaultScale);
+00243
+00244 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a> .resize(m.DefaultBSFactors.size());
+00245 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> i = 0; i &lt; m.DefaultBSFactors.size(); ++i)
+00246 {
+00247 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>[i].DefaultFactor.setValue (m.DefaultBSFactors[i]);
+00248 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>[i].Name = m.BSNames[i];
+00249 }
+00250
+00251 <span class="comment">// update _IsLightable flag.</span>
+00252 <a class="code" href="a02858.html#NL3D_1_1CMeshBased0">computeIsLightable</a>();
+00253 <span class="comment">// copy _UseLightingLocalAttenuation</span>
+00254 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>= m.UseLightingLocalAttenuation;
+00255 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMa2" doxytag="NL3D::CMeshMRM::changeMRMDistanceSetup" ></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::CMeshMRM::changeMRMDistanceSetup </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap> <em>distanceFinest</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>distanceMiddle</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>distanceCoarsest</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>
+Change MRM Distance setup. NB: no-op if distanceFinest&lt;0, distanceMiddle&lt;=distanceFinest or if distanceCoarsest&lt;=distanceMiddle. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>distanceFinest</em>&nbsp;</td><td>The MRM has its max faces when dist&lt;=distanceFinest. </td></tr>
+ <tr><td valign=top><em>distanceMiddle</em>&nbsp;</td><td>The MRM has 50% of its faces at dist==distanceMiddle. </td></tr>
+ <tr><td valign=top><em>distanceCoarsest</em>&nbsp;</td><td>The MRM has faces/Divisor (ie near 0) when dist&gt;=distanceCoarsest.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l03011">3011</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, and <a class="el" href="a06005.html#l00228">NL3D::CMeshMRMGeom::changeMRMDistanceSetup()</a>.
+<p>
+Referenced by <a class="el" href="a06007.html#l00109">NL3D::CMeshMRMInstance::changeMRMDistanceSetup()</a>.
+<p>
+<div class="fragment"><pre>03012 {
+03013 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.changeMRMDistanceSetup(distanceFinest, distanceMiddle, distanceCoarsest);
+03014 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_0" doxytag="NL3D::CMeshMRM::clip" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshMRM::clip </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pyramid</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02851.html">CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>worldMatrix</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+clip this mesh in a driver.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06005.html#l02946">2946</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, and <a class="el" href="a06005.html#l00856">NL3D::CMeshMRMGeom::clip()</a>.
+<p>
+<div class="fragment"><pre>02947 {
+02948 <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.clip(pyramid, worldMatrix);
+02949 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMa4" doxytag="NL3D::CMeshMRM::computeBonesId" ></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::CMeshMRM::computeBonesId </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03399.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>skeleton</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>
+Compute skinning id.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l02999">2999</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, and <a class="el" href="a06005.html#l02293">NL3D::CMeshMRMGeom::computeBonesId()</a>.
+<p>
+Referenced by <a class="el" href="a06007.html#l00136">NL3D::CMeshMRMInstance::getSkinBoneSphere()</a>, <a class="el" href="a06007.html#l00122">NL3D::CMeshMRMInstance::getSkinBoneUsage()</a>, and <a class="el" href="a06007.html#l00082">NL3D::CMeshMRMInstance::setApplySkin()</a>.
+<p>
+<div class="fragment"><pre>03000 {
+03001 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.computeBonesId (skeleton);
+03002 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_1" doxytag="NL3D::CMeshMRM::createInstance" ></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="a02537.html">CTransformShape</a> * NL3D::CMeshMRM::createInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>scene</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Create a <a class="el" href="a02888.html">CMeshInstance</a>, which contains materials.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea1">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06005.html#l02924">2924</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, <a class="el" href="a06005.html#l00847">NL3D::CMeshMRMGeom::initInstance()</a>, <a class="el" href="a06007.html#l00232">NL3D::CMeshMRMInstance::initRenderFilterType()</a>, and <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>.
+<p>
+<div class="fragment"><pre>02925 {
+02926 <span class="comment">// Create a CMeshMRMInstance, an instance of a mesh.</span>
+02927 <span class="comment">//===============================================</span>
+02928 CMeshMRMInstance *mi= (CMeshMRMInstance*)scene.createModel(NL3D::MeshMRMInstanceId);
+02929 mi-&gt;Shape= <span class="keyword">this</span>;
+02930
+02931 <span class="comment">// instanciate the material part of the MeshMRM, ie the CMeshBase.</span>
+02932 CMeshBase::instanciateMeshBase(mi, &amp;scene);
+02933
+02934
+02935 <span class="comment">// do some instance init for MeshGeom</span>
+02936 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.initInstance(mi);
+02937
+02938 <span class="comment">// init the FilterType</span>
+02939 mi-&gt;initRenderFilterType();
+02940
+02941 <span class="keywordflow">return</span> mi;
+02942 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda1" doxytag="NL3D::CMeshMRM::flushTextures" ></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::CMeshBase::flushTextures </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>driver</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>selectedTexture</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Flush textures.
+<p>
+Flush material textures
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapea2">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05991.html#l00392">392</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00393 {
+00394 <span class="comment">// Mat count</span>
+00395 <a class="code" href="a04558.html#a15">uint</a> matCount=<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size();
+00396
+00397 <span class="comment">// Flush each material textures</span>
+00398 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> mat=0; mat&lt;matCount; mat++)
+00399 {
+00401 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[mat].flushTextures (driver, selectedTexture);
+00402 }
+00403 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_2" doxytag="NL3D::CMeshMRM::getAABBox" ></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"> virtual void NL3D::CMeshMRM::getAABBox </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get bbox.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea3">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06006.html#l00746">746</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+References <a class="el" href="a05385.html#l00206">NLMISC::CAABBoxExt::getAABBox()</a>, and <a class="el" href="a06006.html#l00758">getBoundingBox()</a>.
+<p>
+<div class="fragment"><pre>00746 {bbox= <a class="code" href="a02891.html#NL3D_1_1CMeshMRMz495_0">getBoundingBox</a>().<a class="code" href="a02157.html#NLMISC_1_1CAABBoxExtz1912_0">getAABBox</a>();}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz427_0" doxytag="NL3D::CMeshMRM::getAnimatedMaterial" ></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="a02846.html">CMaterialBase</a> * NL3D::CMeshBase::getAnimatedMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return NULL if this material is NOT animated. (or if material do not exist)
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00090">90</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00091 {
+00092 TAnimatedMaterialMap::iterator it;
+00093 it= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.find(<span class="keywordtype">id</span>);
+00094 <span class="keywordflow">if</span>(it!=<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.end())
+00095 <span class="keywordflow">return</span> &amp;it-&gt;second;
+00096 <span class="keywordflow">else</span>
+00097 <span class="keywordflow">return</span> NULL;
+00098 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_0" doxytag="NL3D::CMeshMRM::getAutoAnim" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshBase::getAutoAnim </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> const<code> [inline, inherited]</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="a05992.html#l00212">212</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>.
+<p>
+Referenced by <a class="el" href="a06348.html#l00600">NL3D::CScene::createInstance()</a>, and <a class="el" href="a05993.html#l00164">NL3D::CMeshBaseInstance::traverseHrc()</a>.
+<p>
+<div class="fragment"><pre>00212 { <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz495_0" doxytag="NL3D::CMeshMRM::getBoundingBox" ></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"> const <a class="el" href="a02157.html">NLMISC::CAABBoxExt</a>&amp; NL3D::CMeshMRM::getBoundingBox </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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the extended axis aligned bounding box of the mesh
+<p>
+
+<p>
+Definition at line <a class="el" href="a06006.html#l00758">758</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, and <a class="el" href="a06006.html#l00170">NL3D::CMeshMRMGeom::getBoundingBox()</a>.
+<p>
+Referenced by <a class="el" href="a06006.html#l00746">getAABBox()</a>.
+<p>
+<div class="fragment"><pre>00759 {
+00760 <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.getBoundingBox();
+00761 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CMeshMRM::getClassName" ></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"> virtual std::string NLMISC::IClassable::getClassName </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> [pure virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implemented in <a class="el" href="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>.
+<p>
+Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_0" doxytag="NL3D::CMeshMRM::getDefaultLMFactor" ></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="a03549.html">CTrackDefaultRGBA</a>* NL3D::CMeshBase::getDefaultLMFactor </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, inherited]</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="a05992.html#l00166">166</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00249">NL3D::CMeshBase::_DefaultLMFactor</a>.
+<p>
+<div class="fragment"><pre>00166 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp3">_DefaultLMFactor</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_1" doxytag="NL3D::CMeshMRM::getDefaultPivot" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultPivot </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, inherited]</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="a05992.html#l00162">162</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00162 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_2" doxytag="NL3D::CMeshMRM::getDefaultPos" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultPos </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, inherited]</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="a05992.html#l00161">161</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00161 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_3" doxytag="NL3D::CMeshMRM::getDefaultRotEuler" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultRotEuler </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, inherited]</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="a05992.html#l00163">163</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00163 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_4" doxytag="NL3D::CMeshMRM::getDefaultRotQuat" ></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="a03548.html">CTrackDefaultQuat</a>* NL3D::CMeshBase::getDefaultRotQuat </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, inherited]</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="a05992.html#l00164">164</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00164 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_5" doxytag="NL3D::CMeshMRM::getDefaultScale" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultScale </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, inherited]</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="a05992.html#l00165">165</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00165 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapea5" doxytag="NL3D::CMeshMRM::getDistMax" ></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::IShape::getDistMax </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> const<code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the DistMax where the shape is no more displayed. Default is to return -1, meaning DistMax = infinite.
+<p>
+Definition at line <a class="el" href="a06377.html#l00112">112</a> of file <a class="el" href="a06377.html">shape.h</a>.
+<p>
+<div class="fragment"><pre>00112 {<span class="keywordflow">return</span> <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_0" doxytag="NL3D::CMeshMRM::getLodCharacterTexture" ></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"> const <a class="el" href="a02810.html">CLodCharacterTexture</a>* NL3D::CMeshBase::getLodCharacterTexture </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> const<code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00223">223</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>.
+<p>
+Referenced by <a class="el" href="a06393.html#l00866">NL3D::CSkeletonModel::computeLodTexture()</a>.
+<p>
+<div class="fragment"><pre>00223 {<span class="keywordflow">return</span> _LodCharacterTexture;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_0" doxytag="NL3D::CMeshMRM::getMaterial" ></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"> const <a class="el" href="a02839.html">CMaterial</a>&amp; NL3D::CMeshBase::getMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a material, const version.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00184">184</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00185 {
+00186 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[<span class="keywordtype">id</span>];
+00187 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_1" doxytag="NL3D::CMeshMRM::getMaterial" ></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="a02839.html">CMaterial</a>&amp; NL3D::CMeshBase::getMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a material.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00179">179</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05567.html#l00070">NL3D::CCoarseMeshBuild::buildBitmap()</a>, <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06250.html#l00501">NL3D::CheckForLightableFacesInMesh()</a>, <a class="el" href="a06250.html#l00480">NL3D::CheckForOpaqueAndTransparentFacesInMesh()</a>, <a class="el" href="a06378.html#l00134">NL3D::CShapeBank::processWaitingShapes()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, <a class="el" href="a05457.html#l00231">NL3D::CAsyncFileManager3D::CMeshLoad::run()</a>, and <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>.
+<p>
+<div class="fragment"><pre>00180 {
+00181 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[<span class="keywordtype">id</span>];
+00182 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz495_1" doxytag="NL3D::CMeshMRM::getMeshGeom" ></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"> const <a class="el" href="a02892.html">CMeshMRMGeom</a> &amp; NL3D::CMeshMRM::getMeshGeom </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> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the mesh geom.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l02992">2992</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l01670">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00129">NL3D::CInstanceLighter::addTriangles()</a>, <a class="el" href="a06007.html#l00181">NL3D::CMeshMRMInstance::getMRMLevelDetail()</a>, <a class="el" href="a06007.html#l00136">NL3D::CMeshMRMInstance::getSkinBoneSphere()</a>, <a class="el" href="a06007.html#l00122">NL3D::CMeshMRMInstance::getSkinBoneUsage()</a>, <a class="el" href="a06007.html#l00232">NL3D::CMeshMRMInstance::initRenderFilterType()</a>, <a class="el" href="a06007.html#l00150">NL3D::CMeshMRMInstance::isSkinnable()</a>, <a class="el" href="a06007.html#l00260">NL3D::CMeshMRMInstance::renderShadowSkinGeom()</a>, <a class="el" href="a06007.html#l00270">NL3D::CMeshMRMInstance::renderShadowSkinPrimitives()</a>, <a class="el" href="a06007.html#l00164">NL3D::CMeshMRMInstance::renderSkin()</a>, <a class="el" href="a06007.html#l00204">NL3D::CMeshMRMInstance::renderSkinGroupGeom()</a>, <a class="el" href="a06007.html#l00213">NL3D::CMeshMRMInstance::renderSkinGroupPrimitives()</a>, <a class="el" href="a06007.html#l00222">NL3D::CMeshMRMInstance::renderSkinGroupSpecularRdrPass()</a>, <a class="el" href="a06007.html#l00248">NL3D::CMeshMRMInstance::supportShadowSkinGrouping()</a>, and <a class="el" href="a06007.html#l00193">NL3D::CMeshMRMInstance::supportSkinGrouping()</a>.
+<p>
+<div class="fragment"><pre>02993 {
+02994 <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>;
+02995 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz495_2" doxytag="NL3D::CMeshMRM::getNbLod" ></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#a15">uint</a> NL3D::CMeshMRM::getNbLod </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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the number of LOD.
+<p>
+Definition at line <a class="el" href="a06006.html#l00769">769</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06006.html#l00186">NL3D::CMeshMRMGeom::getNbLod()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l02900">optimizeMaterialUsage()</a>.
+<p>
+<div class="fragment"><pre>00769 { <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.getNbLod() ; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_2" doxytag="NL3D::CMeshMRM::getNbMaterial" ></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#a15">uint</a> NL3D::CMeshBase::getNbMaterial </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> const<code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the number of materials in the mesh.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00173">173</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06378.html#l00134">NL3D::CShapeBank::processWaitingShapes()</a>, <a class="el" href="a05457.html#l00231">NL3D::CAsyncFileManager3D::CMeshLoad::run()</a>, and <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>.
+<p>
+<div class="fragment"><pre>00174 {
+00175 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size();
+00176 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz495_3" doxytag="NL3D::CMeshMRM::getNbRdrPass" ></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#a15">uint</a> NL3D::CMeshMRM::getNbRdrPass </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>lodId</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the number of rendering pass of a LOD. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>lodId</em>&nbsp;</td><td>the id of the LOD.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06006.html#l00775">775</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06006.html#l00192">NL3D::CMeshMRMGeom::getNbRdrPass()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l02900">optimizeMaterialUsage()</a>.
+<p>
+<div class="fragment"><pre>00775 { <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.getNbRdrPass(lodId) ; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_3" doxytag="NL3D::CMeshMRM::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::CMeshMRM::getNumTriangles </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>distance</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get an approximation of the number of triangles this instance will render for a fixed distance.
+<p>
+
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapez900_0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06005.html#l02985">2985</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, and <a class="el" href="a06005.html#l02200">NL3D::CMeshMRMGeom::getNumTriangles()</a>.
+<p>
+<div class="fragment"><pre>02986 {
+02987 <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.getNumTriangles (distance);
+02988 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz495_4" doxytag="NL3D::CMeshMRM::getRdrPassMaterial" ></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::CMeshMRM::getRdrPassMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>lodId</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>renderingPassIndex</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the material ID associated with a rendering pass of a LOD. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>lodId</em>&nbsp;</td><td>the id of the LOD. </td></tr>
+ <tr><td valign=top><em>renderingPassIndex</em>&nbsp;</td><td>the index of the rendering pass in the matrix block</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06006.html#l00792">792</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06006.html#l00209">NL3D::CMeshMRMGeom::getRdrPassMaterial()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l02900">optimizeMaterialUsage()</a>.
+<p>
+<div class="fragment"><pre>00793 {
+00794 <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.getRdrPassMaterial(lodId, renderingPassIndex) ;
+00795 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz495_5" doxytag="NL3D::CMeshMRM::getRdrPassPrimitiveBlock" ></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"> const <a class="el" href="a03105.html">CPrimitiveBlock</a>&amp; NL3D::CMeshMRM::getRdrPassPrimitiveBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>lodId</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>renderingPassIndex</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the primitive block associated with a rendering pass of a LOD. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>lodId</em>&nbsp;</td><td>the id of the LOD. </td></tr>
+ <tr><td valign=top><em>renderingPassIndex</em>&nbsp;</td><td>the index of the rendering pass</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06006.html#l00782">782</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06006.html#l00199">NL3D::CMeshMRMGeom::getRdrPassPrimitiveBlock()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00783 {
+00784 <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.getRdrPassPrimitiveBlock(lodId, renderingPassIndex) ;
+00785 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CMeshMRM::getRefCount" ></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"> const <a class="el" href="a04558.html#a14">sint</a>&amp; NLMISC::CRefCount::getRefCount </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> const<code> [inline, inherited]</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="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00071 {
+00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>;
+00073 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz495_6" doxytag="NL3D::CMeshMRM::getVertexBuffer" ></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"> const <a class="el" href="a03692.html">CVertexBuffer</a>&amp; NL3D::CMeshMRM::getVertexBuffer </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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the vertex buffer used by the mrm mesh. NB: this VB store all Vertices used by All LODs.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06006.html#l00764">764</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, and <a class="el" href="a06006.html#l00176">NL3D::CMeshMRMGeom::getVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00764 { <span class="keywordflow">return</span> <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.getVertexBuffer(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodb2" doxytag="NL3D::CMeshMRM::instanciateMeshBase" ></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::CMeshBase::instanciateMeshBase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02873.html">CMeshBaseInstance</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>mi</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03348.html">CScene</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>ownerScene</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [protected, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+instanciate MeshBase part to an instance (a <a class="el" href="a02873.html">CMeshBaseInstance</a>).
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00261">261</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05994.html#l00226">NL3D::CMeshBaseInstance::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05994.html#l00231">NL3D::CMeshBaseInstance::_AnimatedMorphFactor</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05994.html#l00082">NL3D::CMeshBaseInstance::AsyncTextures</a>, <a class="el" href="a05442.html#l00279">NL3D::CAnimatedValueQuat</a>, <a class="el" href="a05442.html#l00277">NL3D::CAnimatedValueVector</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::getValue()</a>, <a class="el" href="a05994.html#l00075">NL3D::CMeshBaseInstance::Materials</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>, <a class="el" href="a05434.html#l00153">NL3D::IAnimatable::setFather()</a>, <a class="el" href="a06568.html#l00574">NL3D::CTransform::setIsBigLightable()</a>, <a class="el" href="a06568.html#l00552">NL3D::CTransform::setIsLightable()</a>, <a class="el" href="a05437.html#l00182">NL3D::CAnimatedMaterial::setMaterial()</a>, <a class="el" href="a06568.html#l00255">NL3D::CTransform::setOpacity()</a>, <a class="el" href="a06568.html#l00240">NL3D::CTransform::setTransparency()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00262 {
+00263 <a class="code" href="a04558.html#a11">uint32</a> i;
+00264
+00265
+00266 <span class="comment">// setup animated blendShapes</span>
+00267 <span class="comment">//===========================</span>
+00268 mi-&gt;_AnimatedMorphFactor.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size());
+00269 <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size(); ++i)
+00270 {
+00271 CAnimatedMorph am(&amp;_AnimatedMorph[i]);
+00272 mi-&gt;_AnimatedMorphFactor.push_back (am);
+00273 }
+00274
+00275 <span class="comment">// setup materials.</span>
+00276 <span class="comment">//=================</span>
+00277 <span class="comment">// Copy material. Textures are referenced only</span>
+00278 mi-&gt;Materials= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>;
+00279
+00280 <span class="comment">// Instanciate selectable textures (use default set)</span>
+00281 mi-&gt;selectTextureSet(0);
+00282
+00283 <span class="comment">// prepare possible AsyncTextures</span>
+00284 mi-&gt;AsyncTextures.resize(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size());
+00285
+00286 <span class="comment">// setup animated materials.</span>
+00287 <span class="comment">//==========================</span>
+00288 TAnimatedMaterialMap::iterator it;
+00289 mi-&gt;_AnimatedMaterials.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.size());
+00290 <span class="keywordflow">for</span>(it= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.begin(); it!= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.end(); it++)
+00291 {
+00292 CAnimatedMaterial aniMat(&amp;it-&gt;second);
+00293
+00294 <span class="comment">// set the target instance material.</span>
+00295 <a class="code" href="a04199.html#a6">nlassert</a>(it-&gt;first &lt; mi-&gt;Materials.size());
+00296 aniMat.setMaterial(&amp;mi-&gt;Materials[it-&gt;first]);
+00297
+00298 <span class="comment">// Must set the Animatable father of the animated material (the mesh_base_instance!).</span>
+00299 aniMat.setFather(mi, CMeshBaseInstance::OwnerBit);
+00300
+00301 <span class="comment">// Append this animated material.</span>
+00302 mi-&gt;_AnimatedMaterials.push_back(aniMat);
+00303 }
+00304
+00305 <span class="comment">// Misc</span>
+00306 <span class="comment">//==========================</span>
+00307
+00308 <span class="comment">// Setup position with the default value</span>
+00309 mi-&gt;ITransformable::setPos( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.getValue()).Value );
+00310 mi-&gt;ITransformable::setRotQuat( ((CAnimatedValueQuat&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.getValue()).Value );
+00311 mi-&gt;ITransformable::setScale( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.getValue()).Value );
+00312 mi-&gt;ITransformable::setPivot( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>.getValue()).Value );
+00313
+00314 <span class="comment">// Check materials for transparency</span>
+00315 mi-&gt;setTransparency( <span class="keyword">false</span> );
+00316 mi-&gt;setOpacity( <span class="keyword">false</span> );
+00317 <span class="keywordflow">for</span>( i = 0; i &lt; mi-&gt;Materials.size(); ++i )
+00318 <span class="keywordflow">if</span>( mi-&gt;Materials[i].getBlend() )
+00319 mi-&gt;setTransparency( <span class="keyword">true</span> );
+00320 <span class="keywordflow">else</span>
+00321 mi-&gt;setOpacity( <span class="keyword">true</span> );
+00322
+00323 <span class="comment">// if the mesh is lightable, then the instance is</span>
+00324 mi-&gt;setIsLightable(this-&gt;isLightable());
+00325
+00326 <span class="comment">// a mesh is considered big for lightable if it uses localAttenuation</span>
+00327 mi-&gt;setIsBigLightable(this-&gt;useLightingLocalAttenuation());
+00328
+00329 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda10" doxytag="NL3D::CMeshMRM::isLightable" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshBase::isLightable </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> const<code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is this mesh lightable? true if one of his materials is not a lightmap. NB: result stored in file.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00198">198</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00254">NL3D::CMeshBase::_IsLightable</a>.
+<p>
+Referenced by <a class="el" href="a05824.html#l00305">NL3D::CInstanceLighter::light()</a>.
+<p>
+<div class="fragment"><pre>00198 {<span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_4" doxytag="NL3D::CMeshMRM::NLMISC_DECLARE_CLASS" ></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::CMeshMRM::NLMISC_DECLARE_CLASS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02891.html">CMeshMRM</a>&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>
+clip this mesh in a driver.
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMa10" doxytag="NL3D::CMeshMRM::optimizeMaterialUsage" ></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::CMeshMRM::optimizeMaterialUsage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>remap</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>
+Optimize material use. If a material in <a class="el" href="a02858.html">CMeshBase</a> is not used by any renderPasses, it is removed, and ids are updated. WARNING: This has a side effect of deleting AnimatedMaterials. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>remap</em>&nbsp;</td><td>a remap material Id: newId= remap[oldId]. -1 means "no more used"</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l02900">2900</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06005.html#l00462">NL3D::CMeshMRMGeom::applyMaterialRemap()</a>, <a class="el" href="a06006.html#l00769">getNbLod()</a>, <a class="el" href="a06006.html#l00775">getNbRdrPass()</a>, <a class="el" href="a06006.html#l00792">getRdrPassMaterial()</a>, <a class="el" href="a05538.html#l02935">size</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>02901 {
+02902 <span class="comment">// For each material, count usage.</span>
+02903 vector&lt;bool&gt; materialUsed;
+02904 materialUsed.resize(CMeshBase::_Materials.<a class="code" href="a04115.html#a94">size</a>(), <span class="keyword">false</span>);
+02905 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> lod=0;lod&lt;<a class="code" href="a02891.html#NL3D_1_1CMeshMRMz495_2">getNbLod</a>();lod++)
+02906 {
+02907 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> rp=0;rp&lt;<a class="code" href="a02891.html#NL3D_1_1CMeshMRMz495_3">getNbRdrPass</a>(lod);rp++)
+02908 {
+02909 <a class="code" href="a04558.html#a15">uint</a> matId= <a class="code" href="a02891.html#NL3D_1_1CMeshMRMz495_4">getRdrPassMaterial</a>(lod, rp);
+02910 <span class="comment">// flag as used.</span>
+02911 materialUsed[matId]= <span class="keyword">true</span>;
+02912 }
+02913 }
+02914
+02915 <span class="comment">// Apply it to meshBase</span>
+02916 CMeshBase::applyMaterialUsageOptim(materialUsed, remap);
+02917
+02918 <span class="comment">// Apply lut to meshGeom.</span>
+02919 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.applyMaterialRemap(remap);
+02920 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_5" doxytag="NL3D::CMeshMRM::profileSceneRender" ></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::CMeshMRM::profileSceneRender </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>rdrTrav</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaquePass</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+profiling
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea8">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06005.html#l03030">3030</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06571.html#l00111">NL3D::CTransformShape::getNumTrianglesAfterLoadBalancing()</a>, <a class="el" href="a06005.html#l02600">NL3D::CMeshMRMGeom::profileSceneRender()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>03031 {
+03032 <span class="comment">// 0 or 0xFFFFFFFF</span>
+03033 <a class="code" href="a04558.html#a11">uint32</a> mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque);
+03034 <a class="code" href="a04558.html#a11">uint32</a> rdrFlags;
+03035 <span class="comment">// select rdrFlags, without ifs.</span>
+03036 rdrFlags= mask &amp; (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque);
+03037 rdrFlags|= ~mask &amp; (IMeshGeom::RenderTransparentMaterial);
+03038 <span class="comment">// profile the mesh</span>
+03039 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.profileSceneRender(rdrTrav, trans, trans-&gt;getNumTrianglesAfterLoadBalancing(), rdrFlags);
+03040 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_6" doxytag="NL3D::CMeshMRM::render" ></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::CMeshMRM::render </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>drv</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>passOpaque</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_6">render()</a> this mesh in a driver.
+<p>
+
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapea9">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06005.html#l02953">2953</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06571.html#l00111">NL3D::CTransformShape::getNumTrianglesAfterLoadBalancing()</a>, <a class="el" href="a06005.html#l00927">NL3D::CMeshMRMGeom::render()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>02954 {
+02955 <span class="comment">// 0 or 0xFFFFFFFF</span>
+02956 <a class="code" href="a04558.html#a11">uint32</a> mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque);
+02957 <a class="code" href="a04558.html#a11">uint32</a> rdrFlags;
+02958 <span class="comment">// select rdrFlags, without ifs.</span>
+02959 rdrFlags= mask &amp; (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque);
+02960 rdrFlags|= ~mask &amp; (IMeshGeom::RenderTransparentMaterial);
+02961 <span class="comment">// render the mesh</span>
+02962 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.render(drv, trans, trans-&gt;getNumTrianglesAfterLoadBalancing(), rdrFlags, 1);
+02963 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_1" doxytag="NL3D::CMeshMRM::resetLodCharacterTexture" ></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::CMeshBase::resetLodCharacterTexture </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> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00436">436</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00446">NL3D::CMeshBase::setupLodCharacterTexture()</a>, and <a class="el" href="a05991.html#l00062">NL3D::CMeshBase::~CMeshBase()</a>.
+<p>
+<div class="fragment"><pre>00437 {
+00438 <span class="keywordflow">if</span>(_LodCharacterTexture)
+00439 {
+00440 <span class="keyword">delete</span> _LodCharacterTexture;
+00441 _LodCharacterTexture= NULL;
+00442 }
+00443 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz493_7" doxytag="NL3D::CMeshMRM::serial" ></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::CMeshMRM::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial this mesh.
+<p>
+
+<p>
+Implements <a class="el" href="a02867.html#NL3D_1_1ITrackDefaulta6">NLMISC::IStreamable</a>.
+<p>
+Definition at line <a class="el" href="a06005.html#l02967">2967</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+<div class="fragment"><pre>02968 {
+02969 <span class="comment">/*</span>
+02970 <span class="comment"> Version 0:</span>
+02971 <span class="comment"> - base version.</span>
+02972 <span class="comment"> */</span>
+02973 (<span class="keywordtype">void</span>)f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(0);
+02974
+02975 <span class="comment">// serial Materials infos contained in CMeshBase.</span>
+02976 CMeshBase::serialMeshBase(f);
+02977
+02978
+02979 <span class="comment">// serial the geometry.</span>
+02980 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.serial(f);
+02981 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda12" doxytag="NL3D::CMeshMRM::serialMeshBase" ></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::CMeshBase::serialMeshBase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial the base Part of this mesh.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00149">149</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05992.html#l00254">NL3D::CMeshBase::_IsLightable</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>, <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>, <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05992.html#l00076">NL3D::CMeshBase::TLightInfoMapV7</a>.
+<p>
+<div class="fragment"><pre>00150 {
+00151 <span class="comment">/*</span>
+00152 <span class="comment"> Version 8:</span>
+00153 <span class="comment"> - new format for CLightMapInfoList</span>
+00154 <span class="comment"> Version 7:</span>
+00155 <span class="comment"> - _LodCharacterTexture</span>
+00156 <span class="comment"> Version 6:</span>
+00157 <span class="comment"> - _DistMax</span>
+00158 <span class="comment"> Version 5:</span>
+00159 <span class="comment"> - _AutoAnim</span>
+00160 <span class="comment"> Version 4:</span>
+00161 <span class="comment"> - _UseLightingLocalAttenuation</span>
+00162 <span class="comment"> Version 3:</span>
+00163 <span class="comment"> - _IsLightable</span>
+00164 <span class="comment"> Version 2:</span>
+00165 <span class="comment"> - Added Blend Shapes factors</span>
+00166 <span class="comment"> Version 1:</span>
+00167 <span class="comment"> - Cut in version because of badly coded ITexture* serialisation. throw an exception if </span>
+00168 <span class="comment"> find a version &lt; 1.</span>
+00169 <span class="comment"> Version 0:</span>
+00170 <span class="comment"> - 1st version.</span>
+00171 <span class="comment"> */</span>
+00172 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(8);
+00173
+00174 <span class="keywordflow">if</span> (ver &gt;= 2)
+00175 {
+00176 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_AnimatedMorph);
+00177 }
+00178
+00179 <span class="keywordflow">if</span>(ver&lt;1)
+00180 <span class="keywordflow">throw</span> <a class="code" href="a03781.html">NLMISC::EStream</a>(f, <span class="stringliteral">"Mesh in Stream is too old (MeshBase version &lt; 1)"</span>);
+00181
+00182 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultPos);
+00183 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultPivot);
+00184 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultRotEuler);
+00185 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultRotQuat);
+00186 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultScale);
+00187
+00188 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Materials);
+00189 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_AnimatedMaterials);
+00190
+00191 <span class="keywordflow">if</span>(ver &gt;= 8)
+00192 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_LightInfos);
+00193 <span class="keywordflow">else</span>
+00194 {
+00195 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a> temp;
+00196 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(temp);
+00197 }
+00198
+00199 <span class="keywordflow">if</span>(ver&gt;=3)
+00200 <span class="comment">// read/write _IsLightable flag.</span>
+00201 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_IsLightable);
+00202 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() )
+00203 <span class="comment">// update _IsLightable flag.</span>
+00204 <a class="code" href="a02858.html#NL3D_1_1CMeshBased0">computeIsLightable</a>();
+00205
+00206 <span class="keywordflow">if</span>(ver&gt;=4)
+00207 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_UseLightingLocalAttenuation);
+00208 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() )
+00209 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>= <span class="keyword">false</span>;
+00210
+00211 <span class="keywordflow">if</span> (ver &gt;= 5)
+00212 {
+00213 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_AutoAnim);
+00214 }
+00215
+00216 <span class="keywordflow">if</span>(ver &gt;= 6)
+00217 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DistMax);
+00218
+00219 <span class="keywordflow">if</span>(ver &gt;= 7)
+00220 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_7">serialPtr</a>(_LodCharacterTexture);
+00221
+00222 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz427_1" doxytag="NL3D::CMeshMRM::setAnimatedMaterial" ></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::CMeshBase::setAnimatedMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>id</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>matName</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup a material as animated. Material must exist or else no-op.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00077">77</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00078 {
+00079 <a class="code" href="a04199.html#a6">nlassert</a>(!matName.empty());
+00080 <span class="keywordflow">if</span>(<span class="keywordtype">id</span>&lt;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size())
+00081 {
+00082 <span class="comment">// add / replace animated material.</span>
+00083 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>[<span class="keywordtype">id</span>].Name= matName;
+00084 <span class="comment">// copy Material default.</span>
+00085 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>[<span class="keywordtype">id</span>].copyFromMaterial(&amp;_Materials[<span class="keywordtype">id</span>]);
+00086 }
+00087 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_1" doxytag="NL3D::CMeshMRM::setAutoAnim" ></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::CMeshBase::setAutoAnim </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>on</em> = true </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells that the model instanciated from this shape should be automatically animated. If so the scene will search for an automatic anim that has the same name than this shape and will bind it. This state is serialized. NB: This is a clue to scene::createInstance, a call to createInstance of this object won't make the animation binding.
+<p>
+Definition at line <a class="el" href="a05992.html#l00210">210</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>.
+<p>
+<div class="fragment"><pre>00210 { <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a> = on; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapea11" doxytag="NL3D::CMeshMRM::setDistMax" ></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::IShape::setDistMax </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting &lt;0 means -1 and so means DistMax = infinite.
+<p>
+Definition at line <a class="el" href="a06376.html#l00066">66</a> of file <a class="el" href="a06376.html">shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05714.html#l00039">NL3D::CFlareShape::CFlareShape()</a>.
+<p>
+<div class="fragment"><pre>00067 {
+00068 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= distMax;
+00069 <span class="comment">// normalize infinite setup.</span>
+00070 <span class="keywordflow">if</span>(distMax&lt;0)
+00071 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= -1;
+00072 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_2" doxytag="NL3D::CMeshMRM::setupLodCharacterTexture" ></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::CMeshBase::setupLodCharacterTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>lodText</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00446">446</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>, and <a class="el" href="a05991.html#l00436">NL3D::CMeshBase::resetLodCharacterTexture()</a>.
+<p>
+<div class="fragment"><pre>00447 {
+00448 <span class="comment">// delete old</span>
+00449 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a>();
+00450 <span class="comment">// seutp new</span>
+00451 _LodCharacterTexture= <span class="keyword">new</span> CLodCharacterTexture;
+00452 *_LodCharacterTexture= lodText;
+00453 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMz497_0" doxytag="NL3D::CMeshMRM::supportMeshBlockRendering" ></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="a02879.html">IMeshGeom</a> * NL3D::CMeshMRM::supportMeshBlockRendering </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</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>polygonCount</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return !NULL if this shape can support MeshBlock rendering for a special instance. NB: Mesh Block render cannot occurs if the Mesh is Skinned/MeshMorphed. NB: Mesh Block render can occurs only in Opaque pass NB: Mesh block render can occurs only for <a class="el" href="a02858.html">CMeshBase</a> meshes. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>trans</em>&nbsp;</td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr>
+ <tr><td valign=top><em>polygonCount</em>&nbsp;</td><td>the number of polygons to render for the meshGeom returned </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the meshgeom to render per block if OK, else NULL (default)</dd></dl>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapez904_0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06005.html#l03017">3017</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, <a class="el" href="a06571.html#l00111">NL3D::CTransformShape::getNumTrianglesAfterLoadBalancing()</a>, and <a class="el" href="a06005.html#l02673">NL3D::CMeshMRMGeom::supportMeshBlockRendering()</a>.
+<p>
+<div class="fragment"><pre>03018 {
+03019 <span class="comment">// Ok if meshGeom is ok.</span>
+03020 <span class="keywordflow">if</span>(<a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.supportMeshBlockRendering())
+03021 {
+03022 polygonCount= trans-&gt;getNumTrianglesAfterLoadBalancing();
+03023 <span class="keywordflow">return</span> (IMeshGeom*)&amp;<a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>;
+03024 }
+03025 <span class="keywordflow">else</span>
+03026 <span class="keywordflow">return</span> NULL;
+03027 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMa13" doxytag="NL3D::CMeshMRM::updateSkeletonUsage" ></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::CMeshMRM::updateSkeletonUsage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03399.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>sm</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>increment</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>
+update Skeleton Usage. increment or decrement.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06005.html#l03005">3005</a> of file <a class="el" href="a06005.html">mesh_mrm.cpp</a>.
+<p>
+References <a class="el" href="a06006.html#l00812">_MeshMRMGeom</a>, and <a class="el" href="a06005.html#l02535">NL3D::CMeshMRMGeom::updateSkeletonUsage()</a>.
+<p>
+Referenced by <a class="el" href="a06007.html#l00082">NL3D::CMeshMRMInstance::setApplySkin()</a>.
+<p>
+<div class="fragment"><pre>03006 {
+03007 <a class="code" href="a02891.html#NL3D_1_1CMeshMRMr0">_MeshMRMGeom</a>.updateSkeletonUsage(skeleton, increment);
+03008 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda14" doxytag="NL3D::CMeshMRM::useLightingLocalAttenuation" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshBase::useLightingLocalAttenuation </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> const<code> [virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+tells if the shape wants LocalAttenuation for RealTime lighting. Default is false
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapez902_0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05991.html#l00429">429</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>.
+<p>
+<div class="fragment"><pre>00430 {
+00431 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>;
+00432 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NL3D::CMeshMRM::CPtrInfo" ></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"> friend struct CPtrInfo<code> [friend, inherited]</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="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp0" doxytag="NL3D::CMeshMRM::_AnimatedMaterials" ></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="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp0">NL3D::CMeshBase::_AnimatedMaterials</a><code> [protected, inherited]</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="a05992.html#l00240">240</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00090">NL3D::CMeshBase::getAnimatedMaterial()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05991.html#l00077">NL3D::CMeshBase::setAnimatedMaterial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp1" doxytag="NL3D::CMeshMRM::_AnimatedMorph" ></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"> std::vector&lt;<a class="el" href="a02936.html">CMorphBase</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp1">NL3D::CMeshBase::_AnimatedMorph</a><code> [protected, inherited]</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="a05992.html#l00251">251</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp2" doxytag="NL3D::CMeshMRM::_AutoAnim" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp2">NL3D::CMeshBase::_AutoAnim</a><code> [protected, inherited]</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="a05992.html#l00258">258</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00212">NL3D::CMeshBase::getAutoAnim()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05992.html#l00210">NL3D::CMeshBase::setAutoAnim()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp3" doxytag="NL3D::CMeshMRM::_DefaultLMFactor" ></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="a03549.html">CTrackDefaultRGBA</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp3">NL3D::CMeshBase::_DefaultLMFactor</a><code> [protected, inherited]</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="a05992.html#l00249">249</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, and <a class="el" href="a05992.html#l00166">NL3D::CMeshBase::getDefaultLMFactor()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp4" doxytag="NL3D::CMeshMRM::_DefaultPivot" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp4">NL3D::CMeshBase::_DefaultPivot</a><code> [protected, inherited]</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="a05992.html#l00245">245</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00162">NL3D::CMeshBase::getDefaultPivot()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp5" doxytag="NL3D::CMeshMRM::_DefaultPos" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">NL3D::CMeshBase::_DefaultPos</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Transform default tracks. Those default tracks are instancied, ie, CInstanceMesh will have the same and can't specialize it.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00244">244</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp6" doxytag="NL3D::CMeshMRM::_DefaultRotEuler" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp6">NL3D::CMeshBase::_DefaultRotEuler</a><code> [protected, inherited]</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="a05992.html#l00246">246</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00163">NL3D::CMeshBase::getDefaultRotEuler()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp7" doxytag="NL3D::CMeshMRM::_DefaultRotQuat" ></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="a03548.html">CTrackDefaultQuat</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp7">NL3D::CMeshBase::_DefaultRotQuat</a><code> [protected, inherited]</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="a05992.html#l00247">247</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00164">NL3D::CMeshBase::getDefaultRotQuat()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp8" doxytag="NL3D::CMeshMRM::_DefaultScale" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp8">NL3D::CMeshBase::_DefaultScale</a><code> [protected, inherited]</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="a05992.html#l00248">248</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00165">NL3D::CMeshBase::getDefaultScale()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapep0" doxytag="NL3D::CMeshMRM::_DistMax" ></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="a02539.html#NL3D_1_1IShapep0">NL3D::IShape::_DistMax</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default to -1.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06377.html#l00165">165</a> of file <a class="el" href="a06377.html">shape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp10" doxytag="NL3D::CMeshMRM::_IsLightable" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp10">NL3D::CMeshBase::_IsLightable</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is this mesh lightable??
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00254">254</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05992.html#l00198">NL3D::CMeshBase::isLightable()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodo0" doxytag="NL3D::CMeshMRM::_LightInfos" ></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="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodo0">NL3D::CMeshBase::_LightInfos</a><code> [inherited]</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="a05992.html#l00234">234</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a06626.html#l00125">NL3D::UShape::cameraCollisionable()</a>, <a class="el" href="a05993.html#l00131">NL3D::CMeshBaseInstance::getLightMapName()</a>, <a class="el" href="a05993.html#l00124">NL3D::CMeshBaseInstance::getNbLightMap()</a>, <a class="el" href="a05993.html#l00316">NL3D::CMeshBaseInstance::initAnimatedLightIndex()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05993.html#l00214">NL3D::CMeshBaseInstance::traverseAnimDetail()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp11" doxytag="NL3D::CMeshMRM::_Materials" ></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"> std::vector&lt;<a class="el" href="a02839.html">CMaterial</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">NL3D::CMeshBase::_Materials</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The Materials.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00230">230</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMRMr0" doxytag="NL3D::CMeshMRM::_MeshMRMGeom" ></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="a02892.html">CMeshMRMGeom</a> <a class="el" href="a02891.html#NL3D_1_1CMeshMRMr0">NL3D::CMeshMRM::_MeshMRMGeom</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="a06006.html#l00812">812</a> of file <a class="el" href="a06006.html">mesh_mrm.h</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l02878">build()</a>, <a class="el" href="a06005.html#l03011">changeMRMDistanceSetup()</a>, <a class="el" href="a06005.html#l02946">clip()</a>, <a class="el" href="a06005.html#l02999">computeBonesId()</a>, <a class="el" href="a06005.html#l02924">createInstance()</a>, <a class="el" href="a06006.html#l00758">getBoundingBox()</a>, <a class="el" href="a06005.html#l02992">getMeshGeom()</a>, <a class="el" href="a06006.html#l00769">getNbLod()</a>, <a class="el" href="a06006.html#l00775">getNbRdrPass()</a>, <a class="el" href="a06005.html#l02985">getNumTriangles()</a>, <a class="el" href="a06006.html#l00792">getRdrPassMaterial()</a>, <a class="el" href="a06006.html#l00782">getRdrPassPrimitiveBlock()</a>, <a class="el" href="a06006.html#l00764">getVertexBuffer()</a>, <a class="el" href="a06005.html#l02900">optimizeMaterialUsage()</a>, <a class="el" href="a06005.html#l03030">profileSceneRender()</a>, <a class="el" href="a06005.html#l02953">render()</a>, <a class="el" href="a06005.html#l03017">supportMeshBlockRendering()</a>, and <a class="el" href="a06005.html#l03005">updateSkeletonUsage()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp12" doxytag="NL3D::CMeshMRM::_UseLightingLocalAttenuation" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp12">NL3D::CMeshBase::_UseLightingLocalAttenuation</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is this mesh Use Lighting Local Attenuation ??
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00256">256</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05991.html#l00429">NL3D::CMeshBase::useLightingLocalAttenuation()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CMeshMRM::crefs" ></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#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</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="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NL3D::CMeshMRM::NullPtrInfo" ></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="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NL3D::CMeshMRM::pinfo" ></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"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</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="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06006.html">mesh_mrm.h</a><li><a class="el" href="a06005.html">mesh_mrm.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:52:53 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>