Collision Pipelines: DefaultPipeline The DefaultPipeline is a Collision Pipeline. It performs steps related to the collision, mainly collision detection and collision response. The animation loop executes the 3 steps of… read more →
Collision Pipelines Collision between objects is split in several phases, each implemented in a different component. Each phase is scheduled by a collision pipeline. The collision pipelines are executed in… read more →
Animation loop All the scenes in SOFA must include an AnimationLoop. This component orders all steps of the simulation and the system resolution. At each time step, the animation loop… read more →
DataTypes As you may know, many SOFA C++ classes are templated, mostly on the type of DOF you want to simulate. Examples of templates can be found in the MechanicalObject… read more →
SOFA binaries Prepare the sources Update SOFA version in CMakeLists.txt cmake # Manually define VERSION set(SOFA_VERSION_MAJOR <new release major version>) set(SOFA_VERSION_MINOR <new release minor version>) set(SOFA_VERSION_PATCH <new release patch version>)… read more →
Components implement most of the simulation methods. One can roughly distinguish two categories of components: Property components implement a facet of one object’s physical properties, such as its mass, stiffness,… read more →
Each SOFA component can define Data. These data correspond to properties of the Components, i.e. member variable of the corresponding C++ class, which are made available and visible to the rest… read more →
Use plugin binaries SOFA is regularly released along with several officially-supported plugins. However, many more plugins do exist. It may occur that someone shares with you the binaries of a… read more →
Fetch Plugin Code Source A few number of plugins are directly embedded in SOFA repository, under applications/plugins. Most of them are deactivated by default, and it is up to the… read more →
MeshOBJLoader This component belongs to the category of the MeshLoaders. The MeshOBJLoader loads a mesh from a file under the format *.obj. Such a mesh file only supports surface meshes.… read more →