How davideberly/geometrictools works
GTE is a C++ engine and library collection for mathematics, geometry, graphics, image analysis, and physics, with CPU and GPU computation. A typical user workflow is to call its mathematics and geometry algorithms, then build graphics resources and effects and use a platform-specific graphics/application wrapper to display or compute results. The graph also preserves the documented GPU-mathematics capability and the substantial project-generation utility. Source excerpts show graphics-engine responsibilities; broader subsystem relationships rely on the README, not inspection of every implementation.
Main entry points: GraphicsEngine.cpp Graphics Core · Application.cpp Application Framework · GenerateProject.cpp Project Generator · VisualEffect.cpp Effects
Components 18
Mathematics
- Math Algorithms
GTE/Mathematics - Geometry Queries
GTE/Mathematics
GPU Computing
- GPU Mathematics
GTE/MathematicsGPU
Graphics Engine
- Graphics Core
GTE/Graphics/GraphicsEngine.cpp - Render Resources
GTE/Graphics/GraphicsObject.cpp - Effects
GTE/Graphics/VisualEffect.cpp - DirectX 11 Backend
GTE/Graphics/DX11/DX11Engine.cpp - OpenGL 4.6 Backend
GTE/Graphics/GL46/GL46Engine.cpp - GLX Context
GTE/Graphics/GL46/GLX/GLXEngine.cpp
Applications
- Application Framework
GTE/Applications/Application.cpp - Window Systems
GTE/Applications/WindowApplication.cpp - Platform File I/O
GTE/Applications
Project Generator
- Project Generator
GTE/Tools/GenerateProject/GenerateProject.cpp - Template Base
GTE/Tools/GenerateProject/ProjectTemplate.cpp - VS 2022 Templates
GTE/Tools/GenerateProject/ProjectTemplate.v17.cpp - VS 2026 Templates
GTE/Tools/GenerateProject/ProjectTemplate.v18.cpp - VS Code Templates
GTE/Tools/GenerateProject/ProjectTemplateVSCode.cpp
Other components
- Library User
Connections 17
- Library User → Math Algorithms: uses algorithms
- Library User → Graphics Core: uses engine
- Library User → GPU Mathematics: uses GPU math
- Math Algorithms → Geometry Queries: includes queries
- Graphics Core → Render Resources: manages resources
- Graphics Core → Effects: draws effects
- DirectX 11 Backend → Effects: binds shaders
GTE/Graphics/DX11/DX11Engine.cpp - OpenGL 4.6 Backend → Effects: enables shaders
GTE/Graphics/GL46/GL46Engine.cpp - GLX Context → OpenGL 4.6 Backend: initializes engine
GTE/Graphics/GL46/GLX/GLXEngine.cpp - Library User → Application Framework: uses framework
- Application Framework → Window Systems: supports windows
- Application Framework → Platform File I/O: supports platform I/O
- Library User → Project Generator: generates projects
- Project Generator → Template Base: uses templates
- VS 2022 Templates → Template Base: specializes
GTE/Tools/GenerateProject/ProjectTemplate.v17.cpp - VS 2026 Templates → Template Base: specializes
GTE/Tools/GenerateProject/ProjectTemplate.v18.cpp - VS Code Templates → Project Generator: provides templates