Skip to content
Snippets Groups Projects
Select Git revision
  • f4524913eff349c69b6375d73f863f4148cf8bc9
  • main default protected
  • simd
  • looping
  • threadless
5 results

pew

  • Clone with SSH
  • Clone with HTTPS
  • Evy Garden's avatar
    Evy Storozhenko authored
    f4524913
    History

    Pew!

    A multi-threaded raytracer following https://raytracing.github.io/

    Dependencies

    sdl2
    sdl2_ttf

    Build & Run

    mkdir build && cd build
    cmake -DCMAKE_BUILD_TYPE=Release ..
    cmake --build . --config Release
    ./src/pew/pew

    Controls

    <SPACE>     Pause rendering
    u           Show final render
    i           Show materials as colors
    s           Save render in current state at ./shot.png

    Screenshots

    A complete scene

    Rendered scene

    Rendered out image

    another shot

    Materials as colors

    Materials as colors

    Screenshot of a scene being rendered

    Rendering a scene