github.com/EndIsNear/Go-Raytracer/src/mymath

Simple raytracer in Go.


License
GPL-3.0
Install
go get github.com/EndIsNear/Go-Raytracer/src/mymath

Documentation

Go-Raytracer

Simple raytracer in Go for "Programing with Go" course in FMI.

Install and Run

Make sure you have Go and veandco/go-sdl2 installed.

git clone https://github.com/EndIsNear/Go-Raytracer.git
cd src/
go run main.go

Features

  • Intersection with planes, cubes, spheres and meshes.
  • Shading with lambert, phong and textures.