The frame rate is particularly low when calling HandleTopologyChange() #115
-
Beta Was this translation helpful? Give feedback.
Answered by
epernod
Aug 30, 2024
Replies: 1 comment
-
Hi, this is normal because this method is recomputing the whole Unity mesh from new SOFA mesh information. I.e getting all the new mesh structure (points, triangles and tetrahedra) and recomputing all the map to create the Unity MeshFilter. Right now there is nothing you can do. The idea would be to improve those methods, maybe by using multi threaded communication and mesh copy. This is unfortunately not on our roadmap for the moment. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RickYang1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
this is normal because this method is recomputing the whole Unity mesh from new SOFA mesh information. I.e getting all the new mesh structure (points, triangles and tetrahedra) and recomputing all the map to create the Unity MeshFilter.
Right now there is nothing you can do. The idea would be to improve those methods, maybe by using multi threaded communication and mesh copy. This is unfortunately not on our roadmap for the moment.