#include <Scene.h>
Public Member Functions | |
| Scene (int width, int height) | |
| ~Scene (void) | |
Static Public Member Functions | |
| static void | CreateViewCamera () |
| static void | CreateLightCamera () |
| static void | CreateViewDepthCamera () |
| static osg::Matrix & | GetViewMatrix_View () |
| static osg::Matrix & | GetProjectionMatrix_View () |
| static osg::Matrix & | GetProjectionMatrix_Light () |
| static osg::ref_ptr< osg::Camera > | GetLightCamera () |
| static osg::ref_ptr< osg::Camera > | GetViewCamera () |
| static osg::ref_ptr< osg::Camera > | GetViewCamera2 () |
| static osg::ref_ptr< osg::Camera > | GetViewDepthCamera () |
| static void | SetLightCamera (osg::ref_ptr< osg::Camera > c) |
| static void | SetViewCamera (osg::ref_ptr< osg::Camera > c) |
| static osg::ref_ptr< osg::Program > | GetShadowProgram () |
| static osg::ref_ptr< osg::Program > | GetShadingProgram () |
| static osg::ref_ptr< osg::Program > | GetDebugProgram () |
| static int | GetWidth () |
| static int | GetHeight () |
| static osg::ref_ptr < osg::Texture2D > | GetShadowTexture () |
| static osg::ref_ptr < osg::Texture2D > | GetShadowDepthTexture () |
| static osg::ref_ptr < osg::Texture2D > | GetSceneDepthTexture () |
| static osg::ref_ptr < osg::Texture2D > | GetSceneTexture () |
| static osg::ref_ptr < osg::Texture2D > | GetGoodRayTexture () |
| static osg::ref_ptr < osg::Texture2D > | GetHUDTexture () |
| static osg::ref_ptr < osg::Texture2D > | GetBlurTexture () |
Static Public Attributes | |
| static osgCloudyDay::Skydome * | m_skydome |
| static osg::FrameBufferObject * | fbo_vert_linear_blur2 |
| static osg::FrameBufferObject * | fbo_hori_linear_blur2 |
| static osg::FrameBufferObject * | fbo_scene_viewer |
Class to manage the whole scene
| osgCloudyDay::Scene::Scene | ( | int | width, |
| int | height | ||
| ) |
Constructor of scene
| width | window width |
| height | window height |
| osgCloudyDay::Scene::~Scene | ( | void | ) |
Deconstructor
|
static |
Create shadow camera
|
static |
Create viewer camera
|
static |
Create viewer depth camera
|
static |
MEthod returns a helper texture for blurring
|
static |
This method returns the debug shader
|
static |
Method returns lightshaft texture
|
static |
This method returns the height of the window
|
static |
|
static |
Return shadow camera
|
static |
Returns projection matrix of shadow
|
static |
Returns projection matrix of viewer
|
static |
Method returns the depth map from the viewer
|
static |
Method returns scene rendererd from viewer
|
static |
This method returns the shading shader
|
static |
Method returns the depth map from the light
|
static |
This method returns the shadowing shader
|
static |
Method returns the variance shadow map
|
static |
Return viewer camera
|
static |
Return viewer camera
|
static |
Return viewer depth camera
|
static |
Returns view matrix of viewer
|
static |
This method returns the width of the window
|
static |
Set shadow camera
| c | shadow camera |
|
static |
Set viewer camera
| c | viewer camera |
1.8.1.1