sky::CloudParticleSystem Class Reference

Cloud particle system. More...

#include <_src_sky_clouds.hh>

Inheritance diagram for sky::CloudParticleSystem:

fx::BigParticleSystem fx::ParticleSystem

List of all members.

Public Member Functions

 CloudParticleSystem (SkyDome &skyDome, const BoxVolume &skyVolume, const uint cloudCountDivisor, const string &textureName)
 ~CloudParticleSystem ()

Private Member Functions

void MakeClouds (SkyDome &skyDome, const BoxVolume &skyVolume, const uint cloudCountDivisor)
void PreDraw (shptr< View > view)

Private Attributes

shptr< CloudPreDrawViewListener > mPreDrawViewListener
 to rotate clouds according to view
Degree mRollDeg
 degree of roll of all Sprites

Friends

class CloudPreDrawViewListener


Detailed Description

Cloud particle system.

Currently, clouds are rendered by randomly picking a pre-loaded (artist-drawn) texture image. Procedural-texture functions aren't implemented in this version.


Constructor & Destructor Documentation

sky::CloudParticleSystem::CloudParticleSystem ( SkyDome skyDome,
const BoxVolume &  skyVolume,
const uint  cloudCountDivisor,
const string &  textureName 
)

ctor/dtor. For speed, timer-tick is disabled (so clouds won't move).

sky::CloudParticleSystem::~CloudParticleSystem (  ) 


Member Function Documentation

void sky::CloudParticleSystem::MakeClouds ( SkyDome skyDome,
const BoxVolume &  skyVolume,
const uint  cloudCountDivisor 
) [private]

ctor subroutine.

void sky::CloudParticleSystem::PreDraw ( shptr< View >  view  )  [private]


Friends And Related Function Documentation

friend class CloudPreDrawViewListener [friend]


Member Data Documentation

shptr<CloudPreDrawViewListener> sky::CloudParticleSystem::mPreDrawViewListener [private]

to rotate clouds according to view

degree of roll of all Sprites


The documentation for this class was generated from the following files:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010