Skip to content
Discussion options

You must be logged in to vote

Hi @Junang-Wang

Thank for your question and the feedback.

In most of the cases writing a sofa scene using SofaPython3 does not have impact on performance compared to writing it with xml or c++ (with the "simpleapi.h"). This is because writing a scene consists in fact in assembling existing components and that the assembled component are in fact written in c++. So if you are more confident with python than with c++, do with it to write scenes.

Nevertheless, in the specific case of having a scene with custom components written in python (like python controller or forcefield) ... then there can be a difference between python and c++ performance on computation intensive part of the code (if a…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Junang-Wang
Comment options

Answer selected by Junang-Wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants