Classes | Typedefs | Enumerations
Terrain

Some details on the terrain component. More...

Collaboration diagram for Terrain:

Classes

class  Ogre::Terrain
 The main containing class for a chunk of terrain. More...
 
class  Ogre::Terrain::DefaultGpuBufferAllocator
 Standard implementation of a buffer allocator which re-uses buffers. More...
 
struct  Ogre::Terrain::DerivedDataRequest
 A data holder for communicating with the background derived data update. More...
 
struct  Ogre::Terrain::DerivedDataResponse
 A data holder for communicating with the background derived data update. More...
 
struct  Ogre::Terrain::GenerateMaterialRequest
 A data holder for communicating with the background GetMaterial. More...
 
class  Ogre::Terrain::GpuBufferAllocator
 Interface used to by the Terrain instance to allocate GPU buffers. More...
 
struct  Ogre::Terrain::ImportData
 Structure encapsulating import data that you may use to bootstrap the terrain without loading from a native data stream. More...
 
struct  Ogre::Terrain::LayerInstance
 An instance of a layer, with specific texture names. More...
 
class  Ogre::TerrainAutoUpdateLod
 Terrain automatic LOD loading. More...
 
class  Ogre::TerrainAutoUpdateLodByDistance
 Class implementing TerrainAutoUpdateLod interface. More...
 
class  Ogre::TerrainAutoUpdateLodFactory
 
class  Ogre::TerrainGlobalOptions
 Options class which just stores default options for the terrain. More...
 
class  Ogre::TerrainGroup
 Helper class to assist you in managing multiple terrain instances that are connected to each other. More...
 
struct  Ogre::TerrainGroup::LoadRequest
 Structure for holding the load request. More...
 
struct  Ogre::TerrainGroup::RayResult
 Result from a terrain ray intersection with the terrain group. More...
 
struct  Ogre::TerrainGroup::TerrainSlot
 Slot for a terrain instance, together with its definition. More...
 
struct  Ogre::TerrainGroup::TerrainSlotDefinition
 Definition of how to populate a 'slot' in the terrain group. More...
 
class  Ogre::TerrainLayerBlendMap
 Class exposing an interface to a blend map for a given layer. More...
 
struct  Ogre::TerrainLayerDeclaration
 The definition of the information each layer will contain in this terrain. More...
 
struct  Ogre::TerrainLayerSampler
 Description of a sampler that will be used with each layer. More...
 
struct  Ogre::TerrainLayerSamplerElement
 Information about one element of a sampler / texture within a layer. More...
 
class  Ogre::TerrainLodManager
 Terrain LOD data manager. More...
 
struct  Ogre::TerrainLodManager::LoadLodRequest
 
struct  Ogre::TerrainLodManager::LodInfo
 
class  Ogre::TerrainMaterialGenerator
 Class that provides functionality to generate materials for use with a terrain. More...
 
class  Ogre::TerrainMaterialGenerator::Profile
 Inner class which should also be subclassed to provide profile-specific material generation. More...
 
class  Ogre::TerrainMaterialGeneratorA
 A TerrainMaterialGenerator which can cope with normal mapped, specular mapped terrain. More...
 
class  Ogre::TerrainMaterialGeneratorA::SM2Profile
 Shader model 2 profile target. More...
 
class  Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper
 Interface definition for helper class to generate shaders. More...
 
class  Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg
 Utility class to help with generating shaders for Cg / HLSL. More...
 
class  Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperGLSL
 Utility class to help with generating shaders for GLSL. More...
 
class  Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperGLSLES
 Utility class to help with generating shaders for GLSL ES. More...
 
class  Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL
 
class  Ogre::TerrainPagedWorldSection
 A world section which includes paged terrain. More...
 
class  Ogre::TerrainPagedWorldSection::TerrainDefiner
 
class  Ogre::TerrainPaging
 This class is the 'core' class for paging terrain, that will integrate with the larger paging system and provide the appropriate utility classes required. More...
 
class  Ogre::TerrainPaging::SectionFactory
 
class  Ogre::TerrainQuadTreeNode
 A node in a quad tree used to store a patch of terrain. More...
 
struct  Ogre::TerrainQuadTreeNode::LodLevel
 
class  Ogre::TerrainQuadTreeNode::Movable
 MovableObject implementation to provide the hook to the scene. More...
 
class  Ogre::TerrainQuadTreeNode::Rend
 Hook to the render queue. More...
 
struct  Ogre::TerrainQuadTreeNode::VertexDataRecord
 

Typedefs

typedef vector
< TerrainLayerBlendMap * >
::type 
Ogre::TerrainLayerBlendMapList
 
typedef vector
< TerrainLayerSamplerElement >
::type 
Ogre::TerrainLayerSamplerElementList
 
typedef vector
< TerrainLayerSampler >::type 
Ogre::TerrainLayerSamplerList
 
typedef SharedPtr
< TerrainMaterialGenerator > 
Ogre::TerrainMaterialGeneratorPtr
 

Enumerations

enum  Ogre::Terrain::Alignment { Ogre::Terrain::ALIGN_X_Z = 0, Ogre::Terrain::ALIGN_X_Y = 1, Ogre::Terrain::ALIGN_Y_Z = 2 }
 The alignment of the terrain. More...
 
enum  Ogre::Terrain::GenerateMaterialStage { Ogre::Terrain::GEN_MATERIAL, Ogre::Terrain::GEN_COMPOSITE_MAP_MATERIAL }
 
enum  Ogre::Terrain::NeighbourIndex {
  Ogre::Terrain::NEIGHBOUR_EAST = 0, Ogre::Terrain::NEIGHBOUR_NORTHEAST = 1, Ogre::Terrain::NEIGHBOUR_NORTH = 2, Ogre::Terrain::NEIGHBOUR_NORTHWEST = 3,
  Ogre::Terrain::NEIGHBOUR_WEST = 4, Ogre::Terrain::NEIGHBOUR_SOUTHWEST = 5, Ogre::Terrain::NEIGHBOUR_SOUTH = 6, Ogre::Terrain::NEIGHBOUR_SOUTHEAST = 7,
  Ogre::Terrain::NEIGHBOUR_COUNT = 8
}
 Neighbour index enumeration - indexed anticlockwise from East like angles. More...
 
enum  Ogre::Terrain::Space { Ogre::Terrain::WORLD_SPACE = 0, Ogre::Terrain::LOCAL_SPACE = 1, Ogre::Terrain::TERRAIN_SPACE = 2, Ogre::Terrain::POINT_SPACE = 3 }
 Enumeration of relative spaces that you might want to use to address the terrain. More...
 
enum  Ogre::TerrainMaterialGeneratorA::SM2Profile::TechniqueType { Ogre::TerrainMaterialGeneratorA::SM2Profile::HIGH_LOD, Ogre::TerrainMaterialGeneratorA::SM2Profile::LOW_LOD, Ogre::TerrainMaterialGeneratorA::SM2Profile::RENDER_COMPOSITE_MAP }
 
enum  Ogre::TerrainAutoUpdateLodStrategy { Ogre::NONE = 0, Ogre::BY_DISTANCE = 1 }
 
enum  Ogre::TerrainLayerSamplerSemantic { Ogre::TLSS_ALBEDO = 0, Ogre::TLSS_NORMAL = 1, Ogre::TLSS_HEIGHT = 2, Ogre::TLSS_SPECULAR = 3 }
 Enumeration of types of data that can be read from textures that are specific to a given layer. More...
 

Detailed Description

Some details on the terrain component.

Some details on the terrain LOD manager.

Some details on the terrain auto load.

Typedef Documentation

typedef vector<TerrainLayerBlendMap*>::type Ogre::TerrainLayerBlendMapList

Definition at line 189 of file OgreTerrainLayerBlendMap.h.

typedef vector<TerrainLayerSamplerElement>::type Ogre::TerrainLayerSamplerElementList

Definition at line 99 of file OgreTerrainMaterialGenerator.h.

typedef vector<TerrainLayerSampler>::type Ogre::TerrainLayerSamplerList

Definition at line 125 of file OgreTerrainMaterialGenerator.h.

typedef SharedPtr<TerrainMaterialGenerator> Ogre::TerrainMaterialGeneratorPtr

Definition at line 413 of file OgreTerrainMaterialGenerator.h.

Enumeration Type Documentation

The alignment of the terrain.

Enumerator
ALIGN_X_Z 

Terrain is in the X/Z plane.

ALIGN_X_Y 

Terrain is in the X/Y plane.

ALIGN_Y_Z 

Terrain is in the Y/Z plane.

Definition at line 311 of file OgreTerrain.h.

Enumerator
GEN_MATERIAL 
GEN_COMPOSITE_MAP_MATERIAL 

Definition at line 1798 of file OgreTerrain.h.

Neighbour index enumeration - indexed anticlockwise from East like angles.

Enumerator
NEIGHBOUR_EAST 
NEIGHBOUR_NORTHEAST 
NEIGHBOUR_NORTH 
NEIGHBOUR_NORTHWEST 
NEIGHBOUR_WEST 
NEIGHBOUR_SOUTHWEST 
NEIGHBOUR_SOUTH 
NEIGHBOUR_SOUTHEAST 
NEIGHBOUR_COUNT 

Definition at line 496 of file OgreTerrain.h.

Enumeration of relative spaces that you might want to use to address the terrain.

Enumerator
WORLD_SPACE 

Simple global world space, axes and positions are all in world space.

LOCAL_SPACE 

As world space, but positions are relative to the terrain world position.

TERRAIN_SPACE 

x & y are parametric values on the terrain from 0 to 1, with the origin at the bottom left.

z is the world space height at that point.

POINT_SPACE 

x & y are integer points on the terrain from 0 to size-1, with the origin at the bottom left.

z is the world space height at that point.

Definition at line 513 of file OgreTerrain.h.

Enumerator
HIGH_LOD 
LOW_LOD 
RENDER_COMPOSITE_MAP 

Definition at line 153 of file OgreTerrainMaterialGeneratorA.h.

Enumerator
NONE 
BY_DISTANCE 

Definition at line 68 of file OgreTerrainAutoUpdateLod.h.

Enumeration of types of data that can be read from textures that are specific to a given layer.

Notice that global texture information such as shadows and terrain normals are not represented here because they are not a per-layer attribute, and blending is stored in packed texture structures which are stored separately.

Enumerator
TLSS_ALBEDO 

Albedo colour (diffuse reflectance colour)

TLSS_NORMAL 

Tangent-space normal information from a detail texture.

TLSS_HEIGHT 

Height information for the detail texture.

TLSS_SPECULAR 

Specular reflectance.

Definition at line 56 of file OgreTerrainMaterialGenerator.h.


Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sat Oct 25 2014 14:52:03