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

How is the surface reconstructed in the Buckling Honey example? #2

Open
houkensjtu opened this issue Aug 10, 2022 · 1 comment
Open

Comments

@houkensjtu
Copy link

Hello, I was able to run your code and got a series of obj file, I also notice you provided a script to render the vertices as particles in Blender. But I wonder how is the surface reconstructed in the honey example, is that done in Blender or by your own code?
Anyway, thank you for your amazing work!

@rlguy
Copy link
Owner

rlguy commented Aug 17, 2022

Hi, the honey example was converted to a mesh using code that is outside of this repository. Currently the mesh generator is part of the Blender FLIP Fluids addon: https://github.com/rlguy/Blender-FLIP-Fluids

This repository also uses the same simulation method for the viscosity.

The method of surface reconstruction is the marching cubes algorithm: http://paulbourke.net/geometry/polygonise/

Hope this info helps!

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

No branches or pull requests

2 participants