Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 803 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 803 Bytes

Sol

Sol is a simple renderer that I wrote for my bachelor's thesis. It currently supports ray casting and a basic ray tracing algorithm.

Build instructions

make

Usage

To render your own scene:

  1. Write a new world file and put it into worlds/. Check the other files there for an example on how to do that.
  2. Replace the world #include directive in sol.cpp with your own.
  3. Rebuild by running make.
  4. sol -H <hres> -V <vres> -s <num_supersamples> -S jittered

The output image will be saved as output.bmp.

There's also sol --help to see all supported flags.

Example renderings

four_boxes not_nothing coloured_shadows