Skip to content

dkasak/sol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple renderer (ray tracer) in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published