Skip to content

jovoy/rayTracingInOneWeekend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing In One Weekend - Nim edition

A quick and dirty version of Ray Tracing in One Weekend, using Nim.

I went through the book to better understand some concepts (essentially how to structure code in ray tracing) and not to write the nicest code. For a prettier Nim implementation take a look at @mratsim’s trace of radiance.

The final output of my code (final book 1 result):

media/rayTracing.png

On a positive note I have to say that I was really surprised that “in one weekend” is not an exaggeration!

The lessons learned here will need to be applied to an X-ray ray tracer (in which the material interactions of course are very different) here:

https://github.com/Vindaar/AxionElectronLimit/blob/wip_thesis/raytracer2018.nim

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nim 100.0%