Houdini VEX FLIP解算器Houdini VEX FLIP Solver

Houdini VEX FLIP解算器Houdini VEX FLIP Solver

I made a FLIP solver from scratch. No use of Houdini’s included DOP nodes.
dropbox.com/s/lnw6hl32t748suy/flipSolver.hip?dl=0
Its a very simple and imperfect example created using a SOP solver. The math parts are written in both VEX or OpenCL depending on which you are more comfortable with.
I’ve shared the code for project non divergent for volumetric fluid solvers before, but for liquid simulations its a little different.
I hope some of you find it helpful!
谷歌翻译:
我从头开始制作了FLIP求解器。不使用Houdini随附的DOP节点。
dropbox.com/s/lnw6hl32t748suy/flipSolver.hip?dl=0
这是一个使用SOP求解器创建的非常简单且不完美的示例。数学部分用VEX或OpenCL编写,具体取决于您是否更喜欢。
之前,我已经分享了用于体积流体求解器的非发散项目的代码,但是对于液体模拟,则略有不同。
希望你们中的一些人有所帮助!