CloudyDay
 All Classes Functions Variables Enumerations
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
osgCloudyDay::Forest Class Reference

#include <Forest.h>

List of all members.

Public Member Functions

void Initialize ()
osg::Geode * GetGeode ()

Static Public Member Functions

static void CreateTexture ()
static void CreateShader ()
static void SetDefinitionOfTerrain (osg::Texture *definition)
static void SetHeightofTerrain (osg::Texture *heightmap)

Static Public Attributes

static osg::ref_ptr< osg::Program > m_forestProg
static osg::ref_ptr
< osg::Texture2D > 
tex_tree
static float * heightmap_data = 0
static osg::Vec4 * definition_data = 0
static int heightmap_height = 0
static int heightmap_width = 0

Protected Member Functions

void SetArrays ()
void SetUniforms (osg::ref_ptr< osg::StateSet > nodess4)

Protected Attributes

osg::ref_ptr< osg::Geode > geode
osg::ref_ptr< osg::Geometry > geometry
osg::ref_ptr< osg::Vec3Array > m_vertices
osg::ref_ptr< osg::UIntArray > m_indices

Detailed Description

NOT USED NOW


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