General use of Shaders A complete set of tools about using shaders is implemented into SOFA. The three kinds of shaders (vertex and fragments (mandatory), geometry (optional)) are available. Shader… read more →
Adding Lights One white global light illuminates the scene by default. This can be changed through a light manager object and a certain number of lights (limited by OpenGL). The… read more →
Using different views in OpenGL You can get different points of view of your scene. It can be useful if you want to watch something for example. In order to… read more →
Exporting in VTK format In this section, we will explain how to export a 3D object in a VTK format file. How to use it Put : into a node… read more →
ConicalForceField Repulsion applied by a cone toward the exterior Templates: – Vec3d Target: Sofa.Component.MechanicalLoad namespace: sofa::component::mechanicalload parents: – ForceField Data: Name Description Default value name object name unnamed printLog if… read more →
Visualization To visualize an object in SOFA, the main component to use is the OglModel. Using OpenGL, this class will display the topology of its context. To display a mesh… read more →