Skip to content

Implementation of the book "The Ray Tracer Challenge" by Jamis Buck

Notifications You must be signed in to change notification settings

agentbellnorm/ray-tracer-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracer Challenge

test_banner

This is a ray tracer written in Rust following the book "The ray tracer challenge" by Jamis Buck.

The book provides language agnostic test cases, pseudocode and explanations. The rest is up to the reader to implement.

What is ray tracing?

Ray tracing is a technique for rendering digital images by simulating how light behaves as it interacts with different materials. It produces realistic results but is relatively slow.

Ray Tracing (Wikipedia)

Why?

My objectives with this project is to

  • Learn about 3D graphics
  • Learn Rust

No dependencies

Yay 🎉

Run

cargo run --release

Examples

Chapter 16, Constructive Solid Geometry

Chapter 15, Triangles

Chapter 14, Groups

Chapter 13, Cylinders and Cones

cylcone

Chapter 12, Cubes

cubes

Chapter 11, Reflection and Refraction

sphere

Chapter 10, Patterns

sphere

Chapter 9, Planes

sphere

Chapter 8, Shadows

sphere

Chapter 7, Scene made from multiple spheres

sphere

Chapter 6, First 3D sphere

sphere

About

Implementation of the book "The Ray Tracer Challenge" by Jamis Buck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages