Nick-Triller / raytrace

An offline path tracer implemented in pure go with no dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Go 100.0%