SofaAPAPI-Unity3D [V22.12.00] // [v22.06.00]

Release date: 2023-03-15

Both releases have the same enhancements and fixes but they are based on different version of SOFA physics engine:

– SofaAPAPI-Unity3D version v22.12.00 is based on SOFA release v22.12.00
– SofaAPAPI-Unity3D version v22.06.00 is based on SOFA Release v22.06.00

Enhancements

Fixes

  • Core enhancements:
      • Improve: Plugin loading mechanism to use a single method to load them all.
      • Add: InfinyToolkit plugin by default. This SOFA plugin add the AdvancedCarving components and others tools.
      • Update: Unity version integraiton to 2021.3.19.
      • Move: All basic demo scenes into Scenes/Examples/ and advanced scenes into Scenes/Demos/Interaction/ with SofaUnity managers
  • Plugins Enhancements:
    • [HaplyRobotics] Add: All demo scenes and script into Demos/Haptic/HaplyRobotics and update all scenes and prefabs to use new SOFA parsing architecture.
    • [HapticAvatar] Add: All demo scenes and script into
      Demos/Haptic/HapticAvatar and update all scenes and prefabs to use new SOFA parsing architecture.
    • [Geomagic] Move: All demo scenes and script into
      Demos/Haptic/Geomagic and update all scenes and prefabs to use new SOFA parsing architecture. Fix some missing Meshes.
    • [Capsule Endoscopy] Move: Virtual Capsule Endoscopy into Demo/Endoscopy folder and update all scenes for new SOFA version.
    • [BeamAdapter] Move: All demo scenes and script into
      Demos/Endoscopy/BeamAdapter and update all scenes and prefabs to use new SOFA parsing architecture and updated BeamAdapter plugin.
    • [VirtualXRay] Move: All demo scenes and script into
      Demos/Imaging/Fluoroscopy and update all scenes and prefabs to use new SOFA parsing architecture.
    • [UltraSound] Move: All demo scenes and script into
      Demos/Imaging/Ultrasound and update all scenes and prefabs to use new SOFA parsing architecture.
  • Major bug fix:
    • Fix: Plugin loading at start and add option to clear saved plugin.
    • Fix: SOFA Data<bool> parsing to use Unity check boxes components.
    • Fix: SAPAPI plugin for GCC/Linux. Integration in Unity on Linux is now possible but has not yet been fully tested.
    • Fix: Texcoords values parsing due to wrong conversion from double to float.
  • Other bug Fix:
    • [SPHFluid] Fix: SOFA plugin integration in examples.
    • [Cutting] Fix: CuttingManager UI for a better cutting path creation.
    • [Cutting] Fix: cutting path bounding box and size to allow incisions.
    • Fix: SOFA debug logs catching while closing SOFA.
    • Fix: Remove not relevant warnings when loading scene and remove logs.

Know bugs

Limitations

  • [SoftRobots] Has not been tested with recent versions.
  • [MultiThreading] asset has been disabled.
  • [VR] ShowRoom and VR ShowRoom have been backported but not yet restored.
  • It is not possible to create components directly in Unity3D hierarchy interface and then change its type.
    Only a few set of components are handled. See graph edition