Home › Forum › SOFA › Getting Started › What is SOFA dedicated to? How to use it as physics engine?
Tagged: 64_bits, SOFA_1512, Windows_10
- This topic has 6 replies, 3 voices, and was last updated 4 years, 10 months ago by
Hugo.
-
AuthorPosts
-
22 February 2016 at 15 h 19 min #5885
Hey,
First of all thanks for your all hardwork 🙂
I have some questions.
1. Can i use sofa for soft body deformation ( like cutting soft bodies ) ? In demo i only see cloth cutting but i wanna know can i use it like scalpel cutting ? ( tetrahedral models will suitable for this kind of job )
2. Documantation says i can use another engines for rendering part. I want to use it in OGRE but actually i don’t now where can i start. Without doxygen, Are you planning to write documents for newcomers ?
Sorry for my bad english 🙂
Best Wishes23 February 2016 at 8 h 03 min #5890Dear Korcan,
You are very welcome! Thank you for your interest in SOFA.
Indeed, SOFA is originally dedicated to soft body deformation and can handle topological changes, such as cutting. The example examples/Demos/TriangleSurfaceCutting.scn is indeed on a surface mesh, but volumetric meshes (e.g. tetra-FE model) can also be cut. There was already two topics in the forum about this:
SOFA can be plugged in with another rendering engine. However, I have personally no experience with this. I’ll try to find someone who could give you some first hints and guidelines.
Cheers,
Hugo
23 February 2016 at 10 h 07 min #5892Hi Hugo,
Thanks for your answers. If someone could show me first steps about rendering it will be great 🙂
Best Wishes,
Korcan26 February 2016 at 12 h 45 min #5962Hi Hugo,
Are there any updates on this topic ?
Best Wishes,
Korcan29 February 2016 at 10 h 33 min #5985Hi Korcan,
You have basically two options:
- the cleaner way is to do as illustrated in the projet SofaPhysicsAPI (sofa/applications/projects/SofaPhysicsAPI). This project illustrate how to use SOFA as physics engine while using another gui (called “fakegui” in this example). Look especially the component SofaPhysicsAPI.h.
- or a bit dirtier: you can include SOFA in your project, and recover all the pointers of the simulation from the scene nodes.
Best regards,
Hugo
2 May 2016 at 10 h 52 min #6649It is design to work with soft body deformation so It is best that is possible for related aspects within its circulation.
Regards,
Oscar of http://www.javateakoutdoorfurniture.com/2 May 2016 at 11 h 07 min #6651Dear oscar,
thank you for your comment.
However, please avoid posting ads or links to external websites if it isn’t related to the current issue.Best,
Hugo
-
AuthorPosts
- You must be logged in to reply to this topic.