fx Namespace Reference

Special-effects. More...


Classes

class  Conf
 Module configuration. More...
class  FX
 Special-effects container (Singleton). More...
class  ImageCache
 Cache of images files (for texture objects). More...
class  MotionBlur
 Motion blur. More...
class  ParticleSystem
 Base class for particle-systems. More...
class  BigParticle
 Big particle. More...
class  BigParticleSystem
 Big particle-system. More...
class  ExplosionParticle
 Explosion particle. More...
class  ExplosionParticleSystem
 Explosion particle-system (private implementation of FX class). More...
class  MediumParticleDrawable
 This is an OSG Drawable object that directly renders point-sprites. More...
struct  MediumParticle
 Opaque struct that defines a medium particle. More...
class  MediumParticleSystem
 Particle-system based on OpenGL point-sprites. More...
struct  SmallParticle
 Opaque struct that defines a small particle. More...
class  SmallParticleSystem
 Particle-system for small particles (based on OpenGL points or point-sprites). More...
class  TrailParticleSystem
 Trail particle-system (private implementation of FX class). More...
class  Sprite
 Sprite class. More...
class  Texture
 Texture class abstracts a texture object. More...

Namespaces

namespace  defs
namespace  global

Typedefs

typedef osg::Image Image

Enumerations

enum  {
  TYPESIG_TEXTURE = (uint('t')<<24) | (uint('x')<<16) | (uint('t')<<8) | uint('u'), TYPESIG_SPRITE = (uint('s')<<24) | (uint('p')<<16) | (uint('r')<<8) | uint('i'), TYPESIG_PARTICLE_SYSTEM = (uint('p')<<24) | (uint('t')<<16) | (uint('s')<<8) | uint('y'), TYPESIG_SMALL_PARTICLE_SYSTEM = (uint('s')<<24) | (uint('p')<<16) | (uint('s')<<8) | uint('y'),
  TYPESIG_MEDIUM_PARTICLE_SYSTEM = (uint('m')<<24) | (uint('d')<<16) | (uint('p')<<8) | uint('s'), TYPESIG_MEDIUM_PARTICLE_DRAWABLE = (uint('m')<<24) | (uint('d')<<16) | (uint('d')<<8) | uint('r'), TYPESIG_BIG_PARTICLE = (uint('b')<<24) | (uint('g')<<16) | (uint('p')<<8) | uint('r'), TYPESIG_BIG_PARTICLE_SYSTEM = (uint('b')<<24) | (uint('p')<<16) | (uint('s')<<8) | uint('y')
}
 Type signatures. More...

Functions

ostream & operator<< (ostream &strm, const Conf &conf)
INLINE ConfGetConf (void)
void Init (const base::InitArgs &initArgs)
void Start (void)
INTERN const Milliseconds EXPLOSION_PARTICLE_LIFETIME (8 *1000)
INTERN const uint EXPLOSION_PARTICLES_PER_SECOND (40)
INTERN const RGBA TRAIL_COLOR (0xb0, 0xb0, 0xb0, 0xa0)

Variables

INTERN int sBigParticleCount = 0
INTERN const uint EXPLOSION_PARTICLE_LIMIT = 100
INTERN const int EXPLOSION_SUB_TICK_MASK = 1
INTERN const fp EXPLOSION_PARTICLE_SPIN_DEG = 12.0f
INTERN const fp EXPLOSION_PARTICLE_SPIN_DEG_HALF = 0.5f * EXPLOSION_PARTICLE_SPIN_DEG
INTERN const uint MEDIUM_PARTICLES_LIMIT = 5000
INTERN const uint MEDIUM_PARTICLES_RESERVE = 5000
INTERN const uint SMALL_PARTICLES_LIMIT = 5000
INTERN const uint SMALL_PARTICLES_RESERVE = 5000
INTERN const NodeSort SMALL_PARTSYS_NODE_SORT = NodeSort( fx::defs::PARTSYS_NODE_SORT_ATTRIBS )
INTERN const uint TRAIL_PARTICLE_LIMIT = 5000
INTERN const uint TRAIL_PARTICLES_PER_SECOND = 80


Detailed Description

Special-effects.

Typedef Documentation

typedef osg::Image fx::Image


Enumeration Type Documentation

anonymous enum

Type signatures.

Enumerator:
TYPESIG_TEXTURE 
TYPESIG_SPRITE 
TYPESIG_PARTICLE_SYSTEM 
TYPESIG_SMALL_PARTICLE_SYSTEM 
TYPESIG_MEDIUM_PARTICLE_SYSTEM 
TYPESIG_MEDIUM_PARTICLE_DRAWABLE 
TYPESIG_BIG_PARTICLE 
TYPESIG_BIG_PARTICLE_SYSTEM 


Function Documentation

INTERN const Milliseconds fx::EXPLOSION_PARTICLE_LIFETIME ( 8 *  1000  ) 

INTERN const uint fx::EXPLOSION_PARTICLES_PER_SECOND ( 40   ) 

INLINE Conf& fx::GetConf ( void   ) 

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

Initialize module.

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

Print Conf configuration.

void fx::Start ( void   ) 

Start module.

INTERN const RGBA fx::TRAIL_COLOR ( 0xb0  ,
0xb0  ,
0xb0  ,
0xa0   
)


Variable Documentation

INTERN const uint fx::EXPLOSION_PARTICLE_LIMIT = 100

INTERN const fp fx::EXPLOSION_PARTICLE_SPIN_DEG = 12.0f

INTERN const fp fx::EXPLOSION_PARTICLE_SPIN_DEG_HALF = 0.5f * EXPLOSION_PARTICLE_SPIN_DEG

INTERN const int fx::EXPLOSION_SUB_TICK_MASK = 1

INTERN const uint fx::MEDIUM_PARTICLES_LIMIT = 5000

INTERN const uint fx::MEDIUM_PARTICLES_RESERVE = 5000

INTERN int fx::sBigParticleCount = 0

INTERN const uint fx::SMALL_PARTICLES_LIMIT = 5000

INTERN const uint fx::SMALL_PARTICLES_RESERVE = 5000

INTERN const uint fx::TRAIL_PARTICLE_LIMIT = 5000

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