-
beichun replied to the topic SofaPython3 pygame rendering example not working in the forum Using SOFA 1 month ago
Hi, any updates on this?
I saw the pygame example is removed from SofaPython3 repo. I wonder if there is any workaround if I still want to use the same feature. -
beichun replied to the topic Problem when running SoftRobots tutorial in the forum Using SOFA 1 month ago
Problem solved 🙂
I managed to convert the mesh, by converting the finger.stl to finger.msh using gmsh (needed to use format version 2, the default version 4 doesn’t work). -
beichun replied to the topic Problem when running SoftRobots tutorial in the forum Using SOFA 1 month ago
Hi,
I’m also having the same problem. Would like to hear any update! Is the mesh updated @epernod ? -
beichun replied to the topic SofaPython3 pygame rendering example not working in the forum Using SOFA 1 month, 1 week ago
Hi @Hugo,
Thanks for your reply.
I’m using the master branch for both SOFA and SofaPython3. -
beichun replied to the topic Setting camera position/orientation with SofaPython in the forum Using SOFA 1 month, 1 week ago
It works nicely. Thank you!
I want to ask another question, how do I set the up direction of camera? Although my orientation is correct, the rendered view is upside down.
-
beichun started the topic SofaPython3 pygame rendering example not working in the forum Using SOFA 1 month, 1 week ago
Hi. I am running the pygame example of SofaPython3 plugin and got the following error:
[Read more]
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)… -
beichun replied to the topic Setting camera position/orientation with SofaPython in the forum Using SOFA 1 month, 1 week ago
I found that I have to use the opengl viewer (Sofa.Gui.GUIManager.Init(“MyScene”, “qt)) in order to make the interactiveCamera work.
However, I still cannot set the right camera orientation. I received the following warning:
[WARNING] [InteractiveCamera(camera)] Could not read value for data field orientation: array([0.70710678, 0. , 0.…
[Read more] -
beichun replied to the topic Setting camera position/orientation with SofaPython in the forum Using SOFA 1 month, 2 weeks ago
I would also like to know any suggestions on this (I’m using SofaPython3)!
-
beichun became a registered member 1 month, 2 weeks ago