Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raytracer

Cross-plattform raytracer written in C++.

Building

Requirements: cmake

In linux/macos:

cmake --build build --config release
./build/Raytracer >> render.ppm

In Windows:

cmake -B build
cmake --build build --config release
build\Release\Raytracer.exe >> render.ppm

Usage

In the main.exe file create your hittable objects, set their position on the world, give them a material, and run the executable with the build command above. You can then visualize the image with image manipulation software, such as GIMP.

Example

Rendered image

Improvement ideas

  • Improve performance by offloading computation to the GPU with shader-programming (Run-time of authors machine ~1:30h)
  • Adding additional features (Motion blur, texture maps, perlin noise, rendering arbitrary meshes, light sources, Volumetric rendering)

Sources

Ray Tracing in One Weekend

About

Cross-plattform raytracer written in C++.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages