#MAT201B Final Project ###Fall 2015, Chang HE (Hilda)
##Description: The program randomly generates lightning which is the simulation of plasma and shoots the nucleus on its surface, and the nucleus will bulge in direction of the lightning to absorb the plasma. Audience can interact with Plasma to generate new lightning by pointing the direction they want and pinch using PhaseSpace. There’s also electric sound when every plasma is generated.
##Interaction:
- you can use PhaseSpace
- Press "+" key to accelerate the speed of lightnings
- Press "-" key tp slpow down the speed of lightnings
##Files and How to run them##
- Go to student/chang.he/fp (fp stands for final project)
- Run simulator_4.cpp
- Run render_allosphere_4.cpp
Although there are many files in my fp repository, only 4 of them are the final version for grading and presentation. They are:
- simulator_4.cpp
- render_allosphere_4.cpp (there is no backslash in file name)
- common_4.hpp
- phasespace_interaction.hpp
##Future Developments:
- Snowflake effect at the starting point of the lightning
- Volume rendering
- 3D lighting algorithms
- GPU threshold in allo_render
- Spatial sound
##Reference: http://gamedevelopment.tutsplus.com/tutorials/how-to-generate-shockingly-good-2d-lightning-effects--gamedev-2681
For more realistic lightning see http://gamma.cs.unc.edu/FAST_LIGHTNING/lightning_tvcg_2007.pdf
##Thanks Thanks for the huge help from Karl Yerkes and Tim Wood.
Also thank to Zenghui Yan, Qiaodong Cui, Jingxiang Liu, Kurt Kaminski and my mom and dad.