patch_lightmap.cpp File Reference


Detailed Description

Patch implementation related to lightmaping (texture Near/Far)

Id
patch_lightmap.cpp,v 1.13 2004/02/06 14:37:44 besson Exp

Definition in file patch_lightmap.cpp.

#include "std3d.h"
#include "3d/patch.h"
#include "3d/tessellation.h"
#include "3d/bezier_patch.h"
#include "3d/zone.h"
#include "3d/landscape.h"
#include "nel/misc/vector.h"
#include "nel/misc/common.h"
#include "3d/patchuv_locator.h"
#include "3d/vegetable_manager.h"
#include "nel/misc/fast_floor.h"
#include "3d/light_influence_interpolator.h"
#include "3d/patchdlm_context.h"

Go to the source code of this file.

Namespaces

namespace  NL3D

Defines

#define a00   tex[0]
#define a01   tex[5]
#define a02   tex[10]
#define a03   tex[15]
#define a04   tex[20]
#define a10   tex[1]
#define a11   tex[6]
#define a12   tex[11]
#define a13   tex[16]
#define a14   tex[21]
#define a20   tex[2]
#define a21   tex[7]
#define a22   tex[12]
#define a23   tex[17]
#define a24   tex[22]
#define a30   tex[3]
#define a31   tex[8]
#define a32   tex[13]
#define a33   tex[18]
#define a34   tex[23]
#define a40   tex[4]
#define a41   tex[9]
#define a42   tex[14]
#define a43   tex[19]
#define a44   tex[24]


Define Documentation

#define a00   tex[0]
 

Definition at line 1419 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), and NL3D::NL3D_bilinearTileLightMap().

#define a01   tex[5]
 

Definition at line 1425 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), and NL3D::NL3D_bilinearTileLightMap().

#define a02   tex[10]
 

Definition at line 1431 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), and NL3D::NL3D_bilinearTileLightMap().

#define a03   tex[15]
 

Definition at line 1437 of file patch_lightmap.cpp.

Referenced by NL3D::NL3D_bilinearTileLightMap().

#define a04   tex[20]
 

Definition at line 1443 of file patch_lightmap.cpp.

Referenced by NL3D::NL3D_bilinearTileLightMap().

#define a10   tex[1]
 

Definition at line 1420 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), and NL3D::NL3D_bilinearTileLightMap().

#define a11   tex[6]
 

Definition at line 1426 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getI(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), and NLMISC::CMatrix::translate().

#define a12   tex[11]
 

Definition at line 1432 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getJ(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose3x3().

#define a13   tex[16]
 

Definition at line 1438 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getK(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose3x3().

#define a14   tex[21]
 

Definition at line 1444 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::identity(), NLMISC::CMatrix::inverted(), NLMISC::CMatrix::movePos(), NLMISC::CMatrix::mulPoint(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setPos(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose().

#define a20   tex[2]
 

Definition at line 1421 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), and NL3D::NL3D_bilinearTileLightMap().

#define a21   tex[7]
 

Definition at line 1427 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getI(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose3x3().

#define a22   tex[12]
 

Definition at line 1433 of file patch_lightmap.cpp.

Referenced by NL3D::CLodCharacterManager::addRenderCharacterKey(), NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getJ(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), and NLMISC::CMatrix::translate().

#define a23   tex[17]
 

Definition at line 1439 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getK(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose3x3().

#define a24   tex[22]
 

Definition at line 1445 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::identity(), NLMISC::CMatrix::inverted(), NLMISC::CMatrix::movePos(), NLMISC::CMatrix::mulPoint(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setPos(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose().

#define a30   tex[3]
 

Definition at line 1422 of file patch_lightmap.cpp.

Referenced by NL3D::NL3D_bilinearTileLightMap().

#define a31   tex[8]
 

Definition at line 1428 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getI(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose3x3().

#define a32   tex[13]
 

Definition at line 1434 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getJ(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose3x3().

#define a33   tex[18]
 

Definition at line 1440 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getK(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::mulPoint(), NLMISC::CMatrix::mulVector(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::normalize(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), and NLMISC::CMatrix::translate().

#define a34   tex[23]
 

Definition at line 1446 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::identity(), NLMISC::CMatrix::inverted(), NLMISC::CMatrix::movePos(), NLMISC::CMatrix::mulPoint(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setPos(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose().

#define a40   tex[4]
 

Definition at line 1423 of file patch_lightmap.cpp.

Referenced by NL3D::NL3D_bilinearTileLightMap().

#define a41   tex[9]
 

Definition at line 1429 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::getProj(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::resetProj(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setProj(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose().

#define a42   tex[14]
 

Definition at line 1435 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::getProj(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::resetProj(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setProj(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose().

#define a43   tex[19]
 

Definition at line 1441 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::getProj(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::resetProj(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setProj(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose().

#define a44   tex[24]
 

Definition at line 1447 of file patch_lightmap.cpp.

Referenced by NLMISC::CMatrix::getProj(), NL3D::NL3D_bilinearTileLightMap(), NLMISC::CMatrix::operator *(), NLMISC::CMatrix::operator=(), NLMISC::CMatrix::resetProj(), NLMISC::CMatrix::serial(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setProj(), and NLMISC::CMatrix::translate().


Generated on Tue Mar 16 06:43:11 2004 for NeL by doxygen 1.3.6