Skip to content

Animated body #165

Answered by janbender
oooreoreo asked this question in Q&A
Mar 30, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I think it is not the best way to remove and add boundary models since things have to be initialized in the right order. Depending on the boundary handling you use, you have different options. If you use Akinci boundary handling, you could update the positions and velocities of all boundary particles in the script. For the other methods you need a position and rotation matrix of the boundary model. For the position you could compute the center of mass in each frame and move the boundary model. Extracting the rotation is a bit more complex but this can be done using shape matching (https://cg.informatik.uni-freiburg.de/publications/2005_SIGGRAPH_deformationShapeMatching.pdf). Btw. our posi…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@oooreoreo
Comment options

@oooreoreo
Comment options

Answer selected by oooreoreo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants