I made a better definition video about my last GPU experiment. At this state, this point sprite particle systems receive light from Unity 5.5 pipeline and it is now full integrated with forward rendering.
I’m still working on gravity, adjusting some velocities, masses, distances and timescale to get realistic behaviors. Here you can see how it’s running in real-time in Unity. There is a little frame drop due to video recording but the output is still OK. My graphic card is a Nvidia GTX 590 with 1024 CUDA cores.
Some data from this experience:
Emitted particles have a random mass between 1 and 1.000.000.
The black hole itself has a mass of 12.000.000.000.
Each mouse click releases 150 particles per frame.
The true purpose here was to emit clusters of stars and watch the black hole swallow them. At 3:53, there is a timescale effect preview.
As this experience is fully running on GPU and asking a lot of work from the cores, I was not able to record the video in 1080p without significant frame drops. Sorry for that.
This experience is a part of a game prototype based on GPU physics.
The idea: Birth and Death of Stars.
Three months ago, I started a new personal project directly inspired from Professor Walter Lewin lectures and Andrea Ghez studies on this subject. You’ll be able to select some light elements from the periodic table and drop into empty space. Based on Newton’s law, these elements start attracting each other to form stars (red small ones, blue giants, …). Then, these stars can turn to supernova (you are winning new periodic elements in big and stunning explosions, see my prototype below) and they can also end into white dwarf, neutron star, even black hole, depending the amount of matter used or added during the game… you can loose everything if you don’t consider objects velocities, masses, …
That’s a big project and I only work on it during some nights but, with GPU multithreading in DirectX11 under Unity, the challenge is quite possible.