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/classNL3D_1_1CLandscapeUser.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CLandscapeUser.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CLandscapeUser.html | 1793 |
1 files changed, 1793 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CLandscapeUser.html b/docs/doxygen/nel/classNL3D_1_1CLandscapeUser.html new file mode 100644 index 00000000..5a2da8bf --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CLandscapeUser.html @@ -0,0 +1,1793 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CLandscapeUser Class Reference</h1><a class="el" href="classNL3D_1_1ULandscape.html">ULandscape</a> Implementation. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CLandscapeUser: +<p><center><img src="classNL3D_1_1CLandscapeUser.gif" usemap="#NL3D::CLandscapeUser_map" border="0"></center> +<map name="NL3D::CLandscapeUser_map"> +<area href="classNL3D_1_1ULandscape.html" alt="NL3D::ULandscape" shape="rect" coords="0,0,147,24"> +</map> +<a href="classNL3D_1_1CLandscapeUser-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z500_0">CLandscapeUser</a> (<a class="el" href="classNL3D_1_1CScene.html">CScene</a> *scene)</td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z500_1">~CLandscapeUser</a> ()</td></tr> +<tr><td colspan="2"><div class="groupHeader">Load</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_0">setZonePath</a> (const std::string &zonePath)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the zonePath from where zones are loaded.</em> <a href="#z501_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_1">loadBankFiles</a> (const std::string &tileBankFile, const std::string &farBankFile)</td></tr> +<tr><td> </td><td><font size=-1><em>Load the tile banks: the ".bank" and the ".farbank".</em> <a href="#z501_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_2">loadAllZonesAround</a> (const CVector &pos, float radius)</td></tr> +<tr><td> </td><td><font size=-1><em>Load all Zones around a position. Call at init only!! (no zone must exist before). This is a blocking call.</em> <a href="#z501_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_3">loadAllZonesAround</a> (const CVector &pos, float radius, std::vector< std::string > &zonesAdded)</td></tr> +<tr><td> </td><td><font size=-1><em>Load all Zones around a position.</em> <a href="#z501_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_4">refreshZonesAround</a> (const CVector &pos, float radius)</td></tr> +<tr><td> </td><td><font size=-1><em>Delete old zones, or load new zones, around a position. new Zones are loaded async.</em> <a href="#z501_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_5">refreshZonesAround</a> (const CVector &pos, float radius, std::string &zoneAdded, std::string &zoneRemoved)</td></tr> +<tr><td> </td><td><font size=-1><em>Delete old zones, or load new zones, around a position.</em> <a href="#z501_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_6">refreshAllZonesAround</a> (const CVector &pos, float radius, std::vector< std::string > &zonesAdded, std::vector< std::string > &zonesRemoved)</td></tr> +<tr><td> </td><td><font size=-1><em>Delete old zones, or load new zones, around a position, until it is finished. This is a blocking call.</em> <a href="#z501_6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z501_7">getAllZoneLoaded</a> (std::vector< std::string > &zoneLoaded) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get list of zones currently loaded in landscape.</em> <a href="#z501_7">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Lighting</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_0">setupStaticLight</a> (const CRGBA &diffuse, const CRGBA &ambiant, float multiply)</td></tr> +<tr><td> </td><td><font size=-1><em>Setup the light color use for static illumination.</em> <a href="#z502_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_1">setPointLightDiffuseMaterial</a> (CRGBA diffuse)</td></tr> +<tr><td> </td><td><font size=-1><em>Setup the equivalent material diffuse component used for both Static and Dynamic PointLights.</em> <a href="#z502_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_2">getPointLightDiffuseMaterial</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_3">setPointLightFactor</a> (const std::string &lightGroupName, <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> nFactor)</td></tr> +<tr><td> </td><td><font size=-1><em>set the Light factor for all pointLights in All zones with LightGroupName= "lightGroupName".</em> <a href="#z502_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_4">setUpdateLightingFrequency</a> (float freq)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the frequency of lighting update.</em> <a href="#z502_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_5">updateLightingAll</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>update the lighting of ALL patch (slow method).</em> <a href="#z502_5">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Parameters</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z503_0">setThreshold</a> (float thre)</td></tr> +<tr><td> </td><td><font size=-1><em>Set threshold for subdivsion quality. The lower is threshold, the more the landscape is subdivided. Default: 0.001.</em> <a href="#z503_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z503_1">getThreshold</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get threshold.</em> <a href="#z503_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z503_2">setTileNear</a> (float tileNear)</td></tr> +<tr><td> </td><td><font size=-1><em>Set tile near distance. Default 50.f. maximized to length of Far alpha transition).</em> <a href="#z503_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z503_3">getTileNear</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get tile near distance.</em> <a href="#z503_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z503_4">setTileMaxSubdivision</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> tileDiv)</td></tr> +<tr><td> </td><td><font size=-1><em>Set Maximum Tile subdivision. Valid values must be in [0..4] (assert). Default is 0 (for now :) ).</em> <a href="#z503_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z503_5">getTileMaxSubdivision</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Get Maximum Tile subdivision.</em> <a href="#z503_5">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Misc</div></td></tr> +<tr><td nowrap align=right valign=top>virtual std::string </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z504_0">getZoneName</a> (const CVector &pos)</td></tr> +<tr><td> </td><td><font size=-1><em>Return the name of the zone around a particular position (in <a class="el" href="namespaceNL3D.html">NL3D</a> basis!).</em> <a href="#z504_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z504_1">show</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>show the landscape. visible by default.</em> <a href="#z504_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z504_2">hide</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>hide the landscape. It is nor refined, nor rendered (=> take 0 CPU time).</em> <a href="#z504_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z504_3">enableAdditive</a> (bool enable)</td></tr> +<tr><td> </td><td><font size=-1><em>Set additive Lighting.</em> <a href="#z504_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z504_4">isAdditiveEnabled</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get additive Lighting.</em> <a href="#z504_4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">HeightField DeltaZ.</div></td></tr> +<tr><td nowrap align=right valign=top>virtual CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z505_0">getHeightFieldDeltaZ</a> (float <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, float <a class="el" href="driver__opengl__extension__def_8h.html#a365">y</a>) const</td></tr> +<tr><td> </td><td><font size=-1><em>return the HeightField DeltaZ for the 2D position. (0,0,dZ) is returned.</em> <a href="#z505_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z505_1">setHeightField</a> (const <a class="el" href="classNL3D_1_1CHeightMap.html">CHeightMap</a> &hf)</td></tr> +<tr><td> </td><td><font size=-1><em>set the HeightField data.</em> <a href="#z505_1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader"></div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z506_0">enableVegetable</a> (bool enable)</td></tr> +<tr><td> </td><td><font size=-1><em>enable the vegetable management in landscape.</em> <a href="#z506_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z506_1">loadVegetableTexture</a> (const std::string &textureFileName)</td></tr> +<tr><td> </td><td><font size=-1><em>load a texture for the vegetable, lookup in CPath.</em> <a href="#z506_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z506_2">setupVegetableLighting</a> (const CRGBA &ambient, const CRGBA &diffuse, const CVector &directionalLight)</td></tr> +<tr><td> </td><td><font size=-1><em>setup lighting ambient and diffuse for vegetable.</em> <a href="#z506_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z506_3">setVegetableWind</a> (const CVector &windDir, float windFreq, float windPower, float windBendMin)</td></tr> +<tr><td> </td><td><font size=-1><em>set the vegetable Wind for animation.</em> <a href="#z506_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z506_4">setVegetableUpdateLightingFrequency</a> (float freq)</td></tr> +<tr><td> </td><td><font size=-1><em>set the frequency of Vegetable lighting update.</em> <a href="#z506_4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Dynamic Lighting management</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z507_0">setDLMGlobalVegetableColor</a> (CRGBA gvc)</td></tr> +<tr><td> </td><td><font size=-1><em>For Vegetable Dynamic ligthing only: this is an approximate color of all vegetables.</em> <a href="#z507_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z507_1">getDLMGlobalVegetableColor</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>see <a class="el" href="classNL3D_1_1CLandscapeUser.html#z507_0">setDLMGlobalVegetableColor</a>().</em> <a href="#z507_1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Accessor for CLandscapeUser.</div></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLandscapeModel.html">CLandscapeModel</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#z508_0">getLandscape</a> ()</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CScene.html">CScene</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#o0">_Scene</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLandscapeModel.html">CLandscapeModel</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#o1">_Landscape</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CZoneManager.html">CZoneManager</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeUser.html#o2">_ZoneManager</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classNL3D_1_1ULandscape.html">ULandscape</a> Implementation. +<p> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="landscape__user_8h-source.html#l00048">48</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z500_0" doxytag="NL3D::CLandscapeUser::CLandscapeUser"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CLandscapeUser::CLandscapeUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CScene.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> [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="landscape__user_8h-source.html#l00062">62</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, <a class="el" href="landscape__user_8h-source.html#l00052">_Scene</a>, <a class="el" href="landscape__model_8h-source.html#l00041">NL3D::LandscapeModelId</a>, <a class="el" href="landscape__user_8h-source.html#l00035">NL3D_MEM_LANDSCAPE</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z500_1" doxytag="NL3D::CLandscapeUser::~CLandscapeUser"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NL3D::CLandscapeUser::~CLandscapeUser </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, virtual]</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="landscape__user_8h-source.html#l00069">69</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, <a class="el" href="landscape__user_8h-source.html#l00052">_Scene</a>, and <a class="el" href="landscape__user_8h-source.html#l00035">NL3D_MEM_LANDSCAPE</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z504_3" doxytag="NL3D::CLandscapeUser::enableAdditive"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::enableAdditive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</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> +Set additive Lighting. +<p> +Disabled by default. <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>enable</em> </td><td> +is true to activbe additive, false to disactive it. </td></tr> +</table> +</dl> +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_6">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00394">394</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z506_0" doxytag="NL3D::CLandscapeUser::enableVegetable"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::enableVegetable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</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> +enable the vegetable management in landscape. +<p> +Valid only if Hardware support VertexShader. +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z49_0">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00336">336</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z501_7" doxytag="NL3D::CLandscapeUser::getAllZoneLoaded"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::getAllZoneLoaded </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< std::string > & </td> + <td class="mdname1" valign="top" nowrap> <em>zoneLoaded</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get list of zones currently loaded in landscape. +<p> +\zonesLoaded array of name of the zones added, without extension (eg: "150_EM"). +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_7">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00170">170</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>. </td> + </tr> +</table> +<a name="z507_1" doxytag="NL3D::CLandscapeUser::getDLMGlobalVegetableColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CRGBA NL3D::CLandscapeUser::getDLMGlobalVegetableColor </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +see <a class="el" href="classNL3D_1_1CLandscapeUser.html#z507_0">setDLMGlobalVegetableColor</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z50_1">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00431">431</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z505_0" doxytag="NL3D::CLandscapeUser::getHeightFieldDeltaZ"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CVector NL3D::CLandscapeUser::getHeightFieldDeltaZ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>y</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 the HeightField DeltaZ for the 2D position. (0,0,dZ) is returned. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z48_0">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00319">319</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>. </td> + </tr> +</table> +<a name="z508_0" doxytag="NL3D::CLandscapeUser::getLandscape"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CLandscapeModel.html">CLandscapeModel</a>* NL3D::CLandscapeUser::getLandscape </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="landscape__user_8h-source.html#l00185">185</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8h-source.html#l00035">NL3D_MEM_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z502_2" doxytag="NL3D::CLandscapeUser::getPointLightDiffuseMaterial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CRGBA NL3D::CLandscapeUser::getPointLightDiffuseMaterial </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_1">setPointLightDiffuseMaterial</a> </dl> +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_2">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00416">416</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z503_1" doxytag="NL3D::CLandscapeUser::getThreshold"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CLandscapeUser::getThreshold </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get threshold. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z46_1">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00273">273</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z503_5" doxytag="NL3D::CLandscapeUser::getTileMaxSubdivision"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CLandscapeUser::getTileMaxSubdivision </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get Maximum Tile subdivision. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z46_5">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00301">301</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z503_3" doxytag="NL3D::CLandscapeUser::getTileNear"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CLandscapeUser::getTileNear </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get tile near distance. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z46_3">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00287">287</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z504_0" doxytag="NL3D::CLandscapeUser::getZoneName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CLandscapeUser::getZoneName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname1" valign="top" nowrap> <em>pos</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> +Return the name of the zone around a particular position (in <a class="el" href="namespaceNL3D.html">NL3D</a> basis!). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z47_0">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00310">310</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00056">_ZoneManager</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z504_2" doxytag="NL3D::CLandscapeUser::hide"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CLandscapeUser::hide </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +hide the landscape. It is nor refined, nor rendered (=> take 0 CPU time). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z47_2">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8h-source.html#l00148">148</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8h-source.html#l00035">NL3D_MEM_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z504_4" doxytag="NL3D::CLandscapeUser::isAdditiveEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CLandscapeUser::isAdditiveEnabled </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get additive Lighting. +<p> +<dl compact><dt><b> +Returns: </b><dd> +true to if additive is actived, else false. </dl> +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_7">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00401">401</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z501_3" doxytag="NL3D::CLandscapeUser::loadAllZonesAround"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::loadAllZonesAround </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>radius</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::vector< std::string > & </td> + <td class="mdname" nowrap> <em>zonesAdded</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> +Load all Zones around a position. +<p> +This is a blocking call. \zonesAdded array of name of the zones added, without extension (eg: "150_EM"). +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_3">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00103">103</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, <a class="el" href="landscape__user_8h-source.html#l00056">_ZoneManager</a>, <a class="el" href="landscape__user_8cpp-source.html#l00044">NL3D_HAUTO_LOAD_LANDSCAPE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="common_8cpp-source.html#l00065">NLMISC::nlSleep</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z501_2" doxytag="NL3D::CLandscapeUser::loadAllZonesAround"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::loadAllZonesAround </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>radius</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> +Load all Zones around a position. Call at init only!! (no zone must exist before). This is a blocking call. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_2">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00187">187</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. </td> + </tr> +</table> +<a name="z501_1" doxytag="NL3D::CLandscapeUser::loadBankFiles"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::loadBankFiles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>tileBankFile</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>farBankFile</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> +Load the tile banks: the ".bank" and the ".farbank". +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_1">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00055">55</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, <a class="el" href="landscape__user_8h-source.html#l00052">_Scene</a>, <a class="el" href="landscape__user_8cpp-source.html#l00044">NL3D_HAUTO_LOAD_LANDSCAPE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z506_1" doxytag="NL3D::CLandscapeUser::loadVegetableTexture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::loadVegetableTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>textureFileName</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> +load a texture for the vegetable, lookup in CPath. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z49_1">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00344">344</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00044">NL3D_HAUTO_LOAD_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z501_6" doxytag="NL3D::CLandscapeUser::refreshAllZonesAround"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::refreshAllZonesAround </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>radius</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::vector< std::string > & </td> + <td class="mdname" nowrap> <em>zonesAdded</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::vector< std::string > & </td> + <td class="mdname" nowrap> <em>zonesRemoved</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> +Delete old zones, or load new zones, around a position, until it is finished. This is a blocking call. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_6">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00145">145</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00056">_ZoneManager</a>, <a class="el" href="landscape__user_8cpp-source.html#l00044">NL3D_HAUTO_LOAD_LANDSCAPE</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00196">refreshZonesAround</a>. </td> + </tr> +</table> +<a name="z501_5" doxytag="NL3D::CLandscapeUser::refreshZonesAround"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::refreshZonesAround </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>radius</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::string & </td> + <td class="mdname" nowrap> <em>zoneAdded</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::string & </td> + <td class="mdname" nowrap> <em>zoneRemoved</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> +Delete old zones, or load new zones, around a position. +<p> +new Zones are loaded async. This method add or remove only one zone at a time. \zoneRemoved name of the zone removed, without extension (eg: "150_EM"). "" if none. \zoneAdded name of the zone added, without extension (eg: "150_EM"). "" if none. +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_5">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00205">205</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, <a class="el" href="landscape__user_8h-source.html#l00056">_ZoneManager</a>, <a class="el" href="landscape__user_8cpp-source.html#l00044">NL3D_HAUTO_LOAD_LANDSCAPE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z501_4" doxytag="NL3D::CLandscapeUser::refreshZonesAround"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::refreshZonesAround </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>radius</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> +Delete old zones, or load new zones, around a position. new Zones are loaded async. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_4">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00196">196</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8cpp-source.html#l00044">NL3D_HAUTO_LOAD_LANDSCAPE</a>. +<p> +Referenced by <a class="el" href="landscape__user_8cpp-source.html#l00145">refreshAllZonesAround</a>. </td> + </tr> +</table> +<a name="z507_0" doxytag="NL3D::CLandscapeUser::setDLMGlobalVegetableColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setDLMGlobalVegetableColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>gvc</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> +For Vegetable Dynamic ligthing only: this is an approximate color of all vegetables. +<p> +Default is (180, 180, 180). +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z50_0">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00424">424</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z505_1" doxytag="NL3D::CLandscapeUser::setHeightField"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setHeightField </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNL3D_1_1CHeightMap.html">CHeightMap</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>hf</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> +set the HeightField data. +<p> +NB: take lot of place in memory. only one is possible. You should setup this heightfield around the zones which will be loaded. It is applied only when a zone is loaded, so you should setup it 2km around the user, each time you move too far from a previous place (eg 160m from last setup). +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z48_1">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00327">327</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z502_1" doxytag="NL3D::CLandscapeUser::setPointLightDiffuseMaterial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setPointLightDiffuseMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>diffuse</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> +Setup the equivalent material diffuse component used for both Static and Dynamic PointLights. +<p> +Default is White. +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_1">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00409">409</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z502_3" doxytag="NL3D::CLandscapeUser::setPointLightFactor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setPointLightFactor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>lightGroupName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td> + <td class="mdname" nowrap> <em>nFactor</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> +set the Light factor for all pointLights in All zones with LightGroupName= "lightGroupName". +<p> +Additionaly, it stores a map<lightGroupName, <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> nFactor>, so each added zone will be correclty assigned. +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_3">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00377">377</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z503_0" doxytag="NL3D::CLandscapeUser::setThreshold"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setThreshold </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>thre</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> +Set threshold for subdivsion quality. The lower is threshold, the more the landscape is subdivided. Default: 0.001. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z46_0">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00266">266</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z503_4" doxytag="NL3D::CLandscapeUser::setTileMaxSubdivision"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setTileMaxSubdivision </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>tileDiv</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> +Set Maximum Tile subdivision. Valid values must be in [0..4] (assert). Default is 0 (for now :) ). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z46_4">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00294">294</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z503_2" doxytag="NL3D::CLandscapeUser::setTileNear"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setTileNear </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>tileNear</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> +Set tile near distance. Default 50.f. maximized to length of Far alpha transition). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z46_2">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00280">280</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z502_4" doxytag="NL3D::CLandscapeUser::setUpdateLightingFrequency"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setUpdateLightingFrequency </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>freq</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> +Set the frequency of lighting update. +<p> +If freq==1, ALL patchs are updated each second. e.g: if 1/20, then every 20 seconds, all patchs are updated. If you set 0, no update will be done at all (this is the default setup!!). +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_4">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00385">385</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z502_0" doxytag="NL3D::CLandscapeUser::setupStaticLight"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setupStaticLight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CRGBA & </td> + <td class="mdname" nowrap> <em>diffuse</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CRGBA & </td> + <td class="mdname" nowrap> <em>ambiant</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>multiply</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> +Setup the light color use for static illumination. +<p> +NB: This setup will be visible only for new texture far/near computed (when player move or see dynamic lighting).<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>diffuse</em> </td><td> +is the color of the diffuse componante of the lighting. </td></tr> +<tr><td valign=top><em>ambiant</em> </td><td> +is the color of the ambiante componante of the lighting. </td></tr> +<tr><td valign=top><em>multiply</em> </td><td> +is the multiply factor. Final color is (diffuse*multiply*shading+ambiant*(1.0-shading)) </td></tr> +</table> +</dl> +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_0">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00256">256</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z506_2" doxytag="NL3D::CLandscapeUser::setupVegetableLighting"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setupVegetableLighting </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CRGBA & </td> + <td class="mdname" nowrap> <em>ambient</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CRGBA & </td> + <td class="mdname" nowrap> <em>diffuse</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CVector & </td> + <td class="mdname" nowrap> <em>directionalLight</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> +setup lighting ambient and diffuse for vegetable. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z49_2">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00352">352</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z506_4" doxytag="NL3D::CLandscapeUser::setVegetableUpdateLightingFrequency"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setVegetableUpdateLightingFrequency </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>freq</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> +set the frequency of Vegetable lighting update. +<p> +If freq==1, ALL lighted igs are updated each second. e.g: if 1/20, then every 20 seconds, all Igs are updated. If you set 0, no update will be done at all (this is the default setup!!). +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z49_4">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00368">368</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z506_3" doxytag="NL3D::CLandscapeUser::setVegetableWind"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setVegetableWind </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>windDir</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>windFreq</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>windPower</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>windBendMin</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> +set the vegetable Wind for animation. +<p> +All thoses variables may be modified each frame without penalty.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>windDir</em> </td><td> +is the direction of the wind. NB: only XY direction is kept. </td></tr> +<tr><td valign=top><em>windFreq</em> </td><td> +is the frequency for the animation (speed) </td></tr> +<tr><td valign=top><em>windPower</em> </td><td> +is the power of the wind, and is a factor (0..1) of Bend </td></tr> +<tr><td valign=top><em>windBendMin</em> </td><td> +is a value in (0..1) which indicate how much the vegetables are bended at minimum (for very powerfull wind) </td></tr> +</table> +</dl> +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z49_3">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00360">360</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z501_0" doxytag="NL3D::CLandscapeUser::setZonePath"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::setZonePath </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>zonePath</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> +Set the zonePath from where zones are loaded. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z44_0">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00048">48</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00056">_ZoneManager</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00042">NL3D_HAUTO_UI_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z504_1" doxytag="NL3D::CLandscapeUser::show"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CLandscapeUser::show </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +show the landscape. visible by default. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z47_1">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8h-source.html#l00143">143</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8h-source.html#l00035">NL3D_MEM_LANDSCAPE</a>. </td> + </tr> +</table> +<a name="z502_5" doxytag="NL3D::CLandscapeUser::updateLightingAll"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeUser::updateLightingAll </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update the lighting of ALL patch (slow method). +<p> +NB: work even if UpdateLightingFrequency==0 Additionaly, vegetables are also ALL updated. WARNING!! If Scene Lighting is enabled (usual case), vegetable lighting setup take last Sun setup at <a class="el" href="classNL3D_1_1UScene.html#z73_0">UScene::render</a>(). Hence, you should force the new lighting setup with <a class="el" href="classNL3D_1_1ULandscape.html#z49_2">ULandscape::setupVegetableLighting</a>(), before calling <a class="el" href="classNL3D_1_1CLandscapeUser.html#z502_5">updateLightingAll</a>(). +<p> +Implements <a class="el" href="classNL3D_1_1ULandscape.html#z45_5">NL3D::ULandscape</a>. +<p> +Definition at line <a class="el" href="landscape__user_8cpp-source.html#l00438">438</a> of file <a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a>. +<p> +References <a class="el" href="landscape__user_8h-source.html#l00054">_Landscape</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00043">NL3D_HAUTO_LANDSCAPE_UPDATE_LIGHTING_ALL</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o1" doxytag="NL3D::CLandscapeUser::_Landscape"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CLandscapeModel.html">CLandscapeModel</a>* NL3D::CLandscapeUser::_Landscape<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="landscape__user_8h-source.html#l00054">54</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +Referenced by <a class="el" href="landscape__user_8h-source.html#l00062">CLandscapeUser</a>, <a class="el" href="landscape__user_8cpp-source.html#l00394">enableAdditive</a>, <a class="el" href="landscape__user_8cpp-source.html#l00336">enableVegetable</a>, <a class="el" href="landscape__user_8cpp-source.html#l00170">getAllZoneLoaded</a>, <a class="el" href="landscape__user_8cpp-source.html#l00431">getDLMGlobalVegetableColor</a>, <a class="el" href="landscape__user_8cpp-source.html#l00319">getHeightFieldDeltaZ</a>, <a class="el" href="landscape__user_8h-source.html#l00185">getLandscape</a>, <a class="el" href="landscape__user_8cpp-source.html#l00416">getPointLightDiffuseMaterial</a>, <a class="el" href="landscape__user_8cpp-source.html#l00273">getThreshold</a>, <a class="el" href="landscape__user_8cpp-source.html#l00301">getTileMaxSubdivision</a>, <a class="el" href="landscape__user_8cpp-source.html#l00287">getTileNear</a>, <a class="el" href="landscape__user_8h-source.html#l00148">hide</a>, <a class="el" href="landscape__user_8cpp-source.html#l00401">isAdditiveEnabled</a>, <a class="el" href="landscape__user_8cpp-source.html#l00103">loadAllZonesAround</a>, <a class="el" href="landscape__user_8cpp-source.html#l00055">loadBankFiles</a>, <a class="el" href="landscape__user_8cpp-source.html#l00344">loadVegetableTexture</a>, <a class="el" href="landscape__user_8cpp-source.html#l00205">refreshZonesAround</a>, <a class="el" href="landscape__user_8cpp-source.html#l00424">setDLMGlobalVegetableColor</a>, <a class="el" href="landscape__user_8cpp-source.html#l00327">setHeightField</a>, <a class="el" href="landscape__user_8cpp-source.html#l00409">setPointLightDiffuseMaterial</a>, <a class="el" href="landscape__user_8cpp-source.html#l00377">setPointLightFactor</a>, <a class="el" href="landscape__user_8cpp-source.html#l00266">setThreshold</a>, <a class="el" href="landscape__user_8cpp-source.html#l00294">setTileMaxSubdivision</a>, <a class="el" href="landscape__user_8cpp-source.html#l00280">setTileNear</a>, <a class="el" href="landscape__user_8cpp-source.html#l00385">setUpdateLightingFrequency</a>, <a class="el" href="landscape__user_8cpp-source.html#l00256">setupStaticLight</a>, <a class="el" href="landscape__user_8cpp-source.html#l00352">setupVegetableLighting</a>, <a class="el" href="landscape__user_8cpp-source.html#l00368">setVegetableUpdateLightingFrequency</a>, <a class="el" href="landscape__user_8cpp-source.html#l00360">setVegetableWind</a>, <a class="el" href="landscape__user_8h-source.html#l00143">show</a>, <a class="el" href="landscape__user_8cpp-source.html#l00438">updateLightingAll</a>, and <a class="el" href="landscape__user_8h-source.html#l00069">~CLandscapeUser</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CLandscapeUser::_Scene"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CScene.html">CScene</a>* NL3D::CLandscapeUser::_Scene<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="landscape__user_8h-source.html#l00052">52</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +Referenced by <a class="el" href="landscape__user_8h-source.html#l00062">CLandscapeUser</a>, <a class="el" href="landscape__user_8cpp-source.html#l00055">loadBankFiles</a>, and <a class="el" href="landscape__user_8h-source.html#l00069">~CLandscapeUser</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CLandscapeUser::_ZoneManager"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CZoneManager.html">CZoneManager</a> NL3D::CLandscapeUser::_ZoneManager<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="landscape__user_8h-source.html#l00056">56</a> of file <a class="el" href="landscape__user_8h-source.html">landscape_user.h</a>. +<p> +Referenced by <a class="el" href="landscape__user_8cpp-source.html#l00310">getZoneName</a>, <a class="el" href="landscape__user_8cpp-source.html#l00103">loadAllZonesAround</a>, <a class="el" href="landscape__user_8cpp-source.html#l00145">refreshAllZonesAround</a>, <a class="el" href="landscape__user_8cpp-source.html#l00205">refreshZonesAround</a>, and <a class="el" href="landscape__user_8cpp-source.html#l00048">setZonePath</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="landscape__user_8h-source.html">landscape_user.h</a><li><a class="el" href="landscape__user_8cpp-source.html">landscape_user.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |