Skip to content

thijsheijden/go-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracer in Go

This ray tracer is written in pure Go, using goroutines for multithreading. The ray tracer was built following the ray tracing in a weekend guide. Of course I have added my own spin on things, like adding multithreading and changing the structure of the project to fit not having classes.

Images

Three spheres. Leftmost has a lambertian material (diffusion), middle has a dielectric material (with 1.5 refraction index), and rightmost has a red, fuzzy metal material. Three spheres using three materials

The final product. Many different spheres with all four different materials.

There are still some small problems, but the core is finished.

About

A ray tracer written in Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages