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

#include <Blur.h>

Inheritance diagram for osgCloudyDay::Blur:
osgCloudyDay::HUD

List of all members.

Public Member Functions

 Blur (int renderorder)
 ~Blur (void)
virtual void SetupUniform (osg::ref_ptr< osg::StateSet > states)
virtual void SetupTextures (osg::ref_ptr< osg::StateSet > states)
virtual void CreateCamera ()
- Public Member Functions inherited from osgCloudyDay::HUD
 HUD (osg::ref_ptr< osg::Texture > debug_tex)
 HUD (void)
 ~HUD (void)
void CreateGeometry ()
void SetSceneTexture (osg::ref_ptr< osg::Texture2D > tex)
void SetGodrayTexture (osg::ref_ptr< osg::Texture2D > tex)
void SetCloudTexture (osg::ref_ptr< osg::Texture2D > tex)
osg::ref_ptr< osg::Camera > GetCamera ()

Additional Inherited Members

- Static Public Member Functions inherited from osgCloudyDay::HUD
static void Initialize ()
- Protected Attributes inherited from osgCloudyDay::HUD
osg::ref_ptr< osg::Texture2D > m_scenetex
osg::ref_ptr< osg::Texture2D > m_goodraytex
osg::ref_ptr< osg::Texture2D > m_cloudtex
osg::ref_ptr< osg::Program > sh_blur_linear
osg::ref_ptr< osg::Uniform > uniform_blur_texsize
osg::ref_ptr< osg::Uniform > uniform_avg_texsize
osg::ref_ptr< osg::Program > sh_lum
osg::ref_ptr< osg::Camera > cam_hud
osg::ref_ptr< osg::StateSet > nodessP
osg::ref_ptr< osg::Program > planeProg
osg::ref_ptr< osg::Geode > plane
int renderorder
osg::ref_ptr< osg::Texture > m_debug_tex
- Static Protected Attributes inherited from osgCloudyDay::HUD
static osg::ref_ptr
< osg::Texture2D > 
fbo_lum0_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_lum1_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_lum2_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_lum3_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_lum4_texture = 0
static osg::FrameBufferObject * fbo_Lum0 = 0
static osg::FrameBufferObject * fbo_Lum1 = 0
static osg::FrameBufferObject * fbo_Lum2 = 0
static osg::FrameBufferObject * fbo_Lum3 = 0
static osg::FrameBufferObject * fbo_Lum4 = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurV1_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurV2_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurV3_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurV4_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurH1_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurH2_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurH3_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_blurH4_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_star1_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_star2_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_star3_texture = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_star4_texture = 0
static osg::FrameBufferObject * fbo_V1_blur = 0
static osg::FrameBufferObject * fbo_H1_blur = 0
static osg::FrameBufferObject * fbo_V2_blur = 0
static osg::FrameBufferObject * fbo_H2_blur = 0
static osg::FrameBufferObject * fbo_V3_blur = 0
static osg::FrameBufferObject * fbo_H3_blur = 0
static osg::FrameBufferObject * fbo_V4_blur = 0
static osg::FrameBufferObject * fbo_H4_blur = 0
static osg::ref_ptr
< osg::Texture2D > 
fbo_glare_texture

Detailed Description

Blur class for glare effect. This class has to create 2 times. First, for horicontal blur, than for vertical blur.


Constructor & Destructor Documentation

osgCloudyDay::Blur::Blur ( int  renderorder)

Constructor

Parameters:
renderorderRender order of the camera.
osgCloudyDay::Blur::~Blur ( void  )

Deconstructor


Member Function Documentation

void osgCloudyDay::Blur::CreateCamera ( )
virtual

Method to create the camera

Reimplemented from osgCloudyDay::HUD.

void osgCloudyDay::Blur::SetupTextures ( osg::ref_ptr< osg::StateSet >  states)
virtual

Method to set the textures of the geode

Parameters:
statesStates of the geode

Reimplemented from osgCloudyDay::HUD.

void osgCloudyDay::Blur::SetupUniform ( osg::ref_ptr< osg::StateSet >  states)
virtual

Method to set the uniforms of the geode

Parameters:
statesStates of the geode

Reimplemented from osgCloudyDay::HUD.


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