sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
878 stars 297 forks source link

[PlayBack] Update playback scenes to write/read and compare a beam under gravity motion #4745

Closed epernod closed 1 week ago

epernod commented 2 weeks ago

Just update the 3 examples for components: WriteState, ReadState and CompareState to be more useful.

Here is the screenshot of CompareState.scn with in blue the simulated beam, in green the result of readState from a record of a heavier beam and in purple the drawing from CompareState showing distance between the simulated dof and the expected position from the state file.

image


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

epernod commented 1 week ago

[ci-build][with-all-tests]