Skip to content

lvfrazao/raytracing1weekend

Repository files navigation

raytracing1weekend

My implementation of Peter Shirley's ray tracing tutorial, "Ray Tracing in One Weekend" in Go.

Progress

  1. Background with a blue to white linear gradient

Render Background

  1. The first shape: a sphere

Sphere in forefront

  1. Implementing shading based on surface normals

Normal Shading

  1. Antialiasing

Antialiasing

  1. Diffuse Materials

Diffuse Materials

  1. True Lambertian Reflection

Lambertian Reflection

  1. Metal material

Metal

  1. Metal Fuzziness

Metal Fuzziness

  1. Glass material - 1

DiElectrics

  1. Glass material - 2

DiElectrics 2

  1. Positionable Camera

Positionable Camera

  1. Defocus Blur

Defocus Blur

  1. Final Render

Final Render

  1. Animated Render

Animated Render

  1. Smooth Circular Motion

Smooth Circular Motion

  1. Triangles

Triangles

  1. Rectangles

Rectangles

  1. Chess Board

Chess Board