#include <TerrainGeometry.h>
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 | |
| Fog * | m_fog |
| osg::ref_ptr< osg::Texture2D > | tex_height |
| osg::ref_ptr< osg::Texture2D > | tex_def |
| osg::ref_ptr< osg::Texture2D > | tex_ortho |
| TerrainConfig * | m_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 |
Class to create a terrain with O'Neal approach and tesselation shader
| osgCloudyDay::TerrainGeometry::TerrainGeometry | ( | TerrainConfig * | config | ) |
Constructor
| config | configuration of the terrain |
| osgCloudyDay::TerrainGeometry::~TerrainGeometry | ( | void | ) |
Deconstructor
|
virtual |
Initalize method, creates the terrain
Implements osgCloudyDay::MyTerrain.
1.8.1.1