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

Generation of soft bodies #118

Open
eliseeer opened this issue Mar 1, 2021 · 1 comment
Open

Generation of soft bodies #118

eliseeer opened this issue Mar 1, 2021 · 1 comment

Comments

@eliseeer
Copy link

eliseeer commented Mar 1, 2021

Hello,
I have 2 kidneys model that I would like to implement as soft bodies in the scene for a palpation task.
Starting from the rigid model in Blender, I've reduced the number of verts (they are about 160 now).
After saving the .yaml file generated by the add-on, I've modified the model from there directly: I've included the kideys in the soft bodies and add the config field.
When running the simulation, even setting a fixed frequency of 60Hz, I either get a seg fault or the kidneys do not appear in the scene.
Is there any way to solve this?
I'm attaching the model for a better understanding of what I did.

Thanks a lot!

model.tar.gz

@adnanmunawar
Copy link
Member

Hi Elisa,
Please checkout the branch called restructure. It is a work in progress but has faster loading and update times for softbodies. You can increase the resolution of your low res meshes to a couple of thousand vertices. Also, please make sure that both the low res and high res meshes are exactly the same. Moreover, your kidney model seems to have complex geometry at the center, where the individual faces have high variability in terms of relative angles within a small span. In my experience, this would make pressure and volume constraints (for softbodies) unstable.

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