landscape_def.h File Reference


Detailed Description

Global Definitions for Landscape

Id
landscape_def.h,v 1.11 2002/08/26 13:01:42 berenguier Exp

Definition in file landscape_def.h.

#include "nel/misc/types_nl.h"
#include "nel/misc/bsphere.h"
#include "3d/landscapevb_info.h"

Go to the source code of this file.

Namespaces

namespace  NL3D

Defines

#define NL3D_LANDSCAPE_DLM_HEIGHT   256
#define NL3D_LANDSCAPE_DLM_WIDTH   512
#define NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_LIGHTED   15000
#define NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_MAX   (max(NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_UNLIT, NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_LIGHTED))
#define NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_UNLIT   60000
 For Landscape Vegetable: Maximum AGP load (in number of vertices allowed ).

#define NL3D_MAX_TILE_FACE   NL3D_MAX_TILE_PASS-1
#define NL3D_MAX_TILE_PASS   5
#define NL3D_PATCH_TILE_AREA   4.f
#define NL3D_PATCH_TILE_RADIUS   1.f
#define NL3D_REFINE_MERGE_THRESHOLD   2.0f
#define NL3D_TILE_PASS_ADD   3
#define NL3D_TILE_PASS_LIGHTMAP   4
#define NL3D_TILE_PASS_RGB0   0
#define NL3D_TILE_PASS_RGB1   1
#define NL3D_TILE_PASS_RGB2   2
#define NL_DLM_TILE_RES


Define Documentation

#define NL3D_LANDSCAPE_DLM_HEIGHT   256
 

Definition at line 80 of file landscape_def.h.

Referenced by NL3D::CLandscape::CLandscape(), and NL3D::CLandscape::getDynamicLightingMemoryLoad().

#define NL3D_LANDSCAPE_DLM_WIDTH   512
 

Definition at line 79 of file landscape_def.h.

Referenced by NL3D::CLandscape::CLandscape(), and NL3D::CLandscape::getDynamicLightingMemoryLoad().

#define NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_LIGHTED   15000
 

Definition at line 66 of file landscape_def.h.

Referenced by NL3D::CLandscape::CLandscape().

#define NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_MAX   (max(NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_UNLIT, NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_LIGHTED))
 

Definition at line 67 of file landscape_def.h.

Referenced by NL3D::CLandscape::setDriver().

#define NL3D_LANDSCAPE_VEGETABLE_MAX_AGP_VERTEX_UNLIT   60000
 

For Landscape Vegetable: Maximum AGP load (in number of vertices allowed ).

Definition at line 65 of file landscape_def.h.

Referenced by NL3D::CLandscape::CLandscape().

#define NL3D_MAX_TILE_FACE   NL3D_MAX_TILE_PASS-1
 

Definition at line 48 of file landscape_def.h.

Referenced by NL3D::CTessFace::allocTileUv(), NL3D::CPatch::appendFaceToTileRenderList(), NL3D::CTessFace::buildTileFaces(), NL3D::CTessFace::checkCreateFillTileVB(), NL3D::CTessFace::checkFillTileVB(), NL3D::CTessFace::computeTileMaterial(), NL3D::CTessFace::copyTileUv(), NL3D::CTessBlock::createFaceVectorTile(), NL3D::CTessFace::CTessFace(), NL3D::CTileMaterial::CTileMaterial(), NL3D::CTessBlock::deleteFaceVectorTile(), NL3D::CTessFace::deleteTileFaces(), NL3D::CTessFace::deleteTileUv(), NL3D::CTessFace::emptyTileFaces(), NL3D::CTessFace::heritTileUv(), NL3D::CPatch::recreateTileUvs(), NL3D::CTessBlock::refillFaceVectorTile(), NL3D::CPatch::removeFaceFromTileRenderList(), and NL3D::CTessFace::updateNearFarVertices().

#define NL3D_MAX_TILE_PASS   5
 

Definition at line 46 of file landscape_def.h.

Referenced by NL3D::CTileMaterial::appendTileToEachRenderPass(), NL3D::CPatchRdrPass::clearAllRenderList(), NL3D::CTessFace::computeTileMaterial(), and NL3D::CLandscape::render().

#define NL3D_PATCH_TILE_AREA   4.f
 

Definition at line 72 of file landscape_def.h.

Referenced by NL3D::CPatch::generateTileVegetable().

#define NL3D_PATCH_TILE_RADIUS   1.f
 

Definition at line 74 of file landscape_def.h.

Referenced by NL3D::CLandscapeVegetableBlock::init().

#define NL3D_REFINE_MERGE_THRESHOLD   2.0f
 

Definition at line 60 of file landscape_def.h.

Referenced by NL3D::CTessFace::updateRefineMerge().

#define NL3D_TILE_PASS_ADD   3
 

Definition at line 53 of file landscape_def.h.

Referenced by NL3D::CTessFace::computeTileMaterial(), NL3D::CPatch::getTileRenderPass(), NL3D::CPatch::getTileUvInfo(), and NL3D::CLandscape::render().

#define NL3D_TILE_PASS_LIGHTMAP   4
 

Definition at line 54 of file landscape_def.h.

Referenced by NL3D::CTessFace::computeTileMaterial(), NL3D::CLandscape::render(), and NL3D::CTileMaterial::renderTilePassLightmap().

#define NL3D_TILE_PASS_RGB0   0
 

Definition at line 50 of file landscape_def.h.

Referenced by NL3D::CTessFace::allocTileUv(), NL3D::CTessFace::checkCreateFillTileVB(), NL3D::CTessFace::checkFillTileVB(), NL3D::CTessFace::computeTileMaterial(), NL3D::CTessFace::copyTileUv(), NL3D::CTessFace::deleteTileUv(), NL3D::CPatch::getTileRenderPass(), NL3D::CPatch::getTileUvInfo(), NL3D::CTessFace::heritTileUv(), NL3D::CLandscape::render(), NL3D::CTileMaterial::renderTilePassLightmap(), and NL3D::CTileMaterial::renderTilePassRGB0().

#define NL3D_TILE_PASS_RGB1   1
 

Definition at line 51 of file landscape_def.h.

Referenced by NL3D::CTessFace::computeTileMaterial(), NL3D::CPatch::getTileRenderPass(), NL3D::CPatch::getTileUvInfo(), and NL3D::CLandscape::render().

#define NL3D_TILE_PASS_RGB2   2
 

Definition at line 52 of file landscape_def.h.

Referenced by NL3D::CTessFace::computeTileMaterial(), NL3D::CPatch::getTileRenderPass(), NL3D::CPatch::getTileUvInfo(), and NL3D::CLandscape::render().

#define NL_DLM_TILE_RES
 

Definition at line 84 of file landscape_def.h.


Generated on Tue Mar 16 06:42:37 2004 for NeL by doxygen 1.3.6