Skip to content

masonschafercodes/weekend-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing in One Weekend

This project is a simple implementation of the concepts from Peter Shirley's Ray Tracing in One Weekend book series. The series is an excellent introduction to ray tracing and consists of three books:

  1. Ray Tracing in One Weekend
  2. Ray Tracing: The Next Week
  3. Ray Tracing: The Rest of Your Life

This implementation focuses on the first book, and the code is written in Rust.

Resources

  • PPM Viewer: A simple tool to view the rendered .ppm images.

Progress

  • Chapter 1: Output an Image
  • Chapter 2: Vec3
  • Chapter 3: Rays, a Simple Camera, and Background
  • Chapter 4: Adding a Sphere
  • Chapter 5: Surface Normals and Multiple Objects
  • Chapter 6: Antialiasing (Random Sampling)
  • Chapter 7: Diffuse Materials
  • Chapter 8: Metal
  • Chapter 9: Dielectrics
  • Chapter 10: Positionable Camera
  • Chapter 11: Defocus Blur
  • Chapter 12: Where Next?

Usage

To run the project and generate a rendered image:

cargo run --release

My Final Render (4K | Took 00:15:24)

Final Render

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages