Skip to content

'Ray Tracing in Two Weekends' written in Rust

Notifications You must be signed in to change notification settings

rafalopilowski1/raytracing_in_one_weekend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing in Two Weekends

Fully-featured ray tracer written in Rust featuring naive multithreading based on Rayon.

It was made following Steve Hollasch's tutorials: "Ray Tracing in One Weekend" and "Ray Tracing: The Next Week".

Example renders

resolution rays per pixel
1280 x 720 1000

Example image 1 Example image 2 Example image 3 Example image 4 Example image 5 Example image 6 Example image 7 Example image 8

Finished functions

  • The Vec3 class
  • Rays, a Simple Camera, and Background
  • Adding a Sphere
  • Output an Image (as PNG)
  • Adding an ETA Indicator
  • Surface Normals and Multiple Objects
  • Antialiasing
  • Diffuse Materials
  • Metal
  • Dielectrics
  • Positionable Camera
  • Defocus Blur
  • Motion Blur
  • Bounding Volume Hierarchies
  • Solid Textures
  • Perlin Noise
  • Image Texture Mapping
  • Rectangles and Lights
  • Instances
  • Volumes

About

'Ray Tracing in Two Weekends' written in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages