# 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  

vegetable_def.h File Reference

Some global definitions for CVegetable*. More...

#include "nel/misc/types_nl.h"

Go to the source code of this file.

Namespaces

namespace  NL3D

Defines

#define NL3D_VEGETABLE_NRDRPASS   5
#define NL3D_VEGETABLE_RDRPASS_LIGHTED   0
#define NL3D_VEGETABLE_RDRPASS_LIGHTED_2SIDED   1
#define NL3D_VEGETABLE_RDRPASS_UNLIT   2
#define NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED   3
#define NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT   4
#define NL3D_VEGETABLE_VP_LUT_SIZE   64
#define NL3D_VEGETABLE_BLOCK_NUMDIST   5
 For Landscape Vegetable: Distance Types are: 10m, 20m, 30m, 40m, 50m. More...

#define NL3D_VEGETABLE_BLOCK_ELTDIST   10.0f
#define NL3D_VEGETABLE_BLOCK_BLEND_TRANSITION_DIST   10.0f
 Blend apperance transition. More...

#define NL3D_VEGETABLE_NUM_QUADRANT   8
 The number of Quadrant for vegetable sorting. More...

#define NL3D_VEGETABLE_FREQUENCY_FACTOR_PREC   16
 The precision of frequency factor: 1/16. More...


Detailed Description

Some global definitions for CVegetable*.

Id:
vegetable_def.h,v 1.6 2001/12/12 13:29:15 berenguier Exp

Definition in file vegetable_def.h.


Define Documentation

#define NL3D_VEGETABLE_BLOCK_BLEND_TRANSITION_DIST   10.0f
 

Blend apperance transition.

Definition at line 53 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::addInstance, and NL3D::CVegetableManager::setupVertexProgramConstants.

#define NL3D_VEGETABLE_BLOCK_ELTDIST   10.0f
 

Definition at line 51 of file vegetable_def.h.

Referenced by NL3D::CLVBSqrDistLUT::CLVBSqrDistLUT, and NL3D::CPatch::generateTileVegetable.

#define NL3D_VEGETABLE_BLOCK_NUMDIST   5
 

For Landscape Vegetable: Distance Types are: 10m, 20m, 30m, 40m, 50m.

Definition at line 50 of file vegetable_def.h.

Referenced by NL3D::CTileVegetableDesc::build, NL3D::CLandscapeVegetableBlock::CLandscapeVegetableBlock, NL3D::CTileVegetableDesc::clear, NL3D::CLVBSqrDistLUT::CLVBSqrDistLUT, NL3D::CTileVegetableDesc::getVegetableList, NL3D::CTileVegetableDesc::getVegetableSeed, NL3D::CTileVegetableDesc::registerToManager, NL3D::CLandscapeVegetableBlock::release, and NL3D::CTileVegetableDesc::serial.

#define NL3D_VEGETABLE_FREQUENCY_FACTOR_PREC   16
 

The precision of frequency factor: 1/16.

Definition at line 61 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::addInstance, and NL3D::CVegetableManager::render.

#define NL3D_VEGETABLE_NRDRPASS   5
 

Definition at line 37 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::CVegetableManager, NL3D::CVegetableManager::deleteIg, NL3D::CVegetableManager::doubleSidedRdrPass, NL3D::CVegetableInstanceGroup::isEmpty, NL3D::CVegetableManager::render, NL3D::CVegetableManager::reserveIgCompile, NL3D::CVegetableManager::updateDriver, NL3D::CVegetableManager::updateInstanceLighting, NL3D::CVegetableManager::updateLightingIGPart, and NL3D::CVegetableManager::~CVegetableManager.

#define NL3D_VEGETABLE_NUM_QUADRANT   8
 

The number of Quadrant for vegetable sorting.

Definition at line 57 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::addInstance, NL3D::CVegetableQuadrant::CVegetableQuadrant, NL3D::CVegetableManager::render, NL3D::CVegetableManager::reserveIgCompile, and NL3D::CVegetableSortBlock::updateSortBlock.

#define NL3D_VEGETABLE_RDRPASS_LIGHTED   0
 

Definition at line 38 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::getRdrPassInfoForShape, NL3D::CVegetableManager::getVBAllocatorForRdrPassAndVBHardMode, and NL3D::CVegetableManager::initVertexProgram.

#define NL3D_VEGETABLE_RDRPASS_LIGHTED_2SIDED   1
 

Definition at line 39 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::doubleSidedRdrPass, NL3D::CVegetableManager::getRdrPassInfoForShape, NL3D::CVegetableManager::getVBAllocatorForRdrPassAndVBHardMode, and NL3D::CVegetableManager::initVertexProgram.

#define NL3D_VEGETABLE_RDRPASS_UNLIT   2
 

Definition at line 40 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::getRdrPassInfoForShape, NL3D::CVegetableManager::getVBAllocatorForRdrPassAndVBHardMode, and NL3D::CVegetableManager::initVertexProgram.

#define NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED   3
 

Definition at line 41 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::doubleSidedRdrPass, NL3D::CVegetableManager::getRdrPassInfoForShape, NL3D::CVegetableManager::getVBAllocatorForRdrPassAndVBHardMode, and NL3D::CVegetableManager::initVertexProgram.

#define NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT   4
 

Definition at line 42 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::addInstance, NL3D::CVegetableManager::createIg, NL3D::CVegetableManager::doubleSidedRdrPass, NL3D::CVegetableManager::getRdrPassInfoForShape, NL3D::CVegetableManager::getVBAllocatorForRdrPassAndVBHardMode, NL3D::CVegetableManager::initVertexProgram, NL3D::CVegetableManager::render, NL3D::CVegetableBlendLayerModel::render, NL3D::CVegetableManager::reserveIgCompile, NL3D::CVegetableManager::setupRenderStateForBlendLayerModel, and NL3D::CVegetableSortBlock::updateSortBlock.

#define NL3D_VEGETABLE_VP_LUT_SIZE   64
 

Definition at line 46 of file vegetable_def.h.

Referenced by NL3D::CVegetableManager::CVegetableManager, NL3D::CVegetableManager::render, and NL3D::CVegetableManager::setupVertexProgramConstants.