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

#include <Rain.h>

List of all members.

Public Member Functions

 Rain (void)
 ~Rain (void)
void Initialize ()
osg::ref_ptr< osg::Geode > GetGeode ()

Static Public Member Functions

static void CreateShader ()
static void CreateTexture ()

Protected Member Functions

float frand ()

Protected Attributes

osg::ref_ptr< osg::Geode > m_geode
std::vector< unsigned int > m_index
osg::ref_ptr< osg::Vec3Array > m_vertices
osg::ref_ptr< osg::Vec4Array > m_velocity
osg::ref_ptr< osg::Vec4Array > m_information

Static Protected Attributes

static osg::ref_ptr< osg::Program > m_rain_shader
static osg::ref_ptr
< osg::Texture3D > 
m_rain_texture

Detailed Description

Class to create a rain effect


Constructor & Destructor Documentation

osgCloudyDay::Rain::Rain ( void  )

Constructor

osgCloudyDay::Rain::~Rain ( void  )

Deconstructor


Member Function Documentation

void osgCloudyDay::Rain::CreateShader ( )
static

Creates the shader

void osgCloudyDay::Rain::CreateTexture ( )
static

Creates the texture

osg::ref_ptr< osg::Geode > osgCloudyDay::Rain::GetGeode ( )

Returns the geode

Returns:
geode
void osgCloudyDay::Rain::Initialize ( )

Initialize the rain effect


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