Skip to content

changer42/plasmaBall

Repository files navigation

#MAT201B Final Project ###Fall 2015, Chang HE (Hilda)

Plasma pamplet

##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:

  1. you can use PhaseSpace
  2. Press "+" key to accelerate the speed of lightnings
  3. Press "-" key tp slpow down the speed of lightnings

##Files and How to run them##

  1. Go to student/chang.he/fp (fp stands for final project)
  2. Run simulator_4.cpp
  3. 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:

  1. simulator_4.cpp
  2. render_allosphere_4.cpp (there is no backslash in file name)
  3. common_4.hpp
  4. phasespace_interaction.hpp

##Future Developments:

  1. Snowflake effect at the starting point of the lightning
  2. Volume rendering
  3. 3D lighting algorithms
  4. GPU threshold in allo_render
  5. 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.

About

computer graphic: C++ based plasma ball simulation in omni-rendering environment with interaction for Allosphere-research-group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages