Loading Python file in SofaUnity #216
Unanswered
BinhTran17
asked this question in
Help - Using SofaUnity
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a simulation in SOFA framework, and I want to put it in Unity. I have 2 files, one
.scnand one.py, and 2 corresponding.mshfiles, all put in this GDrive folder. The files work well inSOFA 24.12.00but I can't get the Python one to work in Unity.2022.3and6.2) and SofaUnity versions (24.12,25.06, and fromUnity Assets store)Python 3.12.1,numpy 2.3.5,scipy 1.16.3, andpybind11 2.12.0.Demo_01_LiverInteractionandDemo_02_LiverInteraction-HDfromInteractionfolder, andLiverPyhonandLiverPyhonControllerfromPythonfolderFollowing are my findings
.pyfiles, only showsDefaultVisualManagerLoopandDefaultAnimationLoopwhen load.Demo_01andDemo_02of interaction don't have lighting. Python demo scenes don't move or interact. [Ref A]SofaContextonly includeDefaultVisualManagerLoop,DefaultAnimationLoop, andSofaCollisionPipeline. Loading .py files yield same problem asSOFA 24.12.00. [Ref B]SOFA 24.12.00, but a texture loading error makes everything pink. Cannot see the animation. [Ref C].scnor.pyfiles, theScene Filenamefield doesn't change.Screenshot References
Beta Was this translation helpful? Give feedback.
All reactions