diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02900.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02900.html')
-rw-r--r-- | docs/doxygen/nel/a02900.html | 3272 |
1 files changed, 3272 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02900.html b/docs/doxygen/nel/a02900.html new file mode 100644 index 00000000..3accad5d --- /dev/null +++ b/docs/doxygen/nel/a02900.html @@ -0,0 +1,3272 @@ +<!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::CMeshMRMSkinned class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CMeshMRMSkinned Class Reference</h1><code>#include <<a class="el" href="a06012.html">mesh_mrm_skinned.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CMeshMRMSkinned: +<p><center><img src="a02900.png" usemap="#NL3D::CMeshMRMSkinned_map" border="0" alt=""></center> +<map name="NL3D::CMeshMRMSkinned_map"> +<area href="a02858.html" alt="NL3D::CMeshBase" shape="rect" coords="87,168,252,192"> +<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="87,112,252,136"> +<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,56,165,80"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="175,56,340,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="175,0,340,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +An instanciable MRM mesh.<p> +To build a <a class="el" href="a02900.html">CMeshMRMSkinned</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="a02900.html#NL3D_1_1CMeshMRMSkinneda1">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="a06012.html#l00659">659</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda0">build</a> (<a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &m, const <a class="el" href="a02901.html">CMeshMRMSkinnedGeom</a> &mgeom)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda1">build</a> (<a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &mBase, <a class="el" href="a02864.html">CMesh::CMeshBuild</a> &m, const <a class="el" href="a02967.html">CMRMParameters</a> &<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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda2">changeMRMDistanceSetup</a> (float distanceFinest, float distanceMiddle, float distanceCoarsest)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda3">CMeshMRMSkinned</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CMeshMRMSkinneda3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda4">computeBonesId</a> (<a class="el" href="a03399.html">CSkeletonModel</a> *skeleton)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Compute skinning id. <a href="#NL3D_1_1CMeshMRMSkinneda4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda1">flushTextures</a> (<a class="el" href="a02434.html">IDriver</a> &driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr> + +<tr><td class="mdescLeft"> </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 </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 </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> & </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda10">isLightable</a> () const </td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda10">optimizeMaterialUsage</a> (std::vector< <a class="el" href="a04558.html#a14">sint</a> > &remap)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </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> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </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 </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda13">updateSkeletonUsage</a> (<a class="el" href="a03399.html">CSkeletonModel</a> *sm, bool increment)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">update Skeleton Usage. increment or decrement. <a href="#NL3D_1_1CMeshMRMSkinneda13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">useLightingLocalAttenuation</a> () const </td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_0">clip</a> (const std::vector< <a class="el" href="a03082.html">CPlane</a> > &pyramid, const <a class="el" href="a02851.html">CMatrix</a> &worldMatrix)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">clip this mesh in a driver. <a href="#NL3D_1_1CMeshMRMSkinnedz525_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_1">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &scene)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="a02888.html">CMeshInstance</a>, which contains materials. <a href="#NL3D_1_1CMeshMRMSkinnedz525_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_2">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &bbox) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get bbox. <a href="#NL3D_1_1CMeshMRMSkinnedz525_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_3">getNumTriangles</a> (float distance)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get an approximation of the number of triangles this instance will render for a fixed distance. <a href="#NL3D_1_1CMeshMRMSkinnedz525_3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_4">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a02900.html">CMeshMRMSkinned</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">clip this mesh in a driver. <a href="#NL3D_1_1CMeshMRMSkinnedz525_4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_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"> </td><td class="mdescRight">profiling <a href="#NL3D_1_1CMeshMRMSkinnedz525_5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_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"> </td><td class="mdescRight"><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_6">render()</a> this mesh in a driver. <a href="#NL3D_1_1CMeshMRMSkinnedz525_6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_7">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">serial this mesh. <a href="#NL3D_1_1CMeshMRMSkinnedz525_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> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_0">getBoundingBox</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the extended axis aligned bounding box of the mesh <a href="#NL3D_1_1CMeshMRMSkinnedz527_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02901.html">CMeshMRMSkinnedGeom</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_1">getMeshGeom</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the mesh geom. <a href="#NL3D_1_1CMeshMRMSkinnedz527_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_2">getNbLod</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_5">getRdrPassPrimitiveBlock</a> (<a class="el" href="a04558.html#a15">uint</a> lodId, <a class="el" href="a04558.html#a15">uint</a> renderingPassIndex, <a class="el" href="a03105.html">CPrimitiveBlock</a> &block) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_6">getVertexBuffer</a> (<a class="el" href="a03692.html">CVertexBuffer</a> &output) const </td></tr> + +<tr><td class="mdescLeft"> </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_1CMeshMRMSkinnedz527_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> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz529_0">supportMeshBlockRendering</a> (<a class="el" href="a02537.html">CTransformShape</a> *trans, float &polygonCount) const </td></tr> + +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnede0">isCompatible</a> (const <a class="el" href="a02864.html">CMesh::CMeshBuild</a> &m)</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> </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> </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 * </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 </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< <a class="el" href="a04558.html#a11">uint32</a>,<br> + <a class="el" href="a02846.html">CMaterialBase</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a></td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb0">applyMaterialUsageOptim</a> (const std::vector< bool > &materialUsed, std::vector< <a class="el" href="a04558.html#a14">sint</a> > &remap)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb1">buildMeshBase</a> (CMeshBaseBuild &m)</td></tr> + +<tr><td class="mdescLeft"> </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 </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"> </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> </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< <a class="el" href="a02936.html">CMorphBase</a> > </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 </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> </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> </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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a></td></tr> + +<tr><td class="mdescLeft"> </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> </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> </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> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a></td></tr> + +<tr><td class="mdescLeft"> </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< <a class="el" href="a02839.html">CMaterial</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a></td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a></td></tr> + +<tr><td class="mdescLeft"> </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="a02901.html">CMeshMRMSkinnedGeom</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a></td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </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::CMeshMRMSkinned::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<<a class="el" href="a04558.html#a11">uint32</a>, <a class="el" href="a02846.html">CMaterialBase</a>> <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> + + </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::CMeshMRMSkinned::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< std::string, CLightInfoMapListV7 > <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> + + </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::CMeshMRMSkinned::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< CLightMapInfoList > <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> + + </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 & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinneda3" doxytag="NL3D::CMeshMRMSkinned::CMeshMRMSkinned" ></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::CMeshMRMSkinned::CMeshMRMSkinned </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06011.html#l01360">1360</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +<div class="fragment"><pre>01361 { +01362 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshMultiLodb0" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top">const std::vector< bool > & </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< <a class="el" href="a04558.html#a14">sint</a> > & </td> + <td class="mdname" nowrap> <em>remap</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </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<CMaterial>::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<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<<a class="code" href="a04223.html#a577">count</a>; i++) +00368 { +00369 CLightMapInfoList &mapInfoList = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>[i]; +00370 std::list<CMeshBase::CLightMapInfoList::CMatStage>::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->MatId]; +00374 <span class="comment">// If material used</span> +00375 <span class="keywordflow">if</span>(newId>=0) +00376 { +00377 <span class="comment">// apply remap on the material id</span> +00378 ite->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_1CMeshMRMSkinneda0" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::build </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> & </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="a02901.html">CMeshMRMSkinnedGeom</a> & </td> + <td class="mdname" nowrap> <em>mgeom</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build a mesh, replacing old. build from a CMeshBaseBuild (materials info) and a previously builded <a class="el" href="a02901.html">CMeshMRMSkinnedGeom</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> </td><td>parameters of the MRM build process.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06011.html#l01404">1404</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +<div class="fragment"><pre>01405 { +01407 CMeshBase::buildMeshBase(m); +01408 +01409 <span class="comment">// Then copy the geom.</span> +01410 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>= mgeom; +01411 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinneda1" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::build </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> & </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> & </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="a02967.html">CMRMParameters</a> & </td> + <td class="mdname" nowrap> <em>params</em> = <a class="el" href="a02967.html">CMRMParameters</a>()</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build a mesh, replacing old. WARNING: This has a side effect of deleting AnimatedMaterials. Call <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnede0">isCompatible()</a> before this method. 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> </td><td>parameters of the MRM build process.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06011.html#l01392">1392</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l00206">NL3D::CMeshMRMSkinnedGeom::build()</a>, <a class="el" href="a06011.html#l01366">isCompatible()</a>, <a class="el" href="a05992.html#l00128">NL3D::CMeshBase::CMeshBaseBuild::Materials</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05646.html#l00223">params</a>. +<p> +<div class="fragment"><pre>01394 { +01395 <a class="code" href="a04199.html#a6">nlassert</a> (<a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnede0">isCompatible</a>(m)); +01396 +01398 CMeshBase::buildMeshBase (mBase); +01399 +01400 <span class="comment">// Then build the geom.</span> +01401 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.build (m, mBase.Materials.size(), <a class="code" href="a04223.html#a565">params</a>); +01402 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodb1" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBaseBuild</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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< CQuat >::setValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable< CVector >::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 < 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_1CMeshMRMSkinneda2" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::changeMRMDistanceSetup </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </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 </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 </td> + <td class="mdname" nowrap> <em>distanceCoarsest</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Change MRM Distance setup. NB: no-op if distanceFinest<0, distanceMiddle<=distanceFinest or if distanceCoarsest<=distanceMiddle. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>distanceFinest</em> </td><td>The MRM has its max faces when dist<=distanceFinest. </td></tr> + <tr><td valign=top><em>distanceMiddle</em> </td><td>The MRM has 50% of its faces at dist==distanceMiddle. </td></tr> + <tr><td valign=top><em>distanceCoarsest</em> </td><td>The MRM has faces/Divisor (ie near 0) when dist>=distanceCoarsest.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06011.html#l01526">1526</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l00188">NL3D::CMeshMRMSkinnedGeom::changeMRMDistanceSetup()</a>. +<p> +Referenced by <a class="el" href="a06013.html#l00110">NL3D::CMeshMRMSkinnedInstance::changeMRMDistanceSetup()</a>. +<p> +<div class="fragment"><pre>01527 { +01528 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.changeMRMDistanceSetup(distanceFinest, distanceMiddle, distanceCoarsest); +01529 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz525_0" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::clip </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::vector< <a class="el" href="a03082.html">CPlane</a> > & </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> & </td> + <td class="mdname" nowrap> <em>worldMatrix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="a06011.html#l01461">1461</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l00505">NL3D::CMeshMRMSkinnedGeom::clip()</a>. +<p> +<div class="fragment"><pre>01462 { +01463 <span class="keywordflow">return</span> <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.clip(pyramid, worldMatrix); +01464 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinneda4" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::computeBonesId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03399.html">CSkeletonModel</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>skeleton</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute skinning id. +<p> + +<p> +Definition at line <a class="el" href="a06011.html#l01514">1514</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l01062">NL3D::CMeshMRMSkinnedGeom::computeBonesId()</a>. +<p> +Referenced by <a class="el" href="a06013.html#l00137">NL3D::CMeshMRMSkinnedInstance::getSkinBoneSphere()</a>, <a class="el" href="a06013.html#l00123">NL3D::CMeshMRMSkinnedInstance::getSkinBoneUsage()</a>, and <a class="el" href="a06013.html#l00083">NL3D::CMeshMRMSkinnedInstance::setApplySkin()</a>. +<p> +<div class="fragment"><pre>01515 { +01516 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.computeBonesId (skeleton); +01517 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz525_1" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>scene</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="a06011.html#l01439">1439</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, <a class="el" href="a06011.html#l00499">NL3D::CMeshMRMSkinnedGeom::initInstance()</a>, <a class="el" href="a06013.html#l00227">NL3D::CMeshMRMSkinnedInstance::initRenderFilterType()</a>, and <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>. +<p> +<div class="fragment"><pre>01440 { +01441 <span class="comment">// Create a CMeshMRMSkinnedInstance, an instance of a mesh.</span> +01442 <span class="comment">//===============================================</span> +01443 CMeshMRMSkinnedInstance *mi= (CMeshMRMSkinnedInstance*)scene.createModel(NL3D::MeshMRMSkinnedInstanceId); +01444 mi->Shape= <span class="keyword">this</span>; +01445 +01446 <span class="comment">// instanciate the material part of the MeshMRM, ie the CMeshBase.</span> +01447 CMeshBase::instanciateMeshBase(mi, &scene); +01448 +01449 +01450 <span class="comment">// do some instance init for MeshGeom</span> +01451 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.initInstance(mi); +01452 +01453 <span class="comment">// init the FilterType</span> +01454 mi->initRenderFilterType(); +01455 +01456 <span class="keywordflow">return</span> mi; +01457 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda1" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> & </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> </td> + <td class="mdname" nowrap> <em>selectedTexture</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </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<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_1CMeshMRMSkinnedz525_2" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::getAABBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td> + <td class="md" valign="top"> ) </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> + + </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="a06012.html#l00726">726</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. +<p> +References <a class="el" href="a05385.html#l00206">NLMISC::CAABBoxExt::getAABBox()</a>, and <a class="el" href="a06012.html#l00738">getBoundingBox()</a>. +<p> +<div class="fragment"><pre>00726 {bbox= <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_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::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> &it->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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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_1CMeshMRMSkinnedz527_0" doxytag="NL3D::CMeshMRMSkinned::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>& NL3D::CMeshMRMSkinned::getBoundingBox </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the extended axis aligned bounding box of the mesh +<p> + +<p> +Definition at line <a class="el" href="a06012.html#l00738">738</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. +<p> +References <a class="el" href="a06012.html#l00148">NL3D::CMeshMRMSkinnedGeom::getBoundingBox()</a>. +<p> +Referenced by <a class="el" href="a06012.html#l00726">getAABBox()</a>. +<p> +<div class="fragment"><pre>00739 { +00740 <span class="keywordflow">return</span> <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.getBoundingBox(); +00741 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> &<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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> &<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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> &<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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> &<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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> &<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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> &<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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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::CMeshMRMSkinned::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>& NL3D::CMeshBase::getMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </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> + + </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::CMeshMRMSkinned::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>& NL3D::CMeshBase::getMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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_1CMeshMRMSkinnedz527_1" doxytag="NL3D::CMeshMRMSkinned::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="a02901.html">CMeshMRMSkinnedGeom</a> & NL3D::CMeshMRMSkinned::getMeshGeom </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the mesh geom. +<p> + +<p> +Definition at line <a class="el" href="a06011.html#l01507">1507</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +Referenced by <a class="el" href="a06013.html#l00176">NL3D::CMeshMRMSkinnedInstance::getMRMLevelDetail()</a>, <a class="el" href="a06013.html#l00137">NL3D::CMeshMRMSkinnedInstance::getSkinBoneSphere()</a>, <a class="el" href="a06013.html#l00123">NL3D::CMeshMRMSkinnedInstance::getSkinBoneUsage()</a>, <a class="el" href="a06013.html#l00227">NL3D::CMeshMRMSkinnedInstance::initRenderFilterType()</a>, <a class="el" href="a06013.html#l00255">NL3D::CMeshMRMSkinnedInstance::renderShadowSkinGeom()</a>, <a class="el" href="a06013.html#l00265">NL3D::CMeshMRMSkinnedInstance::renderShadowSkinPrimitives()</a>, <a class="el" href="a06013.html#l00159">NL3D::CMeshMRMSkinnedInstance::renderSkin()</a>, <a class="el" href="a06013.html#l00199">NL3D::CMeshMRMSkinnedInstance::renderSkinGroupGeom()</a>, <a class="el" href="a06013.html#l00208">NL3D::CMeshMRMSkinnedInstance::renderSkinGroupPrimitives()</a>, <a class="el" href="a06013.html#l00217">NL3D::CMeshMRMSkinnedInstance::renderSkinGroupSpecularRdrPass()</a>, <a class="el" href="a06013.html#l00243">NL3D::CMeshMRMSkinnedInstance::supportShadowSkinGrouping()</a>, and <a class="el" href="a06013.html#l00188">NL3D::CMeshMRMSkinnedInstance::supportSkinGrouping()</a>. +<p> +<div class="fragment"><pre>01508 { +01509 <span class="keywordflow">return</span> <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>; +01510 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz527_2" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::getNbLod </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the number of LOD. +<p> +Definition at line <a class="el" href="a06012.html#l00749">749</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. +<p> +References <a class="el" href="a06012.html#l00165">NL3D::CMeshMRMSkinnedGeom::getNbLod()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06011.html#l01415">optimizeMaterialUsage()</a>. +<p> +<div class="fragment"><pre>00749 { <span class="keywordflow">return</span> <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.getNbLod() ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_2" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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_1CMeshMRMSkinnedz527_3" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::getNbRdrPass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>lodId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> </td><td>the id of the LOD.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06012.html#l00755">755</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. +<p> +References <a class="el" href="a06012.html#l00171">NL3D::CMeshMRMSkinnedGeom::getNbRdrPass()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06011.html#l01415">optimizeMaterialUsage()</a>. +<p> +<div class="fragment"><pre>00755 { <span class="keywordflow">return</span> <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.getNbRdrPass(lodId) ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz525_3" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::getNumTriangles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distance</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="a06011.html#l01500">1500</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l01055">NL3D::CMeshMRMSkinnedGeom::getNumTriangles()</a>. +<p> +<div class="fragment"><pre>01501 { +01502 <span class="keywordflow">return</span> <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.getNumTriangles (distance); +01503 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz527_4" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::getRdrPassMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </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> </td> + <td class="mdname" nowrap> <em>renderingPassIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </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> </td><td>the id of the LOD. </td></tr> + <tr><td valign=top><em>renderingPassIndex</em> </td><td>the index of the rendering pass in the matrix block</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06012.html#l00772">772</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. +<p> +References <a class="el" href="a06012.html#l00188">NL3D::CMeshMRMSkinnedGeom::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="a06011.html#l01415">optimizeMaterialUsage()</a>. +<p> +<div class="fragment"><pre>00773 { +00774 <span class="keywordflow">return</span> <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.getRdrPassMaterial(lodId, renderingPassIndex) ; +00775 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz527_5" doxytag="NL3D::CMeshMRMSkinned::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"> void NL3D::CMeshMRMSkinned::getRdrPassPrimitiveBlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </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> </td> + <td class="mdname" nowrap> <em>renderingPassIndex</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03105.html">CPrimitiveBlock</a> & </td> + <td class="mdname" nowrap> <em>block</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </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> </td><td>the id of the LOD. </td></tr> + <tr><td valign=top><em>renderingPassIndex</em> </td><td>the index of the rendering pass</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06012.html#l00762">762</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. +<p> +References <a class="el" href="a06012.html#l00178">NL3D::CMeshMRMSkinnedGeom::getRdrPassPrimitiveBlock()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00763 { +00764 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.getRdrPassPrimitiveBlock(lodId, renderingPassIndex, block); +00765 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CMeshMRMSkinned::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>& NLMISC::CRefCount::getRefCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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_1CMeshMRMSkinnedz527_6" doxytag="NL3D::CMeshMRMSkinned::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"> void NL3D::CMeshMRMSkinned::getVertexBuffer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03692.html">CVertexBuffer</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>output</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="a06012.html#l00744">744</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. +<p> +References <a class="el" href="a06011.html#l02088">NL3D::CMeshMRMSkinnedGeom::getVertexBuffer()</a>. +<p> +<div class="fragment"><pre>00744 { <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.getVertexBuffer(output); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodb2" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02873.html">CMeshBaseInstance</a> * </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> * </td> + <td class="mdname" nowrap> <em>ownerScene</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </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< CQuat >::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable< CVector >::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->_AnimatedMorphFactor.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size()); +00269 <span class="keywordflow">for</span>(i = 0; i < <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size(); ++i) +00270 { +00271 CAnimatedMorph am(&_AnimatedMorph[i]); +00272 mi->_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->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->selectTextureSet(0); +00282 +00283 <span class="comment">// prepare possible AsyncTextures</span> +00284 mi->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->_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(&it->second); +00293 +00294 <span class="comment">// set the target instance material.</span> +00295 <a class="code" href="a04199.html#a6">nlassert</a>(it->first < mi->Materials.size()); +00296 aniMat.setMaterial(&mi->Materials[it->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->_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->ITransformable::setPos( ((CAnimatedValueVector&)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.getValue()).Value ); +00310 mi->ITransformable::setRotQuat( ((CAnimatedValueQuat&)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.getValue()).Value ); +00311 mi->ITransformable::setScale( ((CAnimatedValueVector&)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.getValue()).Value ); +00312 mi->ITransformable::setPivot( ((CAnimatedValueVector&)<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->setTransparency( <span class="keyword">false</span> ); +00316 mi->setOpacity( <span class="keyword">false</span> ); +00317 <span class="keywordflow">for</span>( i = 0; i < mi->Materials.size(); ++i ) +00318 <span class="keywordflow">if</span>( mi->Materials[i].getBlend() ) +00319 mi->setTransparency( <span class="keyword">true</span> ); +00320 <span class="keywordflow">else</span> +00321 mi->setOpacity( <span class="keyword">true</span> ); +00322 +00323 <span class="comment">// if the mesh is lightable, then the instance is</span> +00324 mi->setIsLightable(this->isLightable()); +00325 +00326 <span class="comment">// a mesh is considered big for lightable if it uses localAttenuation</span> +00327 mi->setIsBigLightable(this->useLightingLocalAttenuation()); +00328 +00329 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnede0" doxytag="NL3D::CMeshMRMSkinned::isCompatible" ></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::CMeshMRMSkinned::isCompatible </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02864.html">CMesh::CMeshBuild</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if the <a class="el" href="a02864.html">CMesh::CMeshBuild</a> is compatible with the <a class="el" href="a02900.html">CMeshMRMSkinned</a>. If not, build a <a class="el" href="a02891.html">CMeshMRM</a>. You must test this before call <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinneda1">build()</a>. +<p> +Definition at line <a class="el" href="a06011.html#l01366">1366</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a05990.html#l00196">NL3D::CMesh::CMeshBuild::BlendShapes</a>, <a class="el" href="a06012.html#l00074">NL3D_MESH_MRM_SKINNED_VERTEX_FORMAT</a>, <a class="el" href="a06330.html#l00066">NL3D_MESH_SKIN_MANAGER_MAXVERTICES</a>, <a class="el" href="a05990.html#l00180">NL3D::CMesh::CMeshBuild::NumCoords</a>, <a class="el" href="a05990.html#l00179">NL3D::CMesh::CMeshBuild::VertexFlags</a>, and <a class="el" href="a05990.html#l00184">NL3D::CMesh::CMeshBuild::Vertices</a>. +<p> +Referenced by <a class="el" href="a06011.html#l01392">build()</a>. +<p> +<div class="fragment"><pre>01367 { +01368 <span class="comment">/* Optimised shape for skinned object with MRM, 1 UV coordinates, 1 to 4 skinning weight and 256 matrices</span> +01369 <span class="comment"> Tangeant space, vertex program, mesh block rendering and vertex buffer hard are not available. */</span> +01370 +01371 <span class="comment">// Vertex format</span> +01372 <span class="keywordflow">if</span> (m.VertexFlags != <a class="code" href="a04589.html#a5">NL3D_MESH_MRM_SKINNED_VERTEX_FORMAT</a>) +01373 <span class="keywordflow">return</span> <span class="keyword">false</span>; +01374 +01375 <span class="comment">// No W</span> +01376 <span class="keywordflow">if</span> (m.NumCoords[0] != 2) +01377 <span class="keywordflow">return</span> <span class="keyword">false</span>; +01378 +01379 <span class="comment">// No blend shape</span> +01380 <span class="keywordflow">if</span> (!m.BlendShapes.empty()) +01381 <span class="keywordflow">return</span> <span class="keyword">false</span>; +01382 +01383 <span class="comment">// Check number of vertices</span> +01384 <span class="keywordflow">if</span> (m.Vertices.size() > <a class="code" href="a04907.html#a1">NL3D_MESH_SKIN_MANAGER_MAXVERTICES</a>) +01385 <span class="keywordflow">return</span> <span class="keyword">false</span>; +01386 +01387 <span class="comment">// Ok</span> +01388 <span class="keywordflow">return</span> <span class="keyword">true</span>; +01389 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda10" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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_1CMeshMRMSkinnedz525_4" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02900.html">CMeshMRMSkinned</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +clip this mesh in a driver. +<p> + </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinneda10" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::optimizeMaterialUsage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a04558.html#a14">sint</a> > & </td> + <td class="mdname1" valign="top" nowrap> <em>remap</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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> </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="a06011.html#l01415">1415</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l00395">NL3D::CMeshMRMSkinnedGeom::applyMaterialRemap()</a>, <a class="el" href="a06012.html#l00749">getNbLod()</a>, <a class="el" href="a06012.html#l00755">getNbRdrPass()</a>, <a class="el" href="a06012.html#l00772">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>01416 { +01417 <span class="comment">// For each material, count usage.</span> +01418 vector<bool> materialUsed; +01419 materialUsed.resize(CMeshBase::_Materials.<a class="code" href="a04115.html#a94">size</a>(), <span class="keyword">false</span>); +01420 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> lod=0;lod<<a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_2">getNbLod</a>();lod++) +01421 { +01422 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> rp=0;rp<<a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_3">getNbRdrPass</a>(lod);rp++) +01423 { +01424 <a class="code" href="a04558.html#a15">uint</a> matId= <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz527_4">getRdrPassMaterial</a>(lod, rp); +01425 <span class="comment">// flag as used.</span> +01426 materialUsed[matId]= <span class="keyword">true</span>; +01427 } +01428 } +01429 +01430 <span class="comment">// Apply it to meshBase</span> +01431 CMeshBase::applyMaterialUsageOptim(materialUsed, remap); +01432 +01433 <span class="comment">// Apply lut to meshGeom.</span> +01434 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.applyMaterialRemap(remap); +01435 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz525_5" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::profileSceneRender </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> * </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> * </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 </td> + <td class="mdname" nowrap> <em>opaquePass</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="a06011.html#l01538">1538</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06571.html#l00111">NL3D::CTransformShape::getNumTrianglesAfterLoadBalancing()</a>, <a class="el" href="a06011.html#l01288">NL3D::CMeshMRMSkinnedGeom::profileSceneRender()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>01539 { +01540 <span class="comment">// 0 or 0xFFFFFFFF</span> +01541 <a class="code" href="a04558.html#a11">uint32</a> mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque); +01542 <a class="code" href="a04558.html#a11">uint32</a> rdrFlags; +01543 <span class="comment">// select rdrFlags, without ifs.</span> +01544 rdrFlags= mask & (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque); +01545 rdrFlags|= ~mask & (IMeshGeom::RenderTransparentMaterial); +01546 <span class="comment">// profile the mesh</span> +01547 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.profileSceneRender(rdrTrav, trans, trans->getNumTrianglesAfterLoadBalancing(), rdrFlags); +01548 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinnedz525_6" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::render </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> * </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> * </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 </td> + <td class="mdname" nowrap> <em>passOpaque</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_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="a06011.html#l01468">1468</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06571.html#l00111">NL3D::CTransformShape::getNumTrianglesAfterLoadBalancing()</a>, <a class="el" href="a06011.html#l00568">NL3D::CMeshMRMSkinnedGeom::render()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>01469 { +01470 <span class="comment">// 0 or 0xFFFFFFFF</span> +01471 <a class="code" href="a04558.html#a11">uint32</a> mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque); +01472 <a class="code" href="a04558.html#a11">uint32</a> rdrFlags; +01473 <span class="comment">// select rdrFlags, without ifs.</span> +01474 rdrFlags= mask & (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque); +01475 rdrFlags|= ~mask & (IMeshGeom::RenderTransparentMaterial); +01476 <span class="comment">// render the mesh</span> +01477 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.render(drv, trans, trans->getNumTrianglesAfterLoadBalancing(), rdrFlags, 1); +01478 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_1" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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_1CMeshMRMSkinnedz525_7" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="a06011.html#l01482">1482</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, and <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>. +<p> +<div class="fragment"><pre>01483 { +01484 <span class="comment">/*</span> +01485 <span class="comment"> Version 0:</span> +01486 <span class="comment"> - base version.</span> +01487 <span class="comment"> */</span> +01488 (<span class="keywordtype">void</span>)f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(0); +01489 +01490 <span class="comment">// serial Materials infos contained in CMeshBase.</span> +01491 CMeshBase::serialMeshBase(f); +01492 +01493 +01494 <span class="comment">// serial the geometry.</span> +01495 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.serial(f); +01496 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda12" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </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> + + </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 < 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 >= 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<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 < 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 >= 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>=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>=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 >= 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 >= 6) +00217 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DistMax); +00218 +00219 <span class="keywordflow">if</span>(ver >= 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::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </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 & </td> + <td class="mdname" nowrap> <em>matName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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><<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(&_Materials[<span class="keywordtype">id</span>]); +00086 } +00087 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_1" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>on</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting <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<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::CMeshMRMSkinned::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02810.html">CLodCharacterTexture</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>lodText</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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_1CMeshMRMSkinnedz529_0" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::supportMeshBlockRendering </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> * </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 & </td> + <td class="mdname" nowrap> <em>polygonCount</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </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> </td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr> + <tr><td valign=top><em>polygonCount</em> </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="a06011.html#l01532">1532</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +<div class="fragment"><pre>01533 { +01534 <span class="keywordflow">return</span> NULL; +01535 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMRMSkinneda13" doxytag="NL3D::CMeshMRMSkinned::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::CMeshMRMSkinned::updateSkeletonUsage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03399.html">CSkeletonModel</a> * </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 </td> + <td class="mdname" nowrap> <em>increment</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update Skeleton Usage. increment or decrement. +<p> + +<p> +Definition at line <a class="el" href="a06011.html#l01520">1520</a> of file <a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a>. +<p> +References <a class="el" href="a06011.html#l01254">NL3D::CMeshMRMSkinnedGeom::updateSkeletonUsage()</a>. +<p> +Referenced by <a class="el" href="a06013.html#l00083">NL3D::CMeshMRMSkinnedInstance::setApplySkin()</a>. +<p> +<div class="fragment"><pre>01521 { +01522 <a class="code" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">_MeshMRMGeom</a>.updateSkeletonUsage(skeleton, increment); +01523 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda14" doxytag="NL3D::CMeshMRMSkinned::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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::CMeshMRMSkinned::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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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<<a class="el" href="a02936.html">CMorphBase</a>> <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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::_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<<a class="el" href="a02839.html">CMaterial</a>> <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> + + </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_1CMeshMRMSkinnedr0" doxytag="NL3D::CMeshMRMSkinned::_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="a02901.html">CMeshMRMSkinnedGeom</a> <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedr0">NL3D::CMeshMRMSkinned::_MeshMRMGeom</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06012.html#l00792">792</a> of file <a class="el" href="a06012.html">mesh_mrm_skinned.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp12" doxytag="NL3D::CMeshMRMSkinned::_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> + + </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::CMeshMRMSkinned::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> + + </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::CMeshMRMSkinned::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> + + </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::CMeshMRMSkinned::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> + + </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="a06012.html">mesh_mrm_skinned.h</a><li><a class="el" href="a06011.html">mesh_mrm_skinned.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:54:04 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> |