How dentrix-dev/dentrix_editor works
Project type and purpose
• This is a native C++ desktop 3D-model viewer/editor built with Qt for the GUI and OpenGL for rendering.
• The “DentrixCore” directory contains your rendering engine (camera, scene graph, mesh loader, shader manager). “DentrixUI” contains the Qt-based user interface (main window and GL widget). External runtime resources include GLSL shaders and OBJ model files under “shaders/” and “models/”.
File structure
• Top level:
• main.cpp – application entry point, initializes Qt, constructs MainWindow and GLWidget
• CMakeLists.txt + cmake/CPM.cmake – build configuration and dependency management
• libs/glm – header-only math library for vectors, matrices, quaternions
• DentrixCore:
• camera.* – camera abstraction
• scene.* – scene graph and object management
• mesh.* – OBJ loader & mesh representation
• shader.* – shader compilation, program management
• DentrixUI:
• mainwindow.* + .ui – Qt Designer UI for menus, controls
• glwidget.* – QOpenGLWidget subclass, bridges Qt’s GL context to DentrixCore renderer
• models/ and shaders/ hold runtime assets loaded by the core engine.
README for additional insights
• Build instructions via CMake → make, or use Qt Creator
Elements
• “Application Launcher”
• “UI Layer (Qt)”
• “Render Engine (DentrixCore)”
• “GLM Math Library”
• “Runtime Assets”
• “Build System”
• “External Frameworks”
– Input events: UI → Core
– Rendering calls: Core → OpenGL → GPU
– Asset loading: Filesystem → Core
• UI = blue rectangles
• Core engine = green rectangles
• External libs = grey rounded rectangles
• Build system = purple parallelogram
• Labels: