https://github.com/maxinecodes/mocha
C++ OpenGL Rendering Engine
https://github.com/maxinecodes/mocha
3d cplusplus graphics opengl rendering
Last synced: 4 months ago
JSON representation
C++ OpenGL Rendering Engine
- Host: GitHub
- URL: https://github.com/maxinecodes/mocha
- Owner: MaxineCodes
- Created: 2024-07-29T17:26:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T11:22:14.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T23:26:07.978Z (over 1 year ago)
- Topics: 3d, cplusplus, graphics, opengl, rendering
- Language: C++
- Homepage:
- Size: 4.87 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mocha

---
## About Mocha
Mocha is a simple cross-platform 3D OpenGL core-profile rendering engine to render 3D objects in real-time supporting physically based rendering algorithms and scene loading.
If you're familiar with 3D viewing applications, a main point of inspiration for this project is Sketchfab and Marmoset Viewer. Performance is not a priority, but being GPU based and only handling small scenes, this should not be a major issue.
---
Features planned:
- [ ] Physically based materials and rendering.
- [ ] Scene and object loading. .OBJ and .USD formats planned.
- [ ] GUI using ImGui.
- [ ] Material editor.
- [ ] Camera controls.
- [ ] Lighting adjustments.
- [ ] Skybox HDRI
- [ ] Post processing ???
---
## Building
CMake should install all dependencies to the '/dependencies' folder.
Your system should support OpenGL 3.3. It has been tested to build on Windows 11 using MSVS compiler.
Common problems:
- Python 3 command not executing.
- "No module found named glad"
Make sure Python 3 is in your PATH and glad is installed.
Running `pip install glad` should do the trick.
---
## Sources
- PBR Book: https://www.pbr-book.org/
- Google Filament book and repository: https://github.com/google/filament
- Learn OpenGL website: https://learnopengl.com/
- Shaders for game programming and artists book: https://archive.org/details/shadersforgamepr0000stla/mode/2up
- SIGGRAPH 2025 Course: Physically Based Shading in Theory and Practice : https://blog.selfshadow.com/publications/s2025-shading-course/
- Wavefront OBJ file: https://en.wikipedia.org/wiki/Wavefront_.obj_file