This plugin brings Rendering Hardware Interface API (from Qt) into SOFA. Concretly, it allows the user to execute rendering code using one of those API: OpenGL ES 2, Vulkan, Direct3D 11 and Metal, with the same code. It is relying on the RHI API from Qt (>5.12).
Note that this API is still considered private in Qt5. (meaning no support from them and the code can break anytime).
This plugin is composed of :
- SOFA components to draw using RHI (VisualModel, VisualLoop)
- a Drawtool class for the existing code (mainly in the draw() functions)
- a viewer meant for runSofa and its Qt interface (effectively replacing QtViewer and QGLViewer)
- an offscreen renderer
This plugin is available under the LGPL open-source license v3.
- License type: Open-source
- Status: Ongoing
- Progress: 90%
- TRL: 5