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/a04733.html | 439 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 439 insertions(+) create mode 100644 docs/doxygen/nel/a04733.html (limited to 'docs/doxygen/nel/a04733.html') diff --git a/docs/doxygen/nel/a04733.html b/docs/doxygen/nel/a04733.html new file mode 100644 index 00000000..f2b921d7 --- /dev/null +++ b/docs/doxygen/nel/a04733.html @@ -0,0 +1,439 @@ + + +NeL: patch.h File Reference + + + +
+

patch.h File Reference


Detailed Description

+
Id
patch.h,v 1.36 2004/02/06 14:37:44 besson Exp
+

+

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

+Definition in file patch.h. +

+#include "nel/misc/types_nl.h"
+#include "nel/misc/vector.h"
+#include "nel/misc/vector_2f.h"
+#include "nel/misc/rgba.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 "nel/misc/object_vector.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 NL3D_NOISE_MAX   1
#define NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK   (1<<NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK_SHIFT)
#define NL3D_PATCH_VEGETABLE_NUM_TESSBLOCK_PER_CLIPBLOCK_SHIFT   1
#define NL_BLOCK_LUMEL_COMPRESSED_SIZE   8
#define NL_LUMEL_BY_TILE   (1<<NL_LUMEL_BY_TILE_SHIFT)
#define NL_LUMEL_BY_TILE_SHIFT   2
#define NL_MAX_TILES_BY_PATCH_EDGE   (1<<NL_MAX_TILES_BY_PATCH_EDGE_SHIFT)
#define NL_MAX_TILES_BY_PATCH_EDGE_SHIFT   4
#define NL_PATCH_BLOCK_MAX_QUAD   4
#define NL_PATCH_BLOCK_MAX_VERTEX   (NL_PATCH_BLOCK_MAX_QUAD+1)
#define NL_PATCH_FAR0_ROTATED   0x1
#define NL_PATCH_FAR1_ROTATED   0x2
#define NL_PATCH_SMOOTH_FLAG_MASK   0x3c
#define NL_PATCH_SMOOTH_FLAG_SHIFT   0x2
+


Define Documentation

+

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

+ +

+Definition at line 89 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 98 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 97 of file patch.h. +

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

+

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

+ +

+Definition at line 61 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 60 of file patch.h. +

+Referenced by NL3D::CPatch::addTileLightmapEdgeWithTLI(), NL3D::CPatch::addTileLightmapWithTLI(), NL3D::bilinearColor(), 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 59 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 53 of file patch.h. +

+Referenced by NL3D::CZoneLighter::buildZoneInformation(), NL3D::CTextureFar::CTextureFar(), and NL3D_expandLightmap().

+

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

+ +

+Definition at line 52 of file patch.h.

+

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

+ +

+Definition at line 64 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 65 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 54 of file patch.h. +

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

+

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

+ +

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

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

+

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

+ +

+Definition at line 57 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 56 of file patch.h. +

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

+


Generated on Tue Mar 16 06:43:11 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1