Replies: 15 comments 1 reply
-
I don't know if there exists a tutorial but this is not very complex:
|
Beta Was this translation helpful? Give feedback.
-
Many thanks! I would love to try it out in Blender. Would this work?
Then press the hot-key 's' in the SPHSimulator window to save the data in the partio format? |
Beta Was this translation helpful? Give feedback.
-
's' just saves the state of the current step. You can activate different exporters in the GUI to get the whole simulation. |
Beta Was this translation helpful? Give feedback.
-
@langit If you're interested in using SplishSplash for visual animation and VFX, there is a plugin for Lightwave 3D which integrates the library. So you can simulate (using SplishSplash) and render directly in Lightwave. Otherwise a lot of applications support bin & bgeo files. https://www.deepfxworld.com/deep-rising-fx.php If you want a SPH solver similar to DFSPH in SplishSplash (with less features, focused on animations), there is Deep FX Studio, which is a stand alone application, which has simulation tools. You can also render everything in the same application. https://www.deepfxworld.com/deep_fx_studio.php Keep in mind these are commercial tools. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for all your advices, I will give them a try. I am trying to simulate incompressible miscible multiphase fluid that does not satisfy the local equilibrium assumption (i.e. the different phases will have different acceleration due to the dynamic feature of the simulation), it seems the literature does not provide any ready solution yet, I wonder if there is a way to customize SPlisHSPlasH for such a simulation? Or I should rather implement a specialized pressure solver for this purpose? |
Beta Was this translation helpful? Give feedback.
-
Currently SPlisHSPlasH does not support miscible fluids. However, if you want to implement your own pressure solver in SPlisHSPlasH, you could take a look at this paper: "A Divergence Free Mixture Model for Multiphase Fluids ". |
Beta Was this translation helpful? Give feedback.
-
Thank you for your advice, coincidentally, I read that paper a couple of weeks ago. The proposed solver also assumes local equilibrium (see Appendix A: Drift Velocity in that paper for details), therefore it does not meet my particular need. I think it quite possible to manipulate the NS equations and come up with a solver that will get the job done, but I am not in the computer graphics field and I don't know if the community is interested in an idea like this. |
Beta Was this translation helpful? Give feedback.
-
I did the data export both in .bgeo and .vtk formats, but I'm still unable to load these data to Blender (2.92) or Maya2022 ( I'm using Ubuntu 18.04). |
Beta Was this translation helpful? Give feedback.
-
Yes, there are plugins you would have to use in order to load Keep in mind that the Blender plugin should work and is usable, but is quite prone to bugs. Alternatively you could run a surface reconstruction of the particle data using something like https://github.com/w1th0utnam3/splashsurf (keep in mind that this may produce quite bumpy surfaces at the moment) and then import the generate sequence of |
Beta Was this translation helpful? Give feedback.
-
Hi digitalillusions, |
Beta Was this translation helpful? Give feedback.
-
Hi to everybody,
So, the only possibility I found to translate iso-surfaces from Vtk to Obj - avoidung to write an app in Python or C++ - is to use Paraview, in this way:
In this way I'm able to render SPlisHSPlasH results in Blender. I have also some question about use of splashsurf , but this will be a new post. |
Beta Was this translation helpful? Give feedback.
-
If you want to import the particle data in Blender, you can also export bgeo files and use our Blender plugin: https://github.com/InteractiveComputerGraphics/BlenderPartioTools To convert vtk files you could use the python package meshio. |
Beta Was this translation helpful? Give feedback.
-
thank you very much for your fast replay. |
Beta Was this translation helpful? Give feedback.
-
Can someone teach me how to render the particle to water in Blender? |
Beta Was this translation helpful? Give feedback.
-
Hi @Holmes-Alan, the general steps for being able to render particle simulations as water you would typically follow the steps:
I hope this helps a bit, we unfortunately have not had the time yet to make a full tutorial outlining the intricacies of all of these steps. |
Beta Was this translation helpful? Give feedback.
-
I really love those beautifully realistic movies, they are quite satisfying to watch, but I couldn't find a tutorial on how to make them. Any suggestions?
BTW, I have successfully build SPlisHSPlasH on Windows 10 64-bit with CMake 3.19.3, git 2.30.0.2, and MinGW64 V8.0.0 (obtained from https://sourceforge.net/projects/mingw-w64/ and installed in D:\MinGW64) with the following commands:
Beta Was this translation helpful? Give feedback.
All reactions