Computer Graphics 266
Index |
Lab 0 |
Lab 1 |
Lab 2 |
Lab 3 |
Lab 4 |
Lab 5
Lab 5:
Implement a project of your own choosing.
Description:
I implemented a particle system that supports multiple emitters and arbitrary fields.
Emitters are parametrized according to emitter position, emitter orientation, emitter spread
angle, spread distribution, particles per timestep, particle color, particle speed, amount of
variation in particle speed, particle lifetime, and duration of particle emission. The
particles are rendered as points.
I created an option for approximating a Gaussian distribution of particles about a general
orientation by taking the average of two or more random numbers rather than the random number
itself. This is crude but reasonably effective. I also created a choice between having the
distribution concentrated at 0 or theta, where theta is the maximum spread angle.
|