Public Types |
| enum | CloudType {
CT_Stratus,
CT_AltStratus,
CT_StratoCumulusGenerator,
CT_Cumulus,
CT_Nimbostratus,
CT_Cumolonimbus,
CT_AltCumulusGenerator,
CT_Quantity
} |
| enum | WC_Uniform {
WCU_LightPos,
WCU_TimeOfDay,
WCU_Fading,
WCU_Density,
WCU_AmbientLight_H0,
WCU_AmbientLight_H1,
WCU_AmbientLight_T0,
WCU_AmbientLight_T1,
WCU_DirectionalColor,
WCU_SunLightColor,
quantity
} |
Public Attributes |
|
CloudLayerUpdate * | cloud_layer_update |
|
osg::ref_ptr< osg::Uniform > | project_lightuniform |
|
osg::ref_ptr< osg::Uniform > | modelViewMatrix_lightuniform |
|
osg::ref_ptr< osg::Uniform > | viewMatrix_lightuniform |
|
osg::ref_ptr< osg::Uniform > | viewMatrixInv_lightuniform |
|
osg::ref_ptr< osg::Uniform > | projectuniform |
|
osg::ref_ptr< osg::Uniform > | modelViewMatrixuniform |
|
osg::ref_ptr< osg::Uniform > | viewMatrixuniform |
|
osg::ref_ptr< osg::Uniform > | viewMatrixInvuniform |
|
osg::ref_ptr< osg::Geode > | quadBillBoard |
|
osg::ref_ptr< osg::StateSet > | nodess4 |
|
osg::ref_ptr< osg::Vec3Array > | m_cloudcenter |
|
osg::ref_ptr< osg::IntArray > | m_start_indices |
|
bool | setup_attribute |
|
osg::ref_ptr< osg::Geode > | geode |
osg::ref_ptr
< osgCloudyDay::CloudGeometry > | geometry |
|
int | numClouds |
|
std::vector< WangCloud * > | m_clouds |
Static Public Attributes |
|
static float | timeOfDay = 0.75 |
|
static float | fading = 0.0 |
|
static float | dens = 1.0 |
|
static osg::Vec3 | ambientLight_h0 = osg::Vec3(0.f, 0.f, 0.f) |
|
static osg::Vec3 | ambientLight_h1 = osg::Vec3(1.f, 1.f, 1.f) |
|
static osg::Vec3 | ambientLight_t0 = osg::Vec3(0.f, 0.f, 0.f) |
|
static osg::Vec3 | ambientLight_t1 = osg::Vec3(1.f, 1.f, 1.f) |
|
static osg::Matrix3 | directionalColors = osg::Matrix3(0.4, 0.4, 0.4, 0.8, 0.8, 0.8, 0.9, 0.9, 0.9) |
|
static float | time = 0.f |
|
static osg::Vec3 | sunLightColor = osg::Vec3(1.f, 1.f, 1.f) |
|
static osg::ref_ptr< osg::Program > | cloudShadowMapProg |
|
static osg::ref_ptr< osg::Program > | cloudBlurHoriProg |
|
static osg::ref_ptr< osg::Program > | cloudBlurVertProg |
|
static osg::ref_ptr< osg::Program > | cloudBlurLinearHoriProg |
|
static osg::ref_ptr< osg::Program > | cloudBlurLinearVertProg |
|
static osg::ref_ptr< osg::Program > | cloudProg |
|
static osg::ref_ptr< osg::Program > | cloudShadowProg |
static osg::ref_ptr
< osg::Texture2D > | tex_clouds |
|
static osg::FrameBufferObject * | fbo_viewer |
|
static osg::FrameBufferObject * | fbo_light |
|
static bool | m_backtofront = true |
|
static bool | m_backtofront_old = true |
static osg::ref_ptr
< osg::Texture2D > | fbo_light_texture |
static osg::ref_ptr
< osg::Texture2D > | fbo_cloud_texture |
|
static osg::FrameBufferObject * | fbo_cloud_viewer |
|
static osg::FrameBufferObject * | fbo_shadow |
|
static osg::FrameBufferObject * | fbo_vert_linear_blur |
|
static osg::FrameBufferObject * | fbo_hori_linear_blur |
|
static osg::FrameBufferObject * | fbo_vert_blur |
|
static osg::FrameBufferObject * | fbo_hori_blur |
|
static osg::FrameBufferObject * | fbo_hori_blur2 |
Protected Attributes |
|
osg::Vec2 | m_numOfClouds |
|
std::vector< int > | sequence |
|
unsigned int | m_num_indices |
|
std::vector< unsigned int > | m_layerToNumberCloud |
|
std::vector< unsigned int > | m_layerToCloudType |
|
std::vector< unsigned int > | m_layerToCloudLayerID |
|
osg::ref_ptr< osg::IntArray > | m_startLayerIndex |
|
osg::ref_ptr< osg::Vec3Array > | m_vertices |
|
osg::ref_ptr< osg::Vec3Array > | m_bb_min |
|
osg::ref_ptr< osg::Vec3Array > | m_bb_max |
|
osg::ref_ptr< osg::Vec4Array > | m_rotation |
|
osg::ref_ptr< osg::Vec4Array > | m_center |
|
osg::ref_ptr< osg::Vec4Array > | m_ids |
|
osg::ref_ptr< osg::Vec4Array > | m_box_centers |
|
osg::ref_ptr< osg::Vec4Array > | m_color |
|
osg::ref_ptr< osg::IntArray > | m_numPrimitiveArrays |
|
std::map< int, std::string > | m_uniforms |
|
osg::ref_ptr< osg::Vec3Array > | m_ambientlight_h |
|
osg::ref_ptr< osg::Vec3Array > | m_ambientlight_t |
|
osg::ref_ptr< osg::Vec3Array > | m_diffuselight |
|
Fog * | m_fog |
Class, which is used to manage the 3D clouds