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/patch_8h.html | 487 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 487 insertions(+) create mode 100644 docs/doxygen/nel/patch_8h.html (limited to 'docs/doxygen/nel/patch_8h.html') diff --git a/docs/doxygen/nel/patch_8h.html b/docs/doxygen/nel/patch_8h.html new file mode 100644 index 00000000..950bb060 --- /dev/null +++ b/docs/doxygen/nel/patch_8h.html @@ -0,0 +1,487 @@ + + + + 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  
+

patch.h File Reference

<File description>. +More... +

+#include "nel/misc/types_nl.h"
+#include "nel/misc/vector.h"
+#include "nel/misc/vector_2f.h"
+#include "3d/tessellation.h"
+#include "nel/misc/aabbox.h"
+#include "nel/misc/bsphere.h"
+#include "nel/misc/triangle.h"
+#include "nel/misc/geom_ext.h"
+#include "3d/tile_element.h"
+#include "3d/tile_color.h"
+#include "3d/tess_block.h"
+#include "3d/tile_light_influence.h"
+#include "nel/3d/point_light_influence.h"
+ +

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

Namespaces

namespace  NL3D

Defines

#define NL_MAX_TILES_BY_PATCH_EDGE_SHIFT   4
#define NL_MAX_TILES_BY_PATCH_EDGE   (1<<NL_MAX_TILES_BY_PATCH_EDGE_SHIFT)
#define NL_PATCH_FAR0_ROTATED   0x1
#define NL_PATCH_FAR1_ROTATED   0x2
#define NL_PATCH_SMOOTH_FLAG_SHIFT   0x2
#define NL_PATCH_SMOOTH_FLAG_MASK   0x3c
#define NL_LUMEL_BY_TILE_SHIFT   2
#define NL_LUMEL_BY_TILE   (1<<NL_LUMEL_BY_TILE_SHIFT)
#define NL_BLOCK_LUMEL_COMPRESSED_SIZE   8
#define NL_PATCH_BLOCK_MAX_QUAD   4
#define NL_PATCH_BLOCK_MAX_VERTEX   (NL_PATCH_BLOCK_MAX_QUAD+1)
#define NL3D_NOISE_MAX   1
#define NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK_SHIFT   1
#define NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK   (1<<NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK_SHIFT)
+


Detailed Description

+<File description>. +

+

+Id:
+ patch.h,v 1.32 2002/08/26 13:01:42 berenguier Exp
+

+

+Todo:
+yoyo: - "UV correction" infos. - NOISE, or displacement map (ptr/index).
+

+ +

+Definition in file patch.h.


Define Documentation

+

+ + + + +
+ + +
#define NL3D_NOISE_MAX   1 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 86 of file patch.h. +

+Referenced by NL3D::CPatch::buildBBoxFromBezierPatch, NL3D::CZone::computeBBScaleBias, and NL3D::CPatch::computeDisplaceRawInteger.

+

+ + + + +
+ + +
#define NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK   (1<<NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK_SHIFT) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 95 of file patch.h. +

+Referenced by NL3D::CPatch::addRefTessBlocks, and NL3D::CPatch::createVegetableBlock.

+

+ + + + +
+ + +
#define NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK_SHIFT   1 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 94 of file patch.h. +

+Referenced by NL3D::CPatch::addRefTessBlocks, and NL3D::CPatch::createVegetableBlock.

+

+ + + + +
+ + +
#define NL_BLOCK_LUMEL_COMPRESSED_SIZE   8 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 59 of file patch.h. +

+Referenced by NL3D::CPatch::computeTileLightmapEdgePrecomputed, NL3D::CPatch::computeTileLightmapPixelPrecomputed, NL3D::CPatch::computeTileLightmapPrecomputed, NL3D::CPatch::getTileLumelmapPixelPrecomputed, NL3D::CPatch::getTileLumelmapPrecomputed, NL3D::CPatch::packShadowMap, and NL3D::CPatch::unpackShadowMap.

+

+ + + + +
+ + +
#define NL_LUMEL_BY_TILE   (1<<NL_LUMEL_BY_TILE_SHIFT) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 58 of file patch.h. +

+Referenced by NL3D::CPatch::addTileLightmapEdgeWithTLI, NL3D::CPatch::addTileLightmapWithTLI, NL3D::CZone::build, NL3D::CZoneLighter::buildZoneInformation, NL3D::CPatch::computeNearBlockLightmap, NL3D::CPatch::computeTileLightmapAutomatic, NL3D::CPatch::computeTileLightmapEdgeAutomatic, NL3D::CPatch::computeTileLightmapPixelAroundCorner, NL3D::CPatch::computeTileLightmapPixelAutomatic, NL3D::CPatch::computeTileLightmapPrecomputed, NL3D::CPatch::generateTileVegetable, NL3D::CPatch::getLumel, NL3D::CPatch::getTileLumelmapPrecomputed, NL3D::CPatch::modulateTileLightmapEdgeWithTileColors, NL3D::CPatch::modulateTileLightmapWithTileColors, NL3D_expandLightmap, NL3D::CPatch::packShadowMap, NL3D::CPatch::resetCompressedLumels, and NL3D::CPatch::unpackShadowMap.

+

+ + + + +
+ + +
#define NL_LUMEL_BY_TILE_SHIFT   2 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 57 of file patch.h. +

+Referenced by NL3D::CPatch::computeNearBlockLightmap, NL3D::CPatch::computeTileLightmapPixelAroundCorner, NL3D::CPatch::computeTileLightmapPrecomputed, NL3D::CPatch::generateTileVegetable, NL3D::CPatch::getLumel, and NL3D::CPatch::getTileLumelmapPrecomputed.

+

+ + + + +
+ + +
#define NL_MAX_TILES_BY_PATCH_EDGE   (1<<NL_MAX_TILES_BY_PATCH_EDGE_SHIFT) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 51 of file patch.h. +

+Referenced by NL3D::CZoneLighter::buildZoneInformation, and NL3D_expandLightmap.

+

+ + + + +
+ + +
#define NL_MAX_TILES_BY_PATCH_EDGE_SHIFT   4 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file patch.h.

+

+ + + + +
+ + +
#define NL_PATCH_BLOCK_MAX_QUAD   4 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 62 of file patch.h. +

+Referenced by NL3D::CPatch::addPatchBlocksInBBoxRecurs, NL3D::CLandscapeCollisionGrid::build, NL3D::CPatchQuadBlock::buildTileTriangles, and NL3D::CPatch::fillPatchQuadBlock.

+

+ + + + +
+ + +
#define NL_PATCH_BLOCK_MAX_VERTEX   (NL_PATCH_BLOCK_MAX_QUAD+1) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 63 of file patch.h. +

+Referenced by NL3D::CLandscapeCollisionGrid::build, NL3D::CPatchQuadBlock::buildTileTriangles, NL3D::CVisualCollisionEntity::displayDebugGrid, and NL3D::CPatch::fillPatchQuadBlock.

+

+ + + + +
+ + +
#define NL_PATCH_FAR0_ROTATED   0x1 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 52 of file patch.h. +

+Referenced by NL3D::CPatch::computeNewFar, and NL3D::CPatch::fillFar0VertexVB.

+

+ + + + +
+ + +
#define NL_PATCH_FAR1_ROTATED   0x2 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 53 of file patch.h. +

+Referenced by NL3D::CPatch::computeNewFar, and NL3D::CPatch::fillFar1VertexVB.

+

+ + + + +
+ + +
#define NL_PATCH_SMOOTH_FLAG_MASK   0x3c +
+
+ + + + + +
+   + + +

+ +

+Definition at line 55 of file patch.h. +

+Referenced by NL3D::CZone::build, NL3D::CZone::retrieve, and NL3D::CPatch::serial.

+

+ + + + +
+ + +
#define NL_PATCH_SMOOTH_FLAG_SHIFT   0x2 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 54 of file patch.h. +

+Referenced by NL3D::CZone::build, NL3D::CPatch::getSmoothFlag, NL3D::CZone::retrieve, and NL3D::CPatch::setSmoothFlag.

+ + + +
                                                                                                                                                                    +

+ + -- cgit v1.2.1