sky Namespace Reference

Sky module (SkyDome, Sun, Moon, Stars). More...


Classes

class  CloudParticle
 An individual cloud. More...
class  CloudParticleSystem
 Cloud particle system. More...
class  Conf
 Module configuration. More...
class  Moon
 Moon (Object-derivative) implemented as a Sprite. More...
class  Sky
 Sky model (Singleton). More...
class  SkyDome
 Sky dome. More...
class  SkyDomePainter
 Algorithms to paint SkyDome. More...
class  Stars
 Makes stars. More...
class  Sun
 Sun (stub). More...
class  Weather
 Weather model (Singleton). More...

Namespaces

namespace  defs
namespace  global

Enumerations

enum  { TYPESIG_SKY_DOME = (uint('d')<<24) | (uint('o')<<16) | (uint('m')<<8) | uint('e'), TYPESIG_SKY_DOME_POINT = (uint('s')<<24) | (uint('p')<<16) | (uint('n')<<8) | uint('t'), TYPESIG_SKY_DOME_PATCH = (uint('s')<<24) | (uint('p')<<16) | (uint('a')<<8) | uint('h') }

Functions

INTERN const NodeSort::Attribs CLOUD_NODE_SORT_ATTRIBS (NodeSort::Attribs::TRANSPARENT)
 CLASS_EVENT_LISTENER (CloudPreDrawViewListener, shptr< View >, CloudParticleSystem, mCloudParticleSystem) CloudParticle
 Listener to rotates clouds for every view.
ostream & operator<< (ostream &strm, const Conf &conf)
INLINE ConfGetConf (void)
void Init (const base::InitArgs &initArgs)
void Start (void)
void SetSkyFog (RefPtr< Node > node)
void SetSkyFog (RefPtr< Node > node)
INTERN const RGBA RAIN_COLOR (0.5f, 0.5f, 0.7f, 0.5f)
INTERN const RGBA SNOW_COLOR (1.0f, 1.0f, 1.0f, 0.5f)

Variables

INTERN const fp SKY_WIDTH_RATIO = 0.85f
INTERN const fp RAIN_INTENSITY = 0.8f
INTERN const fp SNOW_INTENSITY = 0.6f


Detailed Description

Sky module (SkyDome, Sun, Moon, Stars).

Enumeration Type Documentation

anonymous enum

Enumerator:
TYPESIG_SKY_DOME 
TYPESIG_SKY_DOME_POINT 
TYPESIG_SKY_DOME_PATCH 


Function Documentation

sky::CLASS_EVENT_LISTENER ( CloudPreDrawViewListener  ,
shptr< View ,
CloudParticleSystem  ,
mCloudParticleSystem   
)

Listener to rotates clouds for every view.

ctor/dtor.

INTERN const NodeSort::Attribs sky::CLOUD_NODE_SORT_ATTRIBS ( NodeSort::Attribs::TRANSPARENT   ) 

INLINE Conf& sky::GetConf ( void   ) 

void sky::Init ( const base::InitArgs initArgs  ) 

Initialize module.

ostream & sky::operator<< ( ostream &  strm,
const Conf conf 
)

Print Conf configuration.

INTERN const RGBA sky::RAIN_COLOR ( 0.  5f,
0.  5f,
0.  7f,
0.  5f 
)

void sky::SetSkyFog ( RefPtr< Node >  node  ) 

void sky::SetSkyFog ( RefPtr< Node >  node  ) 

Apply fog to a sky node.

INTERN const RGBA sky::SNOW_COLOR ( 1.  0f,
1.  0f,
1.  0f,
0.  5f 
)

void sky::Start ( void   ) 

Start module.


Variable Documentation

INTERN const fp sky::RAIN_INTENSITY = 0.8f

INTERN const fp sky::SKY_WIDTH_RATIO = 0.85f

INTERN const fp sky::SNOW_INTENSITY = 0.6f

Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010