Thursday, August 23, 2007

Framework Updates

In the old framework, the dust-manager class cannot handle multiple effects and thus only one type of effect can only be shown on the screen. For now, I've change the static variables in CDustShader class to enable multiple effects to be handled by the dust manager. Also, I've created high level input parameters for the dust manager in order to allow easy specification of effects. The new input parameters includes shape (sphere, torus, cylinder, and a curvy shape primative) , element(fire, dust, smoke and light smoke) and motion (helix, rising straight smoke, dispersed, and no motion)

Currently, the program allows multiple effects such as fire, tornado, thin smoke etc to be displayed at the same time. Some screen shots of the effects have been taken.


Torus primative created


Small flame using Sphere primative


Burning


Thick smoke


Thin black smoke using curvy shape primative

Thin white smoke

Tornado using curvy shape primative