lite-raster is a lightweight rasterization project designed for efficient 3D rendering tasks. It provides a simple way to define scenes and render raster images, making it ideal for graphics projects, educational purposes, or experimentation. This project was created as an educational challenge to better understand the fundamentals of computer graphics.
- Fast and minimal rasterization core
- Support for custom models
- Simple transformation and colour handling
- Texture mapping for custom models
- Phong lighting system
- C++17 compatible compiler (e.g., GCC, Clang, MSVC)
- CMake 3.10 or higher
git clone https://github.com/sjohnson03/lite-raster.git
cd lite-raster
mkdir build
cd build
cmake ..
cmake --build .This will generate the executable binaries in the bin/ directory.
To use lite-raster, define your scene in a .yaml file (see scene.yaml for examples). All objects and textures must be referenced by their full path from the root.
Literaster can then be run with the scene passed as an argument.
./bin/lite-raster examples/scene.yamlExample should then display:
This project is licensed under the MIT License. See LICENSE for details.
