Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Raytracer

Based on the book Ray tracing in One Weekend.

Work in progress.

Concurrency

Uses as many cores as available to speed up rendering. Image is split up vertically in slices:

  • number of slices = number of cores
  • slice height = image height / number of slices

Randomizer

Precalculates lookup tables with random values. This significantly speeds up the raytracing algorithm as the real random generator is pretty slow.

Example Output

example image 1

About

A raytracer written in Swift

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages