Replies: 3 comments 6 replies
-
I did not get your problem. Do you want to do some kind of morphing? |
Beta Was this translation helpful? Give feedback.
-
The FEMTetraConstraint simulates elasticity after an object has deformed but it cannot be used to pull vertices to target positions. You could animate the vertices by directly setting their positions and then go in the solver loop with the FEMTetraConstraint. I assume that only some of the vertices are set to target positions. |
Beta Was this translation helpful? Give feedback.
-
It might be difficult for the solver if several positions are fixed and cannot be moved. Maybe you could try not to move the positions directly but to pull them to the target position by a distance constraint. |
Beta Was this translation helpful? Give feedback.
-
Hi,I am a new to PositionBaseDynamics,I am tring to simulate defomation of human organs by PBD,I was wondering if there is a possible solution to manipulate specific vertex's positions in tetrahedron mesh to make the mesh gradually deform to target shape by using FEMTetraConstraint and pre-define shape constraint,if so, how to implement such pre-define shape constraint?
For example,If I want to transform a sphere into an ellipsoid gradually , should I sample some points uniformly on the sphere, and then give the target positions of these sampling points, and then project the FEM tetrahedron constraints and the target position constraints of the sampling points separately?
Beta Was this translation helpful? Give feedback.
All reactions