3D engine with no dependencies, all code is written from scratch
- Install CMake >= 3.12
git clone https://github.com/imadr/blaz.git
cd blaz
mkdir build && cd build
cmake ..
to generate the build filescmake --build .
to run the build or use the generated visual studio project file/makefile to build
You can also use cmake-gui
Sample | Screenshot |
---|---|
01-triangle | |
02-cubes | |
03-pbr | |
04-raymarching | |
05-raytracing | |
06-shadow |
- Install emscripten
emsdk_env.bat
oremsdk_env.sh
mkdir build_wasm && cd build_wasm
emcmake cmake ..
cmake --build .
- To build a specific sample
cmake --build . --target "01-hellotriangle"