opensim-org / opensim-viewer-backend

Apache License 2.0
1 stars 0 forks source link

Visualize muscles #7

Closed aymanhab closed 2 weeks ago

aymanhab commented 2 months ago

As of now the converter tools can not handle muscles in models. While muscle wrapping adds another level of complexity due to engagement/disengagement. We should at least be able to visualize muscles woth fixed anchor points in the viewer

aymanhab commented 1 month ago

We can visualize muscles as line segments with proper colors but no animation, example below. Two possible next steps (1. support animation with line segments, 2. Better looking muscles/skinning followed by animation support). Thoughts?

aymanhab commented 1 month ago

opensim-viewer-snapshot_13

aymanhab commented 1 month ago

https://github.com/opensim-org/opensim-viewer-backend/assets/3972208/7bda25d2-5c02-4d1c-abc8-f00c82cd43d8

aymanhab commented 1 month ago

To be full functional, we need to support:

  1. [ ] Conditional Path Points
  2. [x] Moving Path Points
  3. [x] Muscle wrapping?
  4. [ ] Muscle colors during animation
aymanhab commented 1 month ago

https://github.com/opensim-org/opensim-viewer-backend/assets/3972208/95d8df60-8656-4e34-b2a5-4305927c7664