Skip to content

InfinyTech3D/SofaUnityXR

Repository files navigation

SofaUnityXR Asset

Documentation Support Discord Contact Support us

Description

SofaUnityXR extends the SofaUnity asset by adding script for VR and XR device support to interact with SOFA simulations embedded in Unity3D. It allows users to interact with SOFA's advanced physical simulation capabilities in real-time through VR controllers and headsets using Unity’s XR system, enabling immersive medical, robotic, or scientific training applications.

This package need SofaUnity Asset to work. It only provide the bridge to use SOFA in VR through Unity. No complexe surgical or robotic scenario are provided.

Compatibility:

  • Tested on Unity version > 6000.0.55f1
  • SOFA version > 24.12 with SofaVerseAPI
  • Tested on Windows platforms only

Installation guide

Sofaunity Full installation process available here.

Dependencies

  • Requires SofaUnity asset installed.
  • XR Interaction Toolkit (tested with v3.0.0)
    • Starter Asset (Package manager windows > XR Interaction Toolkit > Samples > Starter Asset > import)
  • OpenXR Plugin (tested with v1.15.0)

Examples

Three examples are provided in the Scenes folder

  • Demo-01_SimpleLiver.unity: Provides a simple integration of SOFA deformable liver simulation in VR, allowing to play/restart simulation and show different models.
  • Demo-02_LiverInteraction.unity: Demonstrate how to interact between VR controllers (with SOFA sphere collisions) and deformable liver. Show haow you can import a sofa scene
  • Demo-03_Caduceus Show how you can manage multiple objects of your sofa scene by selecting them then you can start the simulation with the check box

Here are a some results of the basic integration:

Simple Liver simulation FEM and sphere collision display

License

This main Unity asset is under Standard Unity Asset Store EULA Other license formats can be provided for commercial use. For more information check InfinyTech3D license page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •