Contributor
Kartik Kumar

LibreCAD 3 OpenGL Rendering


Mentors
Florian (Feragon), Armin (LordOfBikes)
Organization
BRL-CAD

LibreCAD is a free Open Source CAD application for Windows, Apple and Linux. It allows industrial designers and graphics enthusiast to create CAD projects of the highest standard and precision. With this precision and standard comes the need of high quality and accelerated rendering to visualise a document. LibreCAD 3 was designed to have multiple rendering engines without major modifications to its core. Right now LibreCAD 3 uses Cairo for rendering. For users with high resolution screens, Cairo is not convenient because of a slowness, due to a bad integration with Qt and a missing caching system. At each frame when rendering is done the data is sent from CPU to GPU which is very inefficient. OpenGL has lower CPU overhead for draw calls and state changes and lets you take advantage of the GPU to render graphics on your device's screen and performance is excellent. The project consists of replacing Cairo with OpenGL in LibreCAD 3.To make a complete well abstracted OpenGL implementation with C++ for the rendering in LibreCAD.