Skip to content

Robinbux/Raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Raytracer

Rust implementation of Raytracing in One Weekend (WIP).

  • Chapter 1: Overview
  • Chapter 2: Output an Image
  • Chapter 3: The vec3 Class
  • Chapter 4: Rays, a Simple Camera, and a Background
  • Chapter 5: Adding a Sphere
  • Chapter 6: Surface Normals and Multiple Objects
  • Chapter 7: Antialiasing
  • Chapter 8: Diffuse Materials
  • Chapter 9: Metal
  • Chapter 10: Dielectrics
  • Chapter 11: Positionable Camera
  • Chapter 12: Defocus Blur

Usage: cargo run > image.ppm

You can open the image file with a program of your choice, i.e. preview.

Many thanks to Fabio for the help in the Raytracing related tasks and to Ben for reviewing my Rust code!

Current state:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages