A Software rasterizer written in pure rust. Im not really finished with it just yet, but if one wished, they could use it as an OBJ viewer or even use it as a backend in a graphics lib.
You need to install Cargo
and have SDL2
available on your system.
For cargo just go here:
https://www.rust-lang.org/tools/install
To get SDL2
on Ubuntu open your terminal enter:
sudo apt install libsdl2 libsdl2-dev
Pretty much every linux distro has SDL2 available in their repositories. So just check your package manager, and make sure SDL2 is installed.
cargo run --release
- Press and hold shift to move camera faster
- Use the mouse keys to change camera orientations
- Use WASD keys to move around in space
I Still need to add multithreading in order to take full advantage of multiprocessor computers. Im thinking either raylib or I roll my own solution.