Skip to content

A personal project and attempt at making a raytracer. Based on the book Ray Tracing in One Weekend.

Notifications You must be signed in to change notification settings

icouldbreathe/Raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raytracer

An attempt at making a ray tracer. Based on Ray Tracing in One Weekend.

Final Render

RTIOW Final Render

Progress

  • Output an image (PPM)
  • Implement progress indicator
  • Implement basic vector class
  • Implement basic ray class
  • Implement basic camera, viewport and background
  • Implement a build solution (make)
  • Ray-Sphere intersection
  • Surface normals and multiple objects
  • Antialiasing
  • Diffuse materials
  • Metal
  • Dielectrics
  • Positionable Camera
  • Defocus Blur
  • Final Render
  • Multithreading

Next:

  • Ray Tracing the Next Week
  • Ray Tracing the Rest of Your Life

Prerequisites

Usage

Make

Use make <debug|release> to build debug or release builds. make or make render will also output the rendered image.

$ cd IOW_RayTracer
$ make <debug|release|render|remake|clean>

About

A personal project and attempt at making a raytracer. Based on the book Ray Tracing in One Weekend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published