7 #ifndef CAFU_SCENEGRAPH_TERRAIN_HPP_INCLUDED
8 #define CAFU_SCENEGRAPH_TERRAIN_HPP_INCLUDED
15 class RenderMaterialT;
46 void WriteTo(std::ostream& OutFile,
aux::PoolT& Pool)
const;
52 void DrawStencilShadowVolumes(
const Vector3dT& LightPos,
const float LightRadius)
const;
53 void DrawLightSourceContrib(
const Vector3dT& ViewerPos,
const Vector3dT& LightPos)
const;
54 void DrawTranslucentContrib(
const Vector3dT& ViewerPos)
const;
68 unsigned long TerrainShareID;
69 std::string MaterialName;
This class manages lightmaps, e.g. by "allocating" rectangular areas in larger bitmaps.
Definition: LightMapMan.hpp:25
This class represents terrains, offering methods for LoD rendering and collision detection.
Definition: Terrain.hpp:17
This class represents a surface render material.
Definition: RenderMaterial.hpp:25
static TerrainNodeT * CreateFromFile_cw(std::istream &InFile, aux::PoolT &Pool, LightMapManT &LMM, SHLMapManT &SMM, const ArrayT< const TerrainT * > &ShTe)
Named constructor.
Definition: TerrainNode.cpp:71
void DrawAmbientContrib(const Vector3dT &ViewerPos) const
Draws the contents of this scene node.
Definition: TerrainNode.cpp:124
This class manages SHL maps, e.g. by "allocating" rectangular areas in larger coefficient maps...
Definition: SHLMapMan.hpp:25
This is an interface to a texture-map.
Definition: TextureMap.hpp:23
const BoundingBox3T< double > & GetBoundingBox() const
Returns the bounding box of the contents of this scene node.
Definition: TerrainNode.cpp:112
~TerrainNodeT()
The destructor.
Definition: TerrainNode.cpp:89
bool IsOpaque() const
TODO / FIXME: This method is a hot-fix for getting the render order with translucent Bezier Patches r...
Definition: TerrainNode.cpp:118
Definition: TerrainNode.hpp:24
TerrainNodeT()
The constructor.
Definition: TerrainNode.cpp:22
Definition: Renderer.hpp:16