From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/zone__lighter_8cpp.html | 581 +++++++++++++++++++++++++++++++ 1 file changed, 581 insertions(+) create mode 100644 docs/doxygen/nel/zone__lighter_8cpp.html (limited to 'docs/doxygen/nel/zone__lighter_8cpp.html') diff --git a/docs/doxygen/nel/zone__lighter_8cpp.html b/docs/doxygen/nel/zone__lighter_8cpp.html new file mode 100644 index 00000000..857b055b --- /dev/null +++ b/docs/doxygen/nel/zone__lighter_8cpp.html @@ -0,0 +1,581 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

zone_lighter.cpp File Reference

Class to light zones. +More... +

+#include "std3d.h"
+#include "3d/zone_lighter.h"
+#include "3d/landscape.h"
+#include "3d/patchuv_locator.h"
+#include "3d/shape.h"
+#include "3d/mesh.h"
+#include "3d/mesh_multi_lod.h"
+#include "3d/mesh_mrm.h"
+#include "3d/transform_shape.h"
+#include "3d/water_shape.h"
+#include "3d/texture_file.h"
+#include "nel/misc/common.h"
+#include "nel/misc/thread.h"
+#include "nel/misc/path.h"
+#include "nel/misc/file.h"
+#include "nel/misc/aabbox.h"
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + +

Compounds

struct  CTileOfPatch
 a struct that helps us to know which tile we've processed. More...


Defines

#define NL3D_ZONE_LIGHTER_CUBE_GRID_SIZE   16
#define AllFront   0
#define AllBack   1
#define Clipped   2
#define BLUR_SIZE   4

Typedefs

typedef std::map< CTileOfPatch,
+ NLMISC::CAABBox
TTileOfPatchMap
 A set of tiles from patch and their bbox. More...


Functions

void NEL3DCalcBase (CVector &direction, CMatrix &matrix)
float easineasout (float x)
float easineasoutC2 (float x)
std::string getDir (const std::string &path)
std::string getName (const std::string &path)
std::string getExt (const std::string &path)
bool operator< (const CTileOfPatch &lhs, const CTileOfPatch &rhs)
 for map insertion of CTileOfPatch structs. More...


Variables

const sint deltaDirection [8][2]
+


Detailed Description

+Class to light zones. +

+

+Id:
+ zone_lighter.cpp,v 1.22 2002/08/21 09:39:54 lecroart Exp
+

+ +

+Definition in file zone_lighter.cpp.


Define Documentation

+

+ + + + +
+ + +
#define AllBack   1 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 922 of file zone_lighter.cpp. +

+Referenced by NL3D::CZoneLighter::testRaytrace.

+

+ + + + +
+ + +
#define AllFront   0 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 921 of file zone_lighter.cpp.

+

+ + + + +
+ + +
#define BLUR_SIZE   4 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define Clipped   2 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 923 of file zone_lighter.cpp. +

+Referenced by NL3D::CZoneLighter::testRaytrace.

+

+ + + + +
+ + +
#define NL3D_ZONE_LIGHTER_CUBE_GRID_SIZE   16 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 86 of file zone_lighter.cpp. +

+Referenced by NL3D::CZoneLighter::compilePointLightRT.

+


Typedef Documentation

+

+ + + + +
+ + +
typedef std::map<CTileOfPatch, NLMISC::CAABBox> TTileOfPatchMap +
+
+ + + + + +
+   + + +

+A set of tiles from patch and their bbox. +

+ +

+Definition at line 3202 of file zone_lighter.cpp. +

+Referenced by NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater.

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + +
float easineasout float   x
+
+ + + + + +
+   + + +

+ +

+Definition at line 1352 of file zone_lighter.cpp. +

+References x, and y. +

+Referenced by NL3D::CZoneLighter::buildZoneInformation.

+

+ + + + +
+ + + + + + + + + + +
float easineasoutC2 float   x
+
+ + + + + +
+   + + +

+ +

+Definition at line 1364 of file zone_lighter.cpp. +

+References x, and y.

+

+ + + + +
+ + + + + + + + + + +
std::string getDir const std::string &   path [static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 2525 of file zone_lighter.cpp. +

+Referenced by getExt, and getName.

+

+ + + + +
+ + + + + + + + + + +
std::string getExt const std::string &   path [static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 2567 of file zone_lighter.cpp. +

+References getDir, getName, and nlassert. +

+Referenced by NL3D::CZoneLighter::lightWater.

+

+ + + + +
+ + + + + + + + + + +
std::string getName const std::string &   path [static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 2546 of file zone_lighter.cpp. +

+References getDir, and nlassert. +

+Referenced by NL3D::CInstanceGroup::getDynamicPortals, getExt, and NL3D::CMeshBaseInstance::registerToChannelMixer.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NEL3DCalcBase CVector &   direction,
CMatrix &   matrix
+
+ + + + + +
+   + + +

+ +

+Definition at line 177 of file zone_lighter.cpp. +

+References matrix. +

+Referenced by NL3D::CInstanceLighter::computeSunContribution, and NL3D::CZoneLighter::light.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool operator< const CTileOfPatch  lhs,
const CTileOfPatch  rhs
[inline, static]
+
+ + + + + +
+   + + +

+for map insertion of CTileOfPatch structs. +

+ +

+Definition at line 3194 of file zone_lighter.cpp. +

+Referenced by NLAIAGENT::CAgentNumber::operator<.

+


Variable Documentation

+

+ + + + +
+ + +
const sint deltaDirection[8][2] [static] +
+
+ + + + + +
+   + + +

+Initial value:

+{
+        {1, 0},
+        {1, 1},
+        {0, 1},
+        {-1, 1},
+        {-1, 0},
+        {-1, -1},
+        {0, -1},
+        {1, -1},
+}
+

+Definition at line 137 of file zone_lighter.cpp. +

+Referenced by NL3D::CZoneLighter::calcSkyContribution.

+ + + +
                                                                                                                                                                    +

+ + -- cgit v1.2.1