CS513 Assignment 4.1: Particles

by Muhammad Karim

General Configurations:
   # Development Platform: Visual C++ 2008, Debug+Release build
   # Used OpenFrameworks library
   # Graphics Hardware: ATI Mobility Radeon HD 3470 (OpenGL 2.1)

  1. Basic Particles Results:



    Animating view aligned particles

    More Particles:

    ***Update Point Sprites working in the Linux build



  2. Discussion:

    1. Dynamics: Each particles generates with a random direction from a source position and shoots out with some gravitational pull, as the gravitational pull increases in time, they are pull back towards the source. Each particle also has a random lifetime of [0,10] seconds, after which they regenerate from source.
    2. The texture for the particles is a square image, but only a circle has been drawn from the center, other parts were made transparent, and a blend function was used make the parts outside of the circle transparent.
    3. I finally got point sprites working after building my project on linux, the same code fails (to send texture coordinates to the fragment program) in Windows, which I have strong reasons to believe to be a ATI driver issue.