https://github.com/imadr/blaz
3D engine with no dependencies, all code is written from scratch
https://github.com/imadr/blaz
game-engine gamedev graphics rendering
Last synced: about 1 year ago
JSON representation
3D engine with no dependencies, all code is written from scratch
- Host: GitHub
- URL: https://github.com/imadr/blaz
- Owner: imadr
- License: gpl-3.0
- Created: 2024-01-31T16:14:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T04:28:45.000Z (over 1 year ago)
- Last Synced: 2025-03-27T00:22:30.835Z (about 1 year ago)
- Topics: game-engine, gamedev, graphics, rendering
- Language: C++
- Homepage:
- Size: 57.8 MB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
# 🔥 blaz
3D engine with no dependencies, all code is written from scratch
## Building
- [Install CMake >= 3.12](https://cmake.org/download/)
- ```git clone https://github.com/imadr/blaz.git```
- ```cd blaz```
- ```mkdir build && cd build```
- ```cmake ..``` to generate the build files
- ```cmake --build .``` to run the build **or** use the generated visual studio project file/makefile to build
You can also use **cmake-gui**
## Samples
| Sample | Screenshot |
|-----------------------|------------------------------------------------------------------|
| 01-triangle | 
|
| 02-cubes | 
|
| 03-pbr | 
|
| 04-raymarching | 
|
| 05-raytracing | 
|
| 06-shadow | 
|
| 07-ao | 
|
## Building for web
- Install [emscripten](https://emscripten.org/)
- ```emsdk_env.bat``` or ```emsdk_env.sh```
- ```mkdir build_wasm && cd build_wasm```
- ```emcmake cmake ..```
- ```cmake --build .```
- To build a specific sample ```cmake --build . --target "01-hellotriangle"```