Rex is a side project I'm working on now for the purpose of learning more about graphics programming and rendering. Currently it's just a 3D software rasterizer.
- Windows
- Linux
- Web-Assembly (https://waleedyaser.github.io/rex-wasm/)
-
Download and install CMake (at least version 3.12): https://cmake.org/download/
-
On Linux make sure to install these dependencies:
sudo apt install -y libxcb1-dev libxcb-util-dev libxcb-keysyms1-dev libxcb-image0-dev
-
Configure and build the project by executing the following commands:
cmake -B build -DCMAKE_BUILD_TYPE=Release cmake --build build --config Release -j
-
The output (rex-viewer.exe) will be in
build/bin/Release/
directory. -
You can install binaries to any folder by executing the following command:
cmake --install build --prefix INSTALL_PATH
replace
INSTALL_PATH
with the path you want. -
You can package the binaries to a zip file using the following steps:
cd build cpack -G ZIP
You should have
rex-VERSION-win64.zip
file in the build directory.
emsdk activate mingw-4.6.2-32bit
cmake -G "MinGW Makefiles" -B build-wasm -DCMAKE_TOOLCHAIN_FILE=D:/code/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
- Kohi Game Engine series on YouTube.
- https://github.com/ssloy/tinyrenderer/wiki/Lesson-0:-getting-started
- https://www.scratchapixel.com/
- https://www.youtube.com/c/MollyRocket
- https://github.com/RandyGaul/cute_headers
- http://marcelbraghetto.github.io/a-simple-triangle/2019/03/10/part-06/?utm_source=pocket_mylist
- https://github.com/MoustaphaSaad/mn
- https://github.com/raysan5/raylib