Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.54 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.54 KB

🔥 blaz

3D engine with no dependencies, all code is written from scratch

Building

  • Install CMake >= 3.12
  • 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
  • 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"