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/a03683.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03683.html')
-rw-r--r-- | docs/doxygen/nel/a03683.html | 392 |
1 files changed, 392 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03683.html b/docs/doxygen/nel/a03683.html new file mode 100644 index 00000000..c85fd1c4 --- /dev/null +++ b/docs/doxygen/nel/a03683.html @@ -0,0 +1,392 @@ +<!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::CVegetableShapeBuild 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::CVegetableShapeBuild Class Reference</h1><code>#include <<a class="el" href="a06703.html">vegetable_shape.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A vegetable shape. Ie not deformed by instanciation. <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="a06703.html#l00046">46</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3">TBendCenterMode</a> { <a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw1">BendCenterNull</a> = 0, +<a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw2">BendCenterZ</a>, +<a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw0">BendCenterModeCount</a> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuilda0">CVegetableShapeBuild</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo0">AlphaBlend</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3">TBendCenterMode</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo1">BendCenterMode</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The BendCenter mode. <a href="#NL3D_1_1CVegetableShapeBuildo1"></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="a03683.html#NL3D_1_1CVegetableShapeBuildo2">BestSidedPreComputeLighting</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo3">DoubleSided</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">If this shape must be 2Sided. <a href="#NL3D_1_1CVegetableShapeBuildo3"></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="a03683.html#NL3D_1_1CVegetableShapeBuildo4">Lighted</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">If this shape must be lighted. <a href="#NL3D_1_1CVegetableShapeBuildo4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo5">MaxBendWeight</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The maximum BendWeight to apply. <a href="#NL3D_1_1CVegetableShapeBuildo5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03105.html">CPrimitiveBlock</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo6">PB</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">only triangles of PB are used. <a href="#NL3D_1_1CVegetableShapeBuildo6"></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="a03683.html#NL3D_1_1CVegetableShapeBuildo7">PreComputeLighting</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">if Lighted && PreComputeLighting, lighting is precomputed per instance. <a href="#NL3D_1_1CVegetableShapeBuildo7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03692.html">CVertexBuffer</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo8">VB</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildw3" doxytag="NL3D::CVegetableShapeBuild::TBendCenterMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3">NL3D::CVegetableShapeBuild::TBendCenterMode</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Bend center controls how each vertex is bended. BendCenterNull: For each Center of bend is made on (0,0,0). BendCenterZ: Center of bend is made on (vertx, verty, 0), perfect for "comb-like" vegetation.<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw1" doxytag="BendCenterNull" ></a>BendCenterNull</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw2" doxytag="BendCenterZ" ></a>BendCenterZ</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw0" doxytag="BendCenterModeCount" ></a>BendCenterModeCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06703.html#l00054">54</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +<div class="fragment"><pre>00054 {<a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw1">BendCenterNull</a>=0, <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw2">BendCenterZ</a>, <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw0">BendCenterModeCount</a>}; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuilda0" doxytag="NL3D::CVegetableShapeBuild::CVegetableShapeBuild" ></a><p> +<table class="mdTable" 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::CVegetableShapeBuild::CVegetableShapeBuild </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06703.html#l00086">86</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +References <a class="el" href="a06703.html#l00074">AlphaBlend</a>, <a class="el" href="a06703.html#l00083">BendCenterMode</a>, <a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw1">BendCenterNull</a>, <a class="el" href="a06703.html#l00079">BestSidedPreComputeLighting</a>, <a class="el" href="a06703.html#l00070">DoubleSided</a>, <a class="el" href="a06703.html#l00066">Lighted</a>, <a class="el" href="a06703.html#l00081">MaxBendWeight</a>, and <a class="el" href="a06703.html#l00068">PreComputeLighting</a>. +<p> +<div class="fragment"><pre>00087 { +00088 <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildo4">Lighted</a>= <span class="keyword">false</span>; +00089 <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildo3">DoubleSided</a>= <span class="keyword">false</span>; +00090 <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildo7">PreComputeLighting</a>= <span class="keyword">false</span>; +00091 <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildo0">AlphaBlend</a>= <span class="keyword">false</span>; +00092 <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildo2">BestSidedPreComputeLighting</a>= <span class="keyword">false</span>; +00093 <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildo5">MaxBendWeight</a>= 0; +00094 <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildo1">BendCenterMode</a>= <a class="code" href="a03683.html#NL3D_1_1CVegetableShapeBuildw3NL3D_1_1CVegetableShapeBuildw1">BendCenterNull</a>; +00095 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo0" doxytag="NL3D::CVegetableShapeBuild::AlphaBlend" ></a><p> +<table class="mdTable" 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="a03683.html#NL3D_1_1CVegetableShapeBuildo0">NL3D::CVegetableShapeBuild::AlphaBlend</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If this shape must be AlphaBlended (and hence ZSorted). NB: valid ONLY if (!Lighted || PreComputeLighting) && DoubleSided. +<p> +Definition at line <a class="el" href="a06703.html#l00074">74</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, and <a class="el" href="a06703.html#l00086">CVegetableShapeBuild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo1" doxytag="NL3D::CVegetableShapeBuild::BendCenterMode" ></a><p> +<table class="mdTable" 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="a03683.html#NL3D_1_1CVegetableShapeBuildw3">TBendCenterMode</a> <a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo1">NL3D::CVegetableShapeBuild::BendCenterMode</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The BendCenter mode. +<p> + +<p> +Definition at line <a class="el" href="a06703.html#l00083">83</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, and <a class="el" href="a06703.html#l00086">CVegetableShapeBuild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo2" doxytag="NL3D::CVegetableShapeBuild::BestSidedPreComputeLighting" ></a><p> +<table class="mdTable" 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="a03683.html#NL3D_1_1CVegetableShapeBuildo2">NL3D::CVegetableShapeBuild::BestSidedPreComputeLighting</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +true If this shape must take one sided lighting. ie max(normal, -normal) is computed during ligthing compute NB: valid ONLY if (PreComputeLighting) +<p> +Definition at line <a class="el" href="a06703.html#l00079">79</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, and <a class="el" href="a06703.html#l00086">CVegetableShapeBuild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo3" doxytag="NL3D::CVegetableShapeBuild::DoubleSided" ></a><p> +<table class="mdTable" 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="a03683.html#NL3D_1_1CVegetableShapeBuildo3">NL3D::CVegetableShapeBuild::DoubleSided</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If this shape must be 2Sided. +<p> + +<p> +Definition at line <a class="el" href="a06703.html#l00070">70</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, and <a class="el" href="a06703.html#l00086">CVegetableShapeBuild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo4" doxytag="NL3D::CVegetableShapeBuild::Lighted" ></a><p> +<table class="mdTable" 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="a03683.html#NL3D_1_1CVegetableShapeBuildo4">NL3D::CVegetableShapeBuild::Lighted</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If this shape must be lighted. +<p> + +<p> +Definition at line <a class="el" href="a06703.html#l00066">66</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, and <a class="el" href="a06703.html#l00086">CVegetableShapeBuild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo5" doxytag="NL3D::CVegetableShapeBuild::MaxBendWeight" ></a><p> +<table class="mdTable" 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="a03683.html#NL3D_1_1CVegetableShapeBuildo5">NL3D::CVegetableShapeBuild::MaxBendWeight</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The maximum BendWeight to apply. +<p> + +<p> +Definition at line <a class="el" href="a06703.html#l00081">81</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, and <a class="el" href="a06703.html#l00086">CVegetableShapeBuild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo6" doxytag="NL3D::CVegetableShapeBuild::PB" ></a><p> +<table class="mdTable" 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="a03105.html">CPrimitiveBlock</a> <a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo6">NL3D::CVegetableShapeBuild::PB</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +only triangles of PB are used. +<p> + +<p> +Definition at line <a class="el" href="a06703.html#l00064">64</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo7" doxytag="NL3D::CVegetableShapeBuild::PreComputeLighting" ></a><p> +<table class="mdTable" 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="a03683.html#NL3D_1_1CVegetableShapeBuildo7">NL3D::CVegetableShapeBuild::PreComputeLighting</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +if Lighted && PreComputeLighting, lighting is precomputed per instance. +<p> + +<p> +Definition at line <a class="el" href="a06703.html#l00068">68</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, and <a class="el" href="a06703.html#l00086">CVegetableShapeBuild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CVegetableShapeBuildo8" doxytag="NL3D::CVegetableShapeBuild::VB" ></a><p> +<table class="mdTable" 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="a03692.html">CVertexBuffer</a> <a class="el" href="a03683.html#NL3D_1_1CVegetableShapeBuildo8">NL3D::CVegetableShapeBuild::VB</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The standard input vertexBuffer If it has vertexColor, then BendWeight is read from color.R, and scale to take MaxBendWeight at max. else, BendWeight is read from <a class="el" href="a04223.html#a574">pos.z</a> (clamped to (0, maxZ), and scaled to take MaxBendWeight at max. If it has normal, and Lighted==true, then it is lighted. Must have TexCoord0. +<p> +Definition at line <a class="el" href="a06703.html#l00062">62</a> of file <a class="el" href="a06703.html">vegetable_shape.h</a>. +<p> +Referenced by <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06703.html">vegetable_shape.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:22:30 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> |