Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple fluid simulation example #425

Closed
wants to merge 3 commits into from
Closed

Simple fluid simulation example #425

wants to merge 3 commits into from

Conversation

ekarademir
Copy link

@ekarademir ekarademir commented Nov 11, 2019

This PR adds a simple fluid simulation example using Daniel Shiffman's Coding Train challenge.

Fluid simulation code is nearly one-to-one port, but it also uses Vulkan to draw the density image by converting density matrix to a Vulkan image on the fly. Also it uses Perlin noise to generate velocity vectors.

@mitchmindtree
Copy link
Member

So sorry it's taken so long to get back to you @ekarademir ! This somehow totally slipped by me! Thanks so much, this looks like an awesome addition :)

I should have landed this before diving into #452, but alas that ship has sailed. I'm hoping I'll get a chance to rebase your work here and port it to use the new wgpu graphics backend as I still think it makes for a super nice custom pipeline example. That is, unless someone else reading this would like to have a go!

@ekarademir
Copy link
Author

@mitchmindtree No worries. I can rebase it and also update it to use wgpu. It would be a nice excuse for me to dabble in with the new stuff.

@mitchmindtree
Copy link
Member

That would be amazing! Feel free to ping me when you're ready and I'll prioritise testing and merging this.

@ekarademir ekarademir closed this Aug 3, 2020
@ekarademir ekarademir deleted the ek_codingtrain_fluid_sim_example branch August 3, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants