# 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  

texture_far.h File Reference

<File description>. More...

#include "nel/misc/types_nl.h"
#include "3d/texture.h"
#include "nel/misc/rect.h"

Go to the source code of this file.

Namespaces

namespace  NL3D
namespace  NLMISC

Compounds

struct  NL3D_CComputeTileFar
struct  NL3D_CExpandLightmap

Defines

#define NL_NUM_FAR_PATCHES_BY_EDGE_SHIFT   2
#define NL_NUM_FAR_PATCHES_BY_EDGE   (1<<NL_NUM_FAR_PATCHES_BY_EDGE_SHIFT)
#define NL_NUM_FAR_PATCHES_BY_EDGE_MASK   (NL_NUM_FAR_PATCHES_BY_EDGE-1)
#define NL_NUM_FAR_PATCHES_BY_TEXTURE   (NL_NUM_FAR_PATCHES_BY_EDGE*NL_NUM_FAR_PATCHES_BY_EDGE)

Functions

void NL3D_expandLightmap (const NL3D_CExpandLightmap *pLightmap)
void NL3D_drawFarTileInFarTexture (const NL3D_CComputeTileFar *pTileFar)
void NL3D_drawFarTileInFarTextureAdditive (const NL3D_CComputeTileFar *pTileFar)
void NL3D_drawFarTileInFarTextureAlpha (const NL3D_CComputeTileFar *pTileFar)
void NL3D_drawFarTileInFarTextureAdditiveAlpha (const NL3D_CComputeTileFar *pTileFar)


Detailed Description

<File description>.

Id:
texture_far.h,v 1.5 2002/08/21 17:18:19 berenguier Exp

Definition in file texture_far.h.


Define Documentation

#define NL_NUM_FAR_PATCHES_BY_EDGE   (1<<NL_NUM_FAR_PATCHES_BY_EDGE_SHIFT)
 

Definition at line 37 of file texture_far.h.

Referenced by NL3D::CTextureFar::doGenerate, NL3D::CTextureFar::rebuildRectangle, and NL3D::CTextureFar::setSizeOfFarPatch.

#define NL_NUM_FAR_PATCHES_BY_EDGE_MASK   (NL_NUM_FAR_PATCHES_BY_EDGE-1)
 

Definition at line 38 of file texture_far.h.

Referenced by NL3D::CTextureFar::addPatch, and NL3D::CTextureFar::touchPatch.

#define NL_NUM_FAR_PATCHES_BY_EDGE_SHIFT   2
 

Definition at line 34 of file texture_far.h.

Referenced by NL3D::CTextureFar::addPatch, NL3D::CTextureFar::doGenerate, NL3D::CTextureFar::rebuildRectangle, and NL3D::CTextureFar::touchPatch.

#define NL_NUM_FAR_PATCHES_BY_TEXTURE   (NL_NUM_FAR_PATCHES_BY_EDGE*NL_NUM_FAR_PATCHES_BY_EDGE)
 

Definition at line 39 of file texture_far.h.

Referenced by NL3D::CTextureFar::addPatch, NL3D::CTextureFar::removePatch, NL3D::CTextureFar::setSizeOfFarPatch, NL3D::CTextureFar::touchPatch, and NL3D::CLandscape::updateLightingTextureFar.


Function Documentation

void NL3D_drawFarTileInFarTexture const NL3D_CComputeTileFar   pTileFar
 

Definition at line 1675 of file texture_far.cpp.

Referenced by NL3D::CTextureFar::rebuildRectangle.

void NL3D_drawFarTileInFarTextureAdditive const NL3D_CComputeTileFar   pTileFar
 

Definition at line 1805 of file texture_far.cpp.

Referenced by NL3D::CTextureFar::rebuildRectangle.

void NL3D_drawFarTileInFarTextureAdditiveAlpha const NL3D_CComputeTileFar   pTileFar
 

Definition at line 1872 of file texture_far.cpp.

Referenced by NL3D::CTextureFar::rebuildRectangle.

void NL3D_drawFarTileInFarTextureAlpha const NL3D_CComputeTileFar   pTileFar
 

Definition at line 1738 of file texture_far.cpp.

Referenced by NL3D::CTextureFar::rebuildRectangle.

void NL3D_expandLightmap const NL3D_CExpandLightmap   pLightmap
 

Definition at line 1193 of file texture_far.cpp.

Referenced by NL3D::CTextureFar::rebuildRectangle.