Skip to content

aik2mlj/RayTracing

Repository files navigation

PPCA raytracer

This is a ray tracing project for Principle and Practice of Computer Algorithms (CS1952) course. We followed the tutorial series Ray Tracing in One Weekend, and writed the code in Rust. To acquire extra points, I implemented several optimizations:

  • Reduce Contention: only clone Arc when creating a thread; change Arc into reference in other places.
  • Static Dispatch: use generics to reduce extra expenses.
  • Code Generation: use procedural macros in Rust to generate the scene code statically.
  • Advanced Features: add support for Tranform

Here are some photos rendered: earth_and_balls_2 book2_scene add_all_pdf

About

A ray tracer written in Rust, following "Ray Tracing in One Weekend" series

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors