The beginning of particle simulation

posted in The Cuboid Zone
Published February 15, 2015
Advertisement
Last Entry: https://www.gamedev.net/blog/1882/entry-2260844-got-new-particle-rendering-up-and-running-simulation-next/

So I got a basic backbones of the simulation system up and running. The simulation happens in a compute shader, and everything just works out, which is great! smile.png So to test it out I put two point masses with low intensity a bit from eachother, and this was the result.
Next step will to be stretch the particles based on velocity for a fake like motion blur, and then allowing the particles to collide with the objects around them.

GIF:
il5rcCk.gif

OwKDpty.png
Until next time!
5 likes 8 comments

Comments

dsm1891

How many particles are on screen? I keep losing count...

February 15, 2015 08:58 PM
Migi0027

How many particles are on screen? I keep losing count...

:D. 20 000

February 15, 2015 09:13 PM
TheChubu

Looks good. Too bad GIF has a crappy color range.

February 15, 2015 09:28 PM
Migi0027

Looks good. Too bad GIF has a crappy color range.

Thanks, maybe the software isnt "that" good as well

February 15, 2015 09:41 PM
dsm1891

you should record in as a video, then convert to gif, what software is it?

February 15, 2015 10:28 PM
unbird

Looking good. Compute shaders are fun: You can bind buffers as in- and output and no graphics pipeline is "in the way". Though getting the hang of the group shared mem, coalescing memory access and all that jazz is more involved, of course.

February 16, 2015 01:47 PM
Migi0027

Looking good. Compute shaders are fun: You can bind buffers as in- and output and no graphics pipeline is "in the way". Though getting the hang of the group shared mem, coalescing memory access and all that jazz is more involved, of course.

Yeah theres still lots to do, currently Im just simulating it in 32 threads. And the particles dont have any interaction with eachother, so theres so dangerous memory access issues yet!

February 16, 2015 05:31 PM
Migi0027

you should record in as a video, then convert to gif, what software is it?

http://gifrecorder.com/

February 16, 2015 05:34 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement