#include <AltStratus.h>
Public Member Functions | |
| AltStratus (osg::Vec3 position, osg::Vec2 size) | |
| ~AltStratus (void) | |
| void | Initialize (osg::Vec3 position, osg::Vec2 size) |
| virtual void | SetupGeometry (osg::Vec3 position, osg::Vec2 size, osg::Vec3Array *vertices, osg::Vec2Array *texcoords, osg::UIntArray *indices) |
Public Member Functions inherited from osgCloudyDay::Cloud2D | |
| Cloud2D () | |
| ~Cloud2D () | |
| void | Cloud2D::SetGeometry () |
| void | Cloud2D::SetGeometry (osg::Vec3 position, osg::Vec2 size) |
| void | Cloud2D::Create (osg::Geode *geode, osg::Image *perlinImg) |
| void | Create (osg::Geode *geode, osg::Image *perlinImg, osg::Image *perlinNormalImg) |
| void | Create (osg::Geode *geode, osg::Image *perlinImg, osg::Image *perlinNormalImg, osg::Image *perlinHeightImg) |
| osg::Image * | CreateNormalMap (osg::Image *img) |
Additional Inherited Members | |
Public Attributes inherited from osgCloudyDay::Cloud2D | |
| osg::Geometry * | geom |
| osg::Geode * | geode |
| osg::Node * | terrain_obj |
| bool | m_tesselation |
Protected Attributes inherited from osgCloudyDay::Cloud2D | |
| osg::Vec3Array * | coords |
| osg::Vec2Array * | tcoords |
| osg::UIntArray * | indices |
Class to create a 2D alt-stratus cloud layer
| osgCloudyDay::AltStratus::AltStratus | ( | osg::Vec3 | position, |
| osg::Vec2 | size | ||
| ) |
Constructor
| position | middlepoint of the geometry |
| size | size of the geometry |
| osgCloudyDay::AltStratus::~AltStratus | ( | void | ) |
Deconstructor
| void osgCloudyDay::AltStratus::Initialize | ( | osg::Vec3 | position, |
| osg::Vec2 | size | ||
| ) |
Sets the texture to the cloud and creates the geometry
| position | middlepoint of the geometry |
| size | size of the geometry |
|
virtual |
Method, which creates the geometry
| position | middlepoint of the geometry |
| size | size of the geometry |
| vertices | Vertices array of the geoemtry |
| texcoords | Texture coordinates array of the geoemtry |
| indices | Indices array of the geoemtry |
Implements osgCloudyDay::Cloud2D.
1.8.1.1