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

Navier-Stokes based fluid simulator #12680

Closed
Chaosus opened this issue Nov 5, 2017 · 2 comments
Closed

Navier-Stokes based fluid simulator #12680

Chaosus opened this issue Nov 5, 2017 · 2 comments
Labels

Comments

@Chaosus
Copy link
Member

Chaosus commented Nov 5, 2017

Ok, I try to describe what I really wanted to see in Godot - a navie-stock based fluid simulator realized on shaders (for 2D first) and the core of suggestion is implementation of Fluid2D node and VectorField2D(for particles). This will make possibility to create photorealistic flame and smoke effects.

I cannot write such a complex thing(I not even have a math graduate), but Im experimenting with ready solutions from the internet, based on CPU(without shaders). I also read(dont remember where) that its possible to implement on GPU without latest opengl(or compute shaders).
here is my flamethrower demo video - https://www.youtube.com/watch?v=6G9LkXIWBVI
the algorithm behind it(using SFML lib) - https://github.com/Chaosus/Fluid2D

base description -
http://www.dgp.utoronto.ca/~stam/reality/Talks/FluidsTalk/FluidsTalkNotes.pdf

PS I dont know about UE but Unity have this as paid user-maked extension. - https://www.assetstore.unity3d.com/en/#!/content/33564 How cool if Godot will have it from box, Unity will suck a ball. This may refresh the view of many Godot games, especially on desktop..

@Chaosus Chaosus changed the title Feature proposal - Navie stock fluid simulator Feature proposal - Navie stock based fluid simulator Nov 5, 2017
@Chaosus
Copy link
Member Author

Chaosus commented Nov 5, 2017

If @reduz commented about this it would be awesome..

@reduz
Copy link
Member

reduz commented Nov 5, 2017

I don't think it's a good idea simply for the fact it's not a very common case.
Still, this is what we have GDNative for, you guys can do it and put it on the asset library for anyone to use, that would be ideal

@reduz reduz closed this as completed Nov 5, 2017
@ghost ghost added the archived label Nov 5, 2017
@akien-mga akien-mga changed the title Feature proposal - Navie stock based fluid simulator Navier-Stokes based fluid simulator Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants