Game Development Community

Questions regarding particle engine.

by Dane McGreevy · in Torque Game Engine · 07/30/2006 (10:57 pm) · 4 replies

Hello, I am not game maker but modeller. I intend to simulate air quality and air pollution dispersion by using this engine. In the first stage, my goals are

1. pollution dispersion:
1.1 to generate pollutants (smoke) from point sources (power station stacks)
1.2 the emission variables can be controled, such as emission rate, velocity, operation periods, and so on
1.3 the movements of pollution plume can be controled, by pre-defined paths or wind (speed and direction)
1.4 the pattern of pollution plume can be simulated properly, rise height, shape of plume, these will be calculated by scientific models

2. Environments:
2.1 to represent local 3D grid wind variables speed and direction, the study domain is divided by regular grids and 3D wind variables for each grid are in text file for representation.
2.2 to visualize air quality (indicator concentrations) for each grid.
2.3 to simulate the changes of air quality

Could I achieve them by particle engine? Is there a build-in grid in TGE and could I change its size?

I am new to Torque. I would be very appreciated if anyone can give me any advices or suggest me some studying materials.

Cheers,

#1
07/31/2006 (12:19 am)
1.1 - yes
1.2 - yes
1.3 - think you can
1.4 - yes

2.1 - yes
2.2 - yes
2.3 - yes

To see the grid, go into the world editors (I think there may be a setting to turn it on, might be on by default)
#2
07/31/2006 (3:50 pm)
Thanks James, it is good to know. But it seems long way for me to achieve these goals. Do u have any recommended samples or articles as references? Cheers,
#3
08/01/2006 (10:31 am)
Unfortunatly, for 1.2 and 1.4 you'd have to dig into the engine. Particles (and many other objects) are loaded trough datablocks and you cannot manipulate them in realtime. If you didn't intend to manipulate them in realtime, then it's all good though.
#4
08/01/2006 (6:13 pm)
Thanks Stefan, there are three dynamic phenomena I want to simulate: pollution emission and dispersion, air quality change and meteorological parameters (3D local wind speeds and directions).

I imagine that

pollution emission and dispersion could be simulated as smoke from point sources. I try to represent the emission rate, velocity and concentrations. Could I change emission parameters in real-time by using EjectionPeriodMs, PeriodVarianceMS, EjectionVelocity and VelocityVariance? Could the color of particles (pollutant concentrations) can be changed by using Color Array in pre-defined time series?

local air quality (environmental indicator concentrations) changes could be simulated as wispy fog with changing hue for each grid (not global fog). like visualiization of air quality in game SimCity.

the changing of wind speed and direction can be represented by changing rotation and color of objects.

Do u think whether I could achieve these goals in ParticleEngine?

Cheers,