Skip to content

dwbcampbell/raytrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an incomplete implementation in the Rust language of a ray tracer as described in the book http://raytracerchallenge.com. It covers the first two chapters of the book.

The code is organized as a cargo workspace. The constituent projects are:

  • raytracelib: implementations of the Color, Canvas, and Tuple classes from Chapter 1 and 2.

  • projectile: an executable that draws a parabola on a canvas and exports it in PPM format. (Based on "Putting it Together" from Chapter 2)

  • projectile_native: the same as above but using Rust vector classes instead of Tuple (incomplete)

About

A Ray Tracer implemented in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages