CloudyDay
 All Classes Functions Variables Enumerations
Public Member Functions
osgCloudyDay::TerrainGeometry Class Reference

#include <TerrainGeometry.h>

Inheritance diagram for osgCloudyDay::TerrainGeometry:
osgCloudyDay::MyTerrain

List of all members.

Public Member Functions

 TerrainGeometry (TerrainConfig *config)
 ~TerrainGeometry (void)
virtual void Initialize ()
- Public Member Functions inherited from osgCloudyDay::MyTerrain
 MyTerrain (TerrainConfig *config)
 ~MyTerrain (void)
osg::MatrixTransform * GetNode ()
osg::MatrixTransform * GetLightNode ()
void SetFog (Fog *fog)
osg::ref_ptr< osg::Texture2D > GetHeightTexture ()
osg::ref_ptr< osg::Texture2D > GetDefinitionTexture ()
osg::ref_ptr< osg::Texture2D > GetOrthogonalTexture ()

Additional Inherited Members

- Protected Attributes inherited from osgCloudyDay::MyTerrain
Fogm_fog
osg::ref_ptr< osg::Texture2D > tex_height
osg::ref_ptr< osg::Texture2D > tex_def
osg::ref_ptr< osg::Texture2D > tex_ortho
TerrainConfigm_config
osg::ref_ptr< osg::Program > terrainShadowProg
osg::ref_ptr< osg::Program > mieTerrainProg
osg::ref_ptr
< osg::MatrixTransform > 
trans
osg::ref_ptr
< osg::MatrixTransform > 
trans_light
bool m_use_geometry_shader

Detailed Description

Class to create a terrain with O'Neal approach and tesselation shader


Constructor & Destructor Documentation

osgCloudyDay::TerrainGeometry::TerrainGeometry ( TerrainConfig config)

Constructor

Parameters:
configconfiguration of the terrain
osgCloudyDay::TerrainGeometry::~TerrainGeometry ( void  )

Deconstructor


Member Function Documentation

void osgCloudyDay::TerrainGeometry::Initialize ( )
virtual

Initalize method, creates the terrain

Implements osgCloudyDay::MyTerrain.


The documentation for this class was generated from the following files: