r/Simulated • u/JangaFX • Jun 16 '20
EmberGen Simulating millions upon millions of GPU particles in real-time!
2
1
u/basopazogug Jun 16 '20
What you can simulate that in real-time? How? What computer do you have? I thought things like this take hours to simulate
5
u/JangaFX Jun 16 '20
It's our own software called EmberGen. You can check it out for yourself at https://jangafx.com/software/embergen/
I just have a GTX 1080, nothing crazy.
Though this GPU particle feature won't be in until our next update in a couple of weeks. But you can simulate explosions, smoke, fire, dust etc in real-time with the current build :)
1
1
u/Calandiel Jun 17 '20
Looking at another comment of the OP:
This ran at around 15FPS-30fps on a GTX 1080 depending on the sim.
so it's just barely fast enough
Still amazing tho
1
u/WoutTengrootenhuysen Jun 18 '20
Huh, what do you mean barely fast enough ? That's lightspeed ! :) Imagine doing a sim with 15 million particles in your 3D package of choice, how long would that take ? :)
0
u/Calandiel Jun 18 '20
He said "in real-time". 15-30fps is barely enough to call real time. If you put that in a video game, you'd have people complain about it feeling laggy.
I wouldn't be doing 15 million particles in "my 3D package of choice". I would implement it from scratch myself if I had a need for it. I somehow doubt general purpose pipelines would handle it well.
1
1
u/tbg10101 Jun 17 '20
I tried coding this sort of thing from scratch a while back. Unfortunately mine isn't nearly as good-looking as the ones in your video: https://imgur.com/TgpRIsc
Maybe I'll finish it one day.
10
u/JangaFX Jun 16 '20
Upcoming GPU particles feature for EmberGen. I think at most in one of these scenes there was around 15 million GPU particles, though you could do more if you wanted to. The idea is to be able to use both GPU particles and volumes (voxels) to create awesome fluid sims. (Not liquids).
This ran at around 15FPS-30fps on a GTX 1080 depending on the sim.