PDA

View Full Version : sph fluid simulation progress


Nate The Great
07-25-2009, 02:14 AM
so heres a few vids of my sph fluid simulation from oldest to newest. Its not multithreaded yet but hopefully will be soon.

@ kotsoft - I borrowed some of your images from polluted planet as placeholders. I hope thats ok if its not ill remove them

oldest:
http://www.youtube.com/watch?v=IPF2CUfFktg
http://www.youtube.com/watch?v=4dl1LWnwR44
http://www.youtube.com/watch?v=hji_bYk9gVk
http://www.youtube.com/watch?v=wssQQA-8tKQ
http://www.youtube.com/watch?v=2SrOk7xY9gU
http://www.youtube.com/watch?v=bgW2hlAj1oI
most recent

the last vid has surface tension as well as better viscosity and less compression.

edit: you can download the last vid now here

http://naillproductions.synthasite.com/resources/Flood.zip

oops, I used kotsofts particles from polluted planet as placeholders and I forgot to remove them... is that ok kot?

Wrestler#1
07-25-2009, 06:51 AM
I love you! :D

Will there be a demo for us we can download?

Nate The Great
07-25-2009, 05:48 PM
Will there be a demo for us we can download?

maybe soon... in fact ill upload one right now!

ok added the download to the first post

Oblivion2031
07-25-2009, 06:32 PM
The demo is very cool, but the water and oil spawn to slowly, and I'm pretty sure it's not lag. Is there any way you can speed that up?

Nate The Great
07-25-2009, 06:40 PM
yeah I can speed it up but then sometimes the particles freak out if they spawn in exactly the same place but this isnt a game yet so the spawn speed of the particles is the least of my worries...

Oblivion2031
07-25-2009, 07:18 PM
yeah I can speed it up but then sometimes the particles freak out if they spawn in exactly the same place but this isnt a game yet so the spawn speed of the particles is the least of my worries...

Oh, I understand. So you're planning on turning it into a game?
Sounds like fun, and good luck!

Nate The Great
07-25-2009, 07:56 PM
Oh, I understand. So you're planning on turning it into a game?
Sounds like fun, and good luck!

yeah. something like polluted planet or pixel junk shooter... mainly fluid based

Elcoo
07-26-2009, 09:44 AM
Wow, not bad! I was able to simulate 5000 particles without lag. Did you use any additional libraries to BlitzMax or did you use the standart graphics engine?

Nate The Great
07-26-2009, 11:12 AM
No additional libs, straight up blitzmax. I use the standard graphics rendering engine (max2d) but I plan to switch to one that has shader support if I can someday soon.