-
Notifications
You must be signed in to change notification settings - Fork 12
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 to generate textured mesh videos? #3
Comments
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:
In NCLaw paper, we used 2. |
We have a small confusion, we noticed that the volume of each particle is obtained by dividing the mesh volume by the number of particles. One issue is that volume sampling is not uniform, is this approach just an approximation? |
Is there any specific code to generate the textured videos? Just confused because not able to find method 2. in the code. |
It is an approximation. A more accurate way is to spatially hash the particles and use lumped mass matrix, but I don't think they will differ a lot since the volume sampling is also optimized for homogeneity. |
The code for method 2 is not included in this code base since it deviates from the main purpose and is not nicely organized given my current bandwidth. Some utilities are left there like the particle sorting based on blobs and the method 2 should be fairly easy to build upon ;) |
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?
The text was updated successfully, but these errors were encountered: