A water surface. More...
#include <water_model.h>
Inherits NL3D::CTransformShape.
Public Member Functions | |
| CWaterModel () | |
| ctor | |
| ~CWaterModel () | |
| void | init () |
| virtual ITrack * | getDefaultTrack (uint valueId) |
| Default Track Values are identity (pos,pivot= 0, scale= 1, rots=0). | |
| virtual uint32 | getWaterHeightMapID () const |
| inherited from UWaterInstance | |
| virtual float | getHeightFactor () const |
| inherited from UWaterInstance | |
| virtual float | getHeight (const NLMISC::CVector2f &pos) |
| inherited from UWaterInstance | |
| virtual float | getAttenuatedHeight (const NLMISC::CVector2f &pos, const NLMISC::CVector &viewer) |
| inherited from UWaterInstance | |
| uint | getNumWantedVertices () |
| uint | fillVB (void *dataStart, uint startTri, IDriver &drv) |
| void | debugDumpMem (void *&clippedPolyBegin, void *&clippedPolyEnd) |
| void | debugClearClippedPoly () |
| void | unlink () |
| void | link () |
CTransform traverse specialisation | |
| virtual void | traverseRender () |
| no-op by default | |
| virtual bool | clip () |
| clip method called by traverseClip(). deafult is always visible | |
Static Public Member Functions | |
| static void | registerBasic () |
| Call at the begining of the program, to register the model. | |
| static CTransform * | creator () |
| static void | setupVertexBuffer (CVertexBuffer &vb, uint numWantedVertices, IDriver *drv) |
Public Attributes | |
| CWaterModel ** | _Prev |
| CWaterModel * | _Next |
Protected Member Functions | |
| void | setupMaterialNVertexShader (IDriver *drv, CWaterShape *shape, const NLMISC::CVector &obsPos, bool above, float zHeight) |
| store a value in a water vertex buffer, and increment the pointer | |
| void | setupSimpleRender (CWaterShape *shape, const NLMISC::CVector &obsPos, bool above) |
| void | computeClippedPoly () |
Private Member Functions | |
| void | updateDiffuseMapMatrix (bool force=false) |
| uint | fillVBHard (void *dataStart, uint startIndex) |
| uint | fillVBSoft (void *dataStart, uint startIndex) |
Private Attributes | |
| CSmartPtr< CTextureEmboss > | _EmbossTexture |
| NLMISC::CVector2f | _ColorMapMatColumn0 |
| NLMISC::CVector2f | _ColorMapMatColumn1 |
| NLMISC::CVector2f | _ColorMapMatPos |
| uint64 | _MatrixUpdateDate |
| NLMISC::CPolygon2D::TRasterVect | _Inside |
| sint | _MinYInside |
| NLMISC::CPolygon | _ClippedPoly |
| std::vector< NLMISC::CVector2f > | _ClippedTris |
| std::vector< uint > | _ClippedTriNumVerts |
| uint32 | _StartTri |
| uint32 | _NumTris |
Static Private Attributes | |
| static NLMISC::CRefPtr< IDriver > | _CurrDrv |
| static CMaterial | _WaterMat |
| static CMaterial | _SimpleWaterMat |
Friends | |
| class | CWaterShape |
A water surface.
In order to get precise reflections, we tesselate the shape by projecting it on screen, and by subdividing it by a fixed size grid. For each grid cell :
Definition at line 64 of file water_model.h.
| NL3D::CWaterModel::CWaterModel | ( | ) |
ctor
Definition at line 91 of file water_model.cpp.
References _MatrixUpdateDate, _Next, _Prev, NL3D::CTransform::_RenderFilterType, NL3D::UScene::FilterWater, NL3D::CTransform::setOpacity(), NL3D::CTransform::setOrderingLayer(), and NL3D::CTransform::setTransparency().
| NL3D::CWaterModel::~CWaterModel | ( | ) |
Definition at line 104 of file water_model.cpp.
References NL3D::CTransform::getOwnerScene(), NL3D::CWaterShape::getUseSceneWaterEnvMap(), NL3D::CScene::getWaterCallback(), nlassert, NLMISC::safe_cast(), NL3D::CTransformShape::Shape, unlink(), and NL3D::IWaterSurfaceAddedCallback::waterSurfaceRemoved().
| bool NL3D::CWaterModel::clip | ( | ) | [virtual] |
clip method called by traverseClip(). deafult is always visible
Reimplemented from NL3D::CTransformShape.
Definition at line 1688 of file water_model.cpp.
References _ClippedPoly, NL3D::CTravCameraScene::CamPos, computeClippedPoly(), NL3D::CTransform::getOwnerScene(), NL3D::ITransformable::getPos(), NL3D::CScene::getRenderTrav(), NL3D::CTransform::getWorldMatrix(), H_AUTO, link(), NL3D::CTransformShape::Shape, unlink(), NLMISC::CPolygon::Vertices, and NLMISC::CVector::z.
| void NL3D::CWaterModel::computeClippedPoly | ( | ) | [protected] |
Definition at line 1118 of file water_model.cpp.
References _ClippedPoly, NL3D::CWaterShape::_Poly, NLMISC::CPolygon::clip(), NL3D::CScene::getClipTrav(), NL3D::CTransform::getOwnerScene(), NL3D::CTransform::getWorldMatrix(), NLMISC::safe_cast(), NL3D::CTransformShape::Shape, NLMISC::CPolygon2D::Vertices, NLMISC::CPolygon::Vertices, and NL3D::CClipTrav::WorldFrustumPyramid.
Referenced by clip().
| static CTransform* NL3D::CWaterModel::creator | ( | ) | [inline, static] |
Reimplemented from NL3D::CTransformShape.
Definition at line 81 of file water_model.h.
Referenced by registerBasic().
| void NL3D::CWaterModel::debugClearClippedPoly | ( | ) |
Definition at line 1960 of file water_model.cpp.
References _ClippedPoly, and NLMISC::CPolygon::Vertices.
| void NL3D::CWaterModel::debugDumpMem | ( | void *& | clippedPolyBegin, | |
| void *& | clippedPolyEnd | |||
| ) |
Definition at line 1953 of file water_model.cpp.
References _ClippedPoly, and NLMISC::CPolygon::Vertices.
Referenced by NL3D::CRenderTrav::debugWaterModelMemory().
Definition at line 1370 of file water_model.cpp.
References fillVBHard(), fillVBSoft(), H_AUTO, and NL3D::IDriver::isWaterShaderSupported().
Referenced by NL3D::CRenderTrav::traverse().
Definition at line 1542 of file water_model.cpp.
References _ClippedTriNumVerts, _ClippedTris, _Inside, _MinYInside, _NumTris, _StartTri, NL3D::CTravCameraScene::Bottom, NL3D::CTravCameraScene::CamMatrix, NL3D::computeWaterVertexHard(), NLMISC::CMatrix::getI(), NLMISC::CMatrix::getJ(), NLMISC::CMatrix::getK(), NL3D::CTransform::getOwnerScene(), NLMISC::CMatrix::getPos(), NL3D::CScene::getRenderTrav(), NL3D::CWaterShape::getScreenXGridSize(), NL3D::CWaterShape::getScreenYGridSize(), NL3D::CTransform::getWorldMatrix(), NL3D::CTravCameraScene::Left, NL3D::CTravCameraScene::Near, nlassert, NL3D::CTravCameraScene::Right, NL3D::CTravCameraScene::Top, NL3D::WATER_VERTEX_HARD_SIZE, NLMISC::CVector2f::x, and NLMISC::CVector2f::y.
Referenced by fillVB().
Definition at line 1427 of file water_model.cpp.
References _ClippedTriNumVerts, _ClippedTris, _Inside, _MinYInside, _NumTris, _StartTri, NL3D::CTravCameraScene::Bottom, NL3D::CTravCameraScene::CamMatrix, NL3D::computeWaterVertexSoft(), NL3D::CScene::getCurrentTime(), NLMISC::CMatrix::getI(), NLMISC::CMatrix::getJ(), NLMISC::CMatrix::getK(), NL3D::CTransform::getOwnerScene(), NLMISC::CMatrix::getPos(), NL3D::CScene::getRenderTrav(), NL3D::CWaterShape::getScreenXGridSize(), NL3D::CWaterShape::getScreenYGridSize(), NL3D::CTransform::getWorldMatrix(), NL3D::CTravCameraScene::Left, NL3D::CTravCameraScene::Near, nlassert, NL3D::CTravCameraScene::Right, NL3D::CTravCameraScene::Top, NL3D::WATER_VERTEX_SOFT_SIZE, NL3D::WATER_WAVE_SPEED, NLMISC::CVector2f::x, and NLMISC::CVector2f::y.
Referenced by fillVB().
| float NL3D::CWaterModel::getAttenuatedHeight | ( | const NLMISC::CVector2f & | pos, | |
| const NLMISC::CVector & | viewer | |||
| ) | [virtual] |
inherited from UWaterInstance
Definition at line 166 of file water_model.cpp.
References NL3D::CWaterShape::_WaterPoolID, NL3D::CWaterShape::_WaveHeightFactor, NL3D::CWaterHeightMap::getHeight(), NL3D::ITransformable::getMatrix(), NL3D::CWaterPoolManager::getPoolByID(), NLMISC::CMatrix::getPos(), NL3D::CWaterHeightMap::getSize(), NL3D::CWaterHeightMap::getUnitSize(), NL3D::GetWaterPoolManager(), NLMISC::safe_cast(), NL3D::CTransformShape::Shape, NLMISC::CVector2f::x, and NLMISC::CVector2f::y.
Default Track Values are identity (pos,pivot= 0, scale= 1, rots=0).
Reimplemented from NL3D::CTransform.
Definition at line 125 of file water_model.cpp.
References NL3D::CWaterShape::getDefaultPos(), NL3D::CWaterShape::getDefaultRotQuat(), NL3D::CWaterShape::getDefaultScale(), nlassert, NL3D::ITransformable::PosValue, NL3D::ITransformable::RotQuatValue, NLMISC::safe_cast(), NL3D::ITransformable::ScaleValue, and NL3D::CTransformShape::Shape.
| float NL3D::CWaterModel::getHeight | ( | const NLMISC::CVector2f & | pos | ) | [virtual] |
inherited from UWaterInstance
Definition at line 157 of file water_model.cpp.
References NL3D::CWaterShape::_WaterPoolID, NL3D::CWaterShape::_WaveHeightFactor, NL3D::CWaterHeightMap::getHeight(), NL3D::CWaterPoolManager::getPoolByID(), NL3D::ITransformable::getPos(), NL3D::GetWaterPoolManager(), NLMISC::safe_cast(), NL3D::CTransformShape::Shape, and NLMISC::CVector::z.
| float NL3D::CWaterModel::getHeightFactor | ( | ) | const [virtual] |
inherited from UWaterInstance
Definition at line 149 of file water_model.cpp.
References NL3D::CWaterShape::_WaveHeightFactor, NLMISC::safe_cast(), and NL3D::CTransformShape::Shape.
| uint NL3D::CWaterModel::getNumWantedVertices | ( | ) |
Definition at line 1215 of file water_model.cpp.
References _ClippedPoly, _ClippedTriNumVerts, _ClippedTris, _Inside, _MinYInside, NL3D::CTravCameraScene::CamPos, NLMISC::CPolygon::clip(), NLMISC::CPolygon2D::computeInnerBorders(), NLMISC::CPolygon2D::computeOuterBorders(), NL3D::forceWaterSimpleRender, NL3D::CTransform::getOwnerScene(), NLMISC::CMatrix::getPos(), NL3D::CScene::getRenderTrav(), NL3D::CWaterShape::getScreenXGridSize(), NL3D::CWaterShape::getScreenYGridSize(), NL3D::CTransform::getWorldMatrix(), H_AUTO, NLMISC::CPolygon2D::isCCWOriented(), nlassert, NLMISC::CVector::set(), NLMISC::CMatrix::setPos(), NLMISC::CPolygon2D::Vertices, NLMISC::CPolygon::Vertices, NLMISC::CVector2f::x, NLMISC::CVector::x, NLMISC::CVector2f::y, NLMISC::CVector::y, and NLMISC::CVector::z.
Referenced by NL3D::CRenderTrav::traverse().
| uint32 NL3D::CWaterModel::getWaterHeightMapID | ( | ) | const [virtual] |
inherited from UWaterInstance
Definition at line 142 of file water_model.cpp.
References NL3D::CWaterShape::_WaterPoolID, NLMISC::safe_cast(), and NL3D::CTransformShape::Shape.
| void NL3D::CWaterModel::init | ( | void | ) | [inline] |
Definition at line 74 of file water_model.h.
References updateDiffuseMapMatrix().
Referenced by NL3D::CWaterShape::createInstance(), and setupSimpleRender().
| void NL3D::CWaterModel::link | ( | ) |
Definition at line 1197 of file water_model.cpp.
References NL3D::CRenderTrav::_FirstWaterModel, _Next, _Prev, NL3D::CTransform::getOwnerScene(), NL3D::CScene::getRenderTrav(), and nlassert.
Referenced by clip().
| void NL3D::CWaterModel::registerBasic | ( | ) | [static] |
Call at the begining of the program, to register the model.
Reimplemented from NL3D::CTransformShape.
Definition at line 118 of file water_model.cpp.
References creator(), NL3D::CScene::registerModel(), NL3D::TransformShapeId, and NL3D::WaterModelClassId.
Referenced by NL3D::CScene::registerBasics().
| void NL3D::CWaterModel::setupMaterialNVertexShader | ( | IDriver * | drv, | |
| CWaterShape * | shape, | |||
| const NLMISC::CVector & | obsPos, | |||
| bool | above, | |||
| float | zHeight | |||
| ) | [protected] |
store a value in a water vertex buffer, and increment the pointer
set matrix
set all our constants in one call
Definition at line 899 of file water_model.cpp.
References NL3D::CWaterShape::_BumpMap, NL3D::CWaterShape::_ColorMap, _ColorMapMatColumn0, _ColorMapMatColumn1, _ColorMapMatPos, NL3D::CWaterShape::_EnvMap, NL3D::CWaterShape::_HeightMapScale, NL3D::CWaterShape::_HeightMapSpeed, NL3D::CWaterShape::_UsesSceneWaterEnvMap, NL3D::CWaterShape::_VertexProgramNoWave, NL3D::CWaterShape::_VertexProgramNoWaveDiffuse, _WaterMat, NL3D::IDriver::activeVertexProgram(), NL3D::CWaterShape::envMapUpdate(), NL3D::CScene::getCurrentTime(), NL3D::CWaterEnvMap::getEnvMap2D(), NL3D::CTransform::getOwnerScene(), NL3D::CScene::getWaterEnvMap(), NL3D::IDriver::Identity, NL3D::CWaterShape::initVertexProgram(), NL3D::CMaterial::invsrcalpha, NL3D::IDriver::ModelViewProjection, NLMISC::CVectorH::set(), NL3D::CMaterial::setBlend(), NL3D::CMaterial::setColor(), NL3D::IDriver::setConstant(), NL3D::IDriver::setConstantFog(), NL3D::IDriver::setConstantMatrix(), NL3D::CMaterial::setDoubleSided(), NL3D::CMaterial::setDstBlend(), NL3D::CMaterial::setLighting(), NL3D::CMaterial::setShader(), NL3D::CMaterial::setSrcBlend(), NL3D::CMaterial::setTexture(), NL3D::CMaterial::setZWrite(), NL3D::CMaterial::srcalpha, updateDiffuseMapMatrix(), NL3D::CMaterial::Water, NLMISC::CRGBA::White, NLMISC::CVector::x, NLMISC::CVector2f::x, NLMISC::CVector2f::y, NLMISC::CVector::y, and NLMISC::CVector::z.
Referenced by traverseRender().
| void NL3D::CWaterModel::setupSimpleRender | ( | CWaterShape * | shape, | |
| const NLMISC::CVector & | obsPos, | |||
| bool | above | |||
| ) | [protected] |
Definition at line 985 of file water_model.cpp.
References NL3D::CWaterShape::_BumpMap, NL3D::CWaterShape::_ColorMap, _ColorMapMatColumn0, _ColorMapMatColumn1, _ColorMapMatPos, _EmbossTexture, NL3D::CWaterShape::_EnvMap, NL3D::CWaterShape::_HeightMapScale, NL3D::CWaterShape::_HeightMapSpeed, _SimpleWaterMat, NL3D::CWaterShape::_UsesSceneWaterEnvMap, NL3D::CMaterial::enableUserTexMat(), NL3D::CScene::getCurrentTime(), NL3D::CWaterEnvMap::getEnvMap2D(), NL3D::CTextureBump::getHeightMap(), NL3D::CTransform::getOwnerScene(), NL3D::CScene::getWaterEnvMap(), init(), NL3D::CMaterial::invsrcalpha, NL3D::CMaterial::Modulate, NL3D::CMaterial::Normal, NL3D::CMaterial::Previous, NL3D::CMaterial::Replace, NLMISC::CMatrix::scale(), NLMISC::CMatrix::set(), NL3D::CMaterial::setBlend(), NL3D::CMaterial::setColor(), NL3D::CMaterial::setDoubleSided(), NL3D::CMaterial::setDstBlend(), NL3D::CMaterial::setLighting(), NLMISC::CMatrix::setPos(), NL3D::CMaterial::setShader(), NL3D::CMaterial::setSrcBlend(), NL3D::CMaterial::setTexCoordGen(), NL3D::CMaterial::setTexCoordGenMode(), NL3D::CMaterial::setTexture(), NL3D::CMaterial::setUserTexMat(), NL3D::CMaterial::setZWrite(), NL3D::CMaterial::SrcAlpha, NL3D::CMaterial::srcalpha, NL3D::CMaterial::SrcColor, NL3D::CMaterial::TexCoordGenObjectSpace, NL3D::CMaterial::texEnvArg0Alpha(), NL3D::CMaterial::texEnvArg0RGB(), NL3D::CMaterial::texEnvArg1Alpha(), NL3D::CMaterial::texEnvArg1RGB(), NL3D::CMaterial::texEnvOpAlpha(), NL3D::CMaterial::texEnvOpRGB(), NL3D::CMaterial::Texture, updateDiffuseMapMatrix(), NLMISC::CRGBA::White, NLMISC::CVector::x, NLMISC::CVector2f::x, NLMISC::CVector::y, and NLMISC::CVector2f::y.
Referenced by traverseRender().
| void NL3D::CWaterModel::setupVertexBuffer | ( | CVertexBuffer & | vb, | |
| uint | numWantedVertices, | |||
| IDriver * | drv | |||
| ) | [static] |
Definition at line 63 of file water_model.cpp.
References _CurrDrv, NL3D::CVertexBuffer::AGPPreferred, NL3D::CVertexBuffer::getNumVertices(), NL3D::IDriver::isWaterShaderSupported(), NL3D::CVertexBuffer::PositionFlag, NL3D::CVertexBuffer::setName(), NL3D::CVertexBuffer::setNumVertices(), NL3D::CVertexBuffer::setPreferredMemory(), NL3D::CVertexBuffer::setVertexFormat(), NL3D::CVertexBuffer::TexCoord0Flag, and NL3D::WATER_MODEL_DEFAULT_NUM_VERTICES.
Referenced by NL3D::CRenderTrav::traverse().
| void NL3D::CWaterModel::traverseRender | ( | ) | [virtual] |
no-op by default
Reimplemented from NL3D::CTransformShape.
Definition at line 1620 of file water_model.cpp.
References _NumTris, _SimpleWaterMat, _StartTri, _WaterMat, NL3D::IDriver::activeVertexBuffer(), NL3D::IDriver::activeVertexProgram(), NL3D::CTravCameraScene::CamPos, NL3D::CWaterShape::computeEnvMapMeanColor(), NL3D::CDRU::drawTrianglesUnlit(), NL3D::forceWaterSimpleRender, NL3D::CRenderTrav::getDriver(), NL3D::CVertexBuffer::getNumVertices(), NL3D::CTransform::getOwnerScene(), NLMISC::CMatrix::getPos(), NL3D::CScene::getRenderTrav(), NL3D::CWaterShape::getShape(), NL3D::CScene::getWaterVB(), NL3D::CTransform::getWorldMatrix(), H_AUTO, NL3D::CMaterial::initUnlit(), NL3D::CMaterial::invsrcalpha, NL3D::IDriver::isWaterShaderSupported(), nlassert, NL3D::CTravCameraScene::Perspective, NL3D::IDriver::renderRawTriangles(), NLMISC::safe_cast(), NL3D::CTraversal::Scene, NLMISC::CVector::set(), NL3D::CMaterial::setBlend(), NL3D::CMaterial::setColor(), NL3D::CMaterial::setDoubleSided(), NL3D::CMaterial::setDstBlend(), NL3D::CMaterial::setLighting(), NLMISC::CMatrix::setPos(), NL3D::CMaterial::setSrcBlend(), setupMaterialNVertexShader(), NL3D::IDriver::setupModelMatrix(), setupSimpleRender(), NL3D::CTransformShape::Shape, NL3D::CMaterial::srcalpha, NLMISC::CTriangle::V0, NLMISC::CTriangle::V1, NLMISC::CTriangle::V2, NLMISC::CPolygon2D::Vertices, NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.
| void NL3D::CWaterModel::unlink | ( | ) |
Definition at line 1180 of file water_model.cpp.
References _Next, _Prev, and nlassert.
Referenced by NL3D::CRenderTrav::clearWaterModelList(), clip(), and ~CWaterModel().
| void NL3D::CWaterModel::updateDiffuseMapMatrix | ( | bool | force = false |
) | [private] |
Definition at line 1926 of file water_model.cpp.
References _ColorMapMatColumn0, NL3D::CWaterShape::_ColorMapMatColumn0, _ColorMapMatColumn1, NL3D::CWaterShape::_ColorMapMatColumn1, _ColorMapMatPos, NL3D::CWaterShape::_ColorMapMatPos, _MatrixUpdateDate, NL3D::ITransformable::compareMatrixDate(), NLMISC::CMatrix::getI(), NLMISC::CMatrix::getJ(), NLMISC::CMatrix::getK(), NL3D::ITransformable::getMatrixDate(), NLMISC::CMatrix::getPos(), NL3D::CTransform::getWorldMatrix(), NLMISC::CMatrix::inverted(), NLMISC::safe_cast(), NLMISC::CVector2f::set(), NLMISC::CMatrix::setRot(), NL3D::CTransformShape::Shape, NLMISC::CVector::x, NLMISC::CVector2f::x, NLMISC::CVector::y, and NLMISC::CVector2f::y.
Referenced by init(), setupMaterialNVertexShader(), and setupSimpleRender().
friend class CWaterShape [friend] |
Definition at line 118 of file water_model.h.
Definition at line 139 of file water_model.h.
Referenced by clip(), computeClippedPoly(), debugClearClippedPoly(), debugDumpMem(), and getNumWantedVertices().
std::vector<uint> NL3D::CWaterModel::_ClippedTriNumVerts [private] |
Definition at line 148 of file water_model.h.
Referenced by fillVBHard(), fillVBSoft(), and getNumWantedVertices().
std::vector<NLMISC::CVector2f> NL3D::CWaterModel::_ClippedTris [private] |
Definition at line 146 of file water_model.h.
Referenced by fillVBHard(), fillVBSoft(), and getNumWantedVertices().
Definition at line 130 of file water_model.h.
Referenced by setupMaterialNVertexShader(), setupSimpleRender(), and updateDiffuseMapMatrix().
Definition at line 130 of file water_model.h.
Referenced by setupMaterialNVertexShader(), setupSimpleRender(), and updateDiffuseMapMatrix().
Definition at line 130 of file water_model.h.
Referenced by setupMaterialNVertexShader(), setupSimpleRender(), and updateDiffuseMapMatrix().
NLMISC::CRefPtr< IDriver > NL3D::CWaterModel::_CurrDrv [static, private] |
Definition at line 127 of file water_model.h.
Referenced by setupVertexBuffer().
Definition at line 128 of file water_model.h.
Referenced by setupSimpleRender().
Definition at line 136 of file water_model.h.
Referenced by fillVBHard(), fillVBSoft(), and getNumWantedVertices().
uint64 NL3D::CWaterModel::_MatrixUpdateDate [private] |
Definition at line 131 of file water_model.h.
Referenced by CWaterModel(), and updateDiffuseMapMatrix().
sint NL3D::CWaterModel::_MinYInside [private] |
Definition at line 137 of file water_model.h.
Referenced by fillVBHard(), fillVBSoft(), and getNumWantedVertices().
Definition at line 143 of file water_model.h.
Referenced by CWaterModel(), NL3D::CRenderTrav::debugWaterModelMemory(), link(), NL3D::CRenderTrav::traverse(), and unlink().
uint32 NL3D::CWaterModel::_NumTris [private] |
Definition at line 151 of file water_model.h.
Referenced by fillVBHard(), fillVBSoft(), and traverseRender().
Definition at line 142 of file water_model.h.
Referenced by CWaterModel(), link(), and unlink().
CMaterial NL3D::CWaterModel::_SimpleWaterMat [static, private] |
Definition at line 134 of file water_model.h.
Referenced by setupSimpleRender(), and traverseRender().
uint32 NL3D::CWaterModel::_StartTri [private] |
Definition at line 150 of file water_model.h.
Referenced by fillVBHard(), fillVBSoft(), and traverseRender().
CMaterial NL3D::CWaterModel::_WaterMat [static, private] |
Definition at line 133 of file water_model.h.
Referenced by setupMaterialNVertexShader(), and traverseRender().
1.6.1