EulalieCoevoet / AdaptiveMerging

With adaptive merging we reduce computation time in rigid body simulations.
https://eulaliecoevoet.github.io/AdaptiveMerging/
42 stars 11 forks source link

Visualize deltaVs in single iteration PGS #26

Closed paulkry closed 5 years ago

paulkry commented 5 years ago

Important to understand what's going on with the delta v unmege test. Are we correct to compare the single cycle PGS velocity updates with the current merged collection velocity, or should it be the velocity at the next time step.

otmanon commented 5 years ago

Pushed some new code that allows us to visualize linear components of each body and collections (+collection's sub-bodies) deltaVs. Drawn from COM of each body, (COM of merged Collection in case of collection) towards point in deltaV direction, scaled by a scaling factor. Regular color is cyan, if it's a sub-body it's a darker shade of cyan.