Main Page | Class List | Directories | File List | Class Members | File Members

smoke.h File Reference

#include <list>
#include "opengl.h"
#include "particle.h"

Go to the source code of this file.

Defines

#define SMOKE   "data/smoke.bmp"
 The path to the smoke texture bitmap.
#define SMOKEMASK   "data/smokemask.bmp"
 The path to the transparency mask bitmap.
#define SMOKE_DAMPING   0.04
 The damping coefficient.
#define SMOKE_MASS_MEAN   0.01
 The mean mass.
#define SMOKE_MASS_STD   0.001
 The standard deviation of the mass.
#define SMOKE_POS_STD   0.1
 The standard deviation of the initial position.
#define SMOKE_VEL_LENGTH_STD   1.0
 The standard deviation of the initial velocity length.
#define SMOKE_VEL_ANGLE_MEAN   0.0
 The mean rotation angle of the initial velocity.
#define SMOKE_VEL_ANGLE_STD   0.1
 The standard deviation of rotation angle of the initial velocity.
#define SMOKE_LIEFTIME_MEAN   2.0
 The mean lifetime.
#define SMOKE_LIEFTIME_STD   1.0
 The standard deviation of the lifetime.
#define SMOKE_FORCE_MEAN_X   0.0
 The mean external force (x-component).
#define SMOKE_FORCE_MEAN_Y   0.15
 The mean external force (y-component).
#define SMOKE_FORCE_STD   0.001
 The standard deviation of the external force.
#define SMOKE_FORCE_AGE_COEFF   0.5
 Determines the decrement factor of the external force, depending on the relative particle age.


Detailed Description


Define Documentation

#define SMOKE_FORCE_AGE_COEFF   0.5
 

Determines the decrement factor of the external force, depending on the relative particle age.

The factor (SMOKE_FORCE_AGE_COEFF - relative age) is applied to the (perturbated) external force in each time step.


Generated on Sun Jul 10 22:32:04 2005 for S12 by  doxygen 1.4.2