Hi, I reproduced the code and found that only videos of predicted particles are saved.
I wonder how to generate the textured mesh videos given the predicted particles?
This is a good question. MPM is a semi-particle-based method and thus there is not an underlying mesh. There are a few ways to simulate the effect though:
Reconstruct the mesh and advect the mesh with the particles.
A hacky but easy way is to simply add the original vertices in the msh into the particle set of MPM. The textured mesh will be automatically advect along with the particles.
Hi, I reproduced the code and found that only videos of predicted particles are saved. I wonder how to generate the textured mesh videos given the predicted particles?