Skip to content

An offline path tracer implemented in pure go with no dependencies

Notifications You must be signed in to change notification settings

Nick-Triller/raytrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracer

This is a CPU based ray tracer implemented in Go with no dependencies. It was created for educational purposes as part of Hacktoberfest 2020. The code was heavily inspired by the C++ code from the books "Ray Tracing in One Weekend" and "Ray Tracing: The Next Week".

Configuration

Checkout renderSettings.go.

Usage

Rendering can take a long time depending on number of CPU cores, image resolution, samples per pixel and scene complexity.

go run demo/demo01/main.go

Demos

demo01

demo02

demo03

demo04

demo05

About

An offline path tracer implemented in pure go with no dependencies

Topics

Resources

Stars

Watchers

Forks

Languages