Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 889 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 889 Bytes

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