aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CLightingManager.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CLightingManager.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CLightingManager.html929
1 files changed, 929 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CLightingManager.html b/docs/doxygen/nel/classNL3D_1_1CLightingManager.html
new file mode 100644
index 00000000..8478687e
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CLightingManager.html
@@ -0,0 +1,929 @@
+<!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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>
+&nbsp;
+
+<!-- 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>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <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> &nbsp; </center>
+<hr><h1>NL3D::CLightingManager Class Reference</h1>Owned by CLightingTrav.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>&gt;</code>
+<p>
+<a href="classNL3D_1_1CLightingManager-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 nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#a0">CLightingManager</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#a1">computeModelLightContributions</a> (<a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> *model, <a class="el" href="classNL3D_1_1CLightContribution.html">CLightContribution</a> &amp;lightContrib, <a class="el" href="classNL3D_1_1ILogicInfo.html">ILogicInfo</a> *logicInfo=NULL)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the description of nearsest lights viewed for this model.</em> <a href="#a1">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>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_0">setMaxLightContribution</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> nlights)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>set the max number of point light that can influence a model.</em> <a href="#z523_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_1">getMaxLightContribution</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_2">setNoAttLightRadius</a> (float noAttLightRadius)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Advanced.</em> <a href="#z523_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_3">getNoAttLightRadius</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_4">setOutOfAttLightInfFactor</a> (float outOfAttLightInfFactor)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Advanced.</em> <a href="#z523_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_5">getOutOfAttLightInfFactor</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_6">setLightTransitionThreshold</a> (float lightTransitionThreshold)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Advanced.</em> <a href="#z523_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z523_7">getLightTransitionThreshold</a> () const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Dynamic Lights localisation.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z524_0">clearDynamicLights</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>clear for the pass all the lights.</em> <a href="#z524_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z524_1">addDynamicLight</a> (<a class="el" href="classNL3D_1_1CPointLight.html">CPointLight</a> *light)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>temp add a dynamic light to the manager.</em> <a href="#z524_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const std::vector&lt; <a class="el" href="classNL3D_1_1CPointLight.html">CPointLight</a> * &gt; &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z524_2">getAllDynamicLightList</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>retrieve (for this pass only) list of all pointLights visible in scene.</em> <a href="#z524_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Static Lighted Objects Localisation. Used for lights to touch nearest static models.</div></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CLightingManager_1_1CQGItLightedModel.html">CQGItLightedModel</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z525_0">eraseStaticLightedModel</a> (<a class="el" href="structNL3D_1_1CLightingManager_1_1CQGItLightedModel.html">CQGItLightedModel</a> ite)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>erase a lighted object to the _StaticLightedModelQuadGrid.</em> <a href="#z525_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CLightingManager_1_1CQGItLightedModel.html">CQGItLightedModel</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z525_1">insertStaticLightedModel</a> (<a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> *model)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>insert a lighted object to the _StaticLightedModelQuadGrid.</em> <a href="#z525_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#c0">getDynamicPointLightList</a> (const CVector &amp;worldPos, std::vector&lt; <a class="el" href="classNL3D_1_1CPointLightInfluence.html">CPointLightInfluence</a> &gt; &amp;lightList)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the list of dynamic light viewed from a position. append to lightList.</em> <a href="#c0">More...</a><em></em></font><br><br></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_1CQuadGrid.html">CQuadGrid</a>&lt; <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#o0">_StaticLightedModelQuadGrid</a> [NL3D_QUADGRID_LIGHT_NUM_LEVEL]</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CQuadGrid.html">CQuadGrid</a>&lt; <a class="el" href="structNL3D_1_1CLightingManager_1_1CPointLightInfo.html">CPointLightInfo</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#o1">_LightQuadGrid</a> [NL3D_QUADGRID_LIGHT_NUM_LEVEL]</td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#o2">_LightQuadGridRadiusLimit</a> [NL3D_QUADGRID_LIGHT_NUM_LEVEL]</td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNL3D_1_1CPointLight.html">CPointLight</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#o3">_DynamicLightList</a></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Parameters.</div></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z526_0">_MaxLightContribution</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z526_1">_NoAttLightRadius</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z526_2">_OutOfAttLightInfFactor</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightingManager.html#z526_3">_LightTransitionThreshold</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Owned by CLightingTrav.
+<p>
+This class compute modelContributions. It gets which dynamic light may influence a model, ask to <a class="el" href="classNL3D_1_1ILogicInfo.html">ILogicInfo</a> the contribution of staticLights then decides which light are best suitable to influence the model.
+<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="lighting__manager_8h-source.html#l00060">60</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CLightingManager::CLightingManager"></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::CLightingManager::CLightingManager </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00063">63</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00177">_LightQuadGrid</a>, <a class="el" href="lighting__manager_8h-source.html#l00179">_LightQuadGridRadiusLimit</a>, <a class="el" href="lighting__manager_8h-source.html#l00188">_LightTransitionThreshold</a>, <a class="el" href="lighting__manager_8h-source.html#l00186">_NoAttLightRadius</a>, <a class="el" href="lighting__manager_8h-source.html#l00187">_OutOfAttLightInfFactor</a>, <a class="el" href="lighting__manager_8h-source.html#l00176">_StaticLightedModelQuadGrid</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00059">NL3D_DEFAULT_LIGHT_TRANSITION_THRESHOLD</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00055">NL3D_DEFAULT_NOATT_LIGHT_RADIUS</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00057">NL3D_DEFAULT_OUT_OF_ATT_LIGHT_INF_FACTOR</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00048">NL3D_LIGHT_QUAD_GRID_ELTSIZE</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00051">NL3D_LIGHT_QUAD_GRID_FACTOR</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00049">NL3D_LIGHT_QUAD_GRID_RADIUS_LIMIT</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00047">NL3D_LIGHT_QUAD_GRID_SIZE</a>, <a class="el" href="lighting__manager_8h-source.html#l00047">NL3D_QUADGRID_LIGHT_NUM_LEVEL</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00098">setMaxLightContribution</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="z524_1" doxytag="NL3D::CLightingManager::addDynamicLight"></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::CLightingManager::addDynamicLight </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPointLight.html">CPointLight</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>light</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+temp add a dynamic light to the manager.
+<p>
+light is added to the _LightQuadGrid. This method calls <a class="el" href="classNL3D_1_1CTransform.html#z847_0">CTransform::resetLighting</a>() for all models around the light.
+<p>
+Additionaly light are added to a list (a vector of pointer), see getDynamicLightList()
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00144">144</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00181">_DynamicLightList</a>, <a class="el" href="lighting__manager_8h-source.html#l00177">_LightQuadGrid</a>, <a class="el" href="lighting__manager_8h-source.html#l00179">_LightQuadGridRadiusLimit</a>, <a class="el" href="lighting__manager_8h-source.html#l00186">_NoAttLightRadius</a>, <a class="el" href="lighting__manager_8h-source.html#l00176">_StaticLightedModelQuadGrid</a>, and <a class="el" href="lighting__manager_8h-source.html#l00047">NL3D_QUADGRID_LIGHT_NUM_LEVEL</a>. </td>
+ </tr>
+</table>
+<a name="z524_0" doxytag="NL3D::CLightingManager::clearDynamicLights"></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::CLightingManager::clearDynamicLights </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+clear for the pass all the lights.
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00130">130</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00181">_DynamicLightList</a>, <a class="el" href="lighting__manager_8h-source.html#l00177">_LightQuadGrid</a>, and <a class="el" href="lighting__manager_8h-source.html#l00047">NL3D_QUADGRID_LIGHT_NUM_LEVEL</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CLightingManager::computeModelLightContributions"></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::CLightingManager::computeModelLightContributions </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>model</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CLightContribution.html">CLightContribution</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>lightContrib</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1ILogicInfo.html">ILogicInfo</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>logicInfo</em> = NULL</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the description of nearsest lights viewed for this model.
+<p>
+Dynamic lights are parsed to get list of lights, and <a class="el" href="classNL3D_1_1ILogicInfo.html">ILogicInfo</a>-&gt;getStaticLightDesc() is parsed too. Then, maxLights are returned, which may be a blended result of max influence light.
+<p>
+NB: model-&gt;_LightContribution is filled with real contributions of lights. NB: model is append to the _LightedModelList of each contributed light NB: this list is valid until model-&gt;isNeedUpdateLighting() is true.
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00249">249</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00188">_LightTransitionThreshold</a>, <a class="el" href="lighting__manager_8h-source.html#l00185">_MaxLightContribution</a>, <a class="el" href="lighting__manager_8h-source.html#l00187">_OutOfAttLightInfFactor</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00460">getDynamicPointLightList</a>, <a class="el" href="light__contribution_8h-source.html#l00042">NL3D_MAX_LIGHT_CONTRIBUTION</a>, and <a class="el" href="fast__floor_8h-source.html#l00125">NL3D::OptFastFloor</a>. </td>
+ </tr>
+</table>
+<a name="z525_0" doxytag="NL3D::CLightingManager::eraseStaticLightedModel"></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="structNL3D_1_1CLightingManager_1_1CQGItLightedModel.html">CLightingManager::CQGItLightedModel</a> NL3D::CLightingManager::eraseStaticLightedModel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structNL3D_1_1CLightingManager_1_1CQGItLightedModel.html">CQGItLightedModel</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ite</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+erase a lighted object to the _StaticLightedModelQuadGrid.
+<p>
+must do it at deletion of the model or when it leaves freeHRC state. NB: default <a class="el" href="structNL3D_1_1CLightingManager_1_1CQGItLightedModel.html">CQGItLightedModel</a> (ie NULL) can be passed in. <dl compact><dt><b>
+Returns: </b><dd>
+quadgrid.end(), ie NULL iterator. </dl>
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00210">210</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00176">_StaticLightedModelQuadGrid</a>, and <a class="el" href="lighting__manager_8h-source.html#l00047">NL3D_QUADGRID_LIGHT_NUM_LEVEL</a>. </td>
+ </tr>
+</table>
+<a name="z524_2" doxytag="NL3D::CLightingManager::getAllDynamicLightList"></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"> const std::vector&lt;<a class="el" href="classNL3D_1_1CPointLight.html">CPointLight</a>*&gt;&amp; NL3D::CLightingManager::getAllDynamicLightList </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+retrieve (for this pass only) list of all pointLights visible in scene.
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00126">126</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00181">_DynamicLightList</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NL3D::CLightingManager::getDynamicPointLightList"></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::CLightingManager::getDynamicPointLightList </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>worldPos</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="classNL3D_1_1CPointLightInfluence.html">CPointLightInfluence</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>lightList</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the list of dynamic light viewed from a position. append to lightList.
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00460">460</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00177">_LightQuadGrid</a>, and <a class="el" href="lighting__manager_8h-source.html#l00047">NL3D_QUADGRID_LIGHT_NUM_LEVEL</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00249">computeModelLightContributions</a>. </td>
+ </tr>
+</table>
+<a name="z523_7" doxytag="NL3D::CLightingManager::getLightTransitionThreshold"></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::CLightingManager::getLightTransitionThreshold </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00109">109</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00188">_LightTransitionThreshold</a>. </td>
+ </tr>
+</table>
+<a name="z523_1" doxytag="NL3D::CLightingManager::getMaxLightContribution"></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::CLightingManager::getMaxLightContribution </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00084">84</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00185">_MaxLightContribution</a>. </td>
+ </tr>
+</table>
+<a name="z523_3" doxytag="NL3D::CLightingManager::getNoAttLightRadius"></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::CLightingManager::getNoAttLightRadius </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00091">91</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00186">_NoAttLightRadius</a>. </td>
+ </tr>
+</table>
+<a name="z523_5" doxytag="NL3D::CLightingManager::getOutOfAttLightInfFactor"></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::CLightingManager::getOutOfAttLightInfFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00098">98</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00187">_OutOfAttLightInfFactor</a>. </td>
+ </tr>
+</table>
+<a name="z525_1" doxytag="NL3D::CLightingManager::insertStaticLightedModel"></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="structNL3D_1_1CLightingManager_1_1CQGItLightedModel.html">CLightingManager::CQGItLightedModel</a> NL3D::CLightingManager::insertStaticLightedModel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>model</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+insert a lighted object to the _StaticLightedModelQuadGrid.
+<p>
+must not be inserted before must do it only for static objects, ie when freeHRC state is validated (see <a class="el" href="classNL3D_1_1CTransform.html#b2">CTransform::update</a>()) NB: only lightable models with no AncestorSkeletonModel should be inserted
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00224">224</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00176">_StaticLightedModelQuadGrid</a>, and <a class="el" href="lighting__manager_8h-source.html#l00047">NL3D_QUADGRID_LIGHT_NUM_LEVEL</a>. </td>
+ </tr>
+</table>
+<a name="z523_6" doxytag="NL3D::CLightingManager::setLightTransitionThreshold"></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::CLightingManager::setLightTransitionThreshold </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>lightTransitionThreshold</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Advanced.
+<p>
+When a model is influenced by more light than allowed, or when it reach the limits of the light (attenuationEnd), the light can be darkened according to some threshold. The resultLightColor begin to fade when distModelToLight== attEnd- threshold*(attEnd-attBegin). when distModelToLight== 0, resultLightColor==Black. By default, this value is 0.1f. Setting higher values will smooth transition but will generally darken the global effects of lights. NB: clamp(value, 0, 1);
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00121">121</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00188">_LightTransitionThreshold</a>, and <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>. </td>
+ </tr>
+</table>
+<a name="z523_0" doxytag="NL3D::CLightingManager::setMaxLightContribution"></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::CLightingManager::setMaxLightContribution </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>nlights</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set the max number of point light that can influence a model.
+<p>
+NB: clamped by NL3D_MAX_LIGHT_CONTRIBUTION Default is 3. NB: the sun contribution is not taken into account
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00098">98</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00185">_MaxLightContribution</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, and <a class="el" href="light__contribution_8h-source.html#l00042">NL3D_MAX_LIGHT_CONTRIBUTION</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00063">CLightingManager</a>. </td>
+ </tr>
+</table>
+<a name="z523_2" doxytag="NL3D::CLightingManager::setNoAttLightRadius"></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::CLightingManager::setNoAttLightRadius </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>noAttLightRadius</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Advanced.
+<p>
+When a light has no attenuation, it's still inserted in a quadgrid with some radius and won't influence models beyond. You can setup this radius with this method. Default is 1000m. NB: <a class="el" href="debug_8h.html#a6">nlassert</a>(noAttLightRadius&gt;0);
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00105">105</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00186">_NoAttLightRadius</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z523_4" doxytag="NL3D::CLightingManager::setOutOfAttLightInfFactor"></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::CLightingManager::setOutOfAttLightInfFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>outOfAttLightInfFactor</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Advanced.
+<p>
+When a model is out of [AttBegin, AttEnd] of a light, the computed influence of the light used to choose "best lights" is not constant, and is a function of distance multiplied by a factor you can setup here. Default is 0.1f and is good for lights with att like (50, 100) (arbitrary).
+<p>
+Definition at line <a class="el" href="lighting__manager_8cpp-source.html#l00113">113</a> of file <a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a>.
+<p>
+References <a class="el" href="lighting__manager_8h-source.html#l00187">_OutOfAttLightInfFactor</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o3" doxytag="NL3D::CLightingManager::_DynamicLightList"></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::vector&lt;<a class="el" href="classNL3D_1_1CPointLight.html">CPointLight</a>*&gt; NL3D::CLightingManager::_DynamicLightList<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00181">181</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00144">addDynamicLight</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00130">clearDynamicLights</a>, and <a class="el" href="lighting__manager_8h-source.html#l00126">getAllDynamicLightList</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CLightingManager::_LightQuadGrid"></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_1CQuadGrid.html">CQuadGrid</a>&lt;<a class="el" href="structNL3D_1_1CLightingManager_1_1CPointLightInfo.html">CPointLightInfo</a>&gt; NL3D::CLightingManager::_LightQuadGrid[NL3D_QUADGRID_LIGHT_NUM_LEVEL]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00177">177</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00144">addDynamicLight</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00130">clearDynamicLights</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00063">CLightingManager</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00460">getDynamicPointLightList</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CLightingManager::_LightQuadGridRadiusLimit"></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::CLightingManager::_LightQuadGridRadiusLimit[NL3D_QUADGRID_LIGHT_NUM_LEVEL]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00179">179</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00144">addDynamicLight</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00063">CLightingManager</a>. </td>
+ </tr>
+</table>
+<a name="z526_3" doxytag="NL3D::CLightingManager::_LightTransitionThreshold"></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::CLightingManager::_LightTransitionThreshold<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00188">188</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00063">CLightingManager</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00249">computeModelLightContributions</a>, <a class="el" href="lighting__manager_8h-source.html#l00109">getLightTransitionThreshold</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00121">setLightTransitionThreshold</a>. </td>
+ </tr>
+</table>
+<a name="z526_0" doxytag="NL3D::CLightingManager::_MaxLightContribution"></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::CLightingManager::_MaxLightContribution<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00185">185</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00249">computeModelLightContributions</a>, <a class="el" href="lighting__manager_8h-source.html#l00084">getMaxLightContribution</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00098">setMaxLightContribution</a>. </td>
+ </tr>
+</table>
+<a name="z526_1" doxytag="NL3D::CLightingManager::_NoAttLightRadius"></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::CLightingManager::_NoAttLightRadius<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00186">186</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00144">addDynamicLight</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00063">CLightingManager</a>, <a class="el" href="lighting__manager_8h-source.html#l00091">getNoAttLightRadius</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00105">setNoAttLightRadius</a>. </td>
+ </tr>
+</table>
+<a name="z526_2" doxytag="NL3D::CLightingManager::_OutOfAttLightInfFactor"></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::CLightingManager::_OutOfAttLightInfFactor<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00187">187</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00063">CLightingManager</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00249">computeModelLightContributions</a>, <a class="el" href="lighting__manager_8h-source.html#l00098">getOutOfAttLightInfFactor</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00113">setOutOfAttLightInfFactor</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CLightingManager::_StaticLightedModelQuadGrid"></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_1CQuadGrid.html">CQuadGrid</a>&lt;<a class="el" href="classNL3D_1_1CTransform.html">CTransform</a>*&gt; NL3D::CLightingManager::_StaticLightedModelQuadGrid[NL3D_QUADGRID_LIGHT_NUM_LEVEL]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="lighting__manager_8h-source.html#l00176">176</a> of file <a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a>.
+<p>
+Referenced by <a class="el" href="lighting__manager_8cpp-source.html#l00144">addDynamicLight</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00063">CLightingManager</a>, <a class="el" href="lighting__manager_8cpp-source.html#l00210">eraseStaticLightedModel</a>, and <a class="el" href="lighting__manager_8cpp-source.html#l00224">insertStaticLightedModel</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="lighting__manager_8h-source.html">lighting_manager.h</a><li><a class="el" href="lighting__manager_8cpp-source.html">lighting_manager.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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>