Skip to content

peter-seres/rust-ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust_ray_tracer

This is simple CPU implementation of a ray tracer in Rust. The goal is mainly for me to learn the basic Rust programming concepts. The shader features currently implemented:

  • Lambert shading
  • Single reflection

Implemented primitives are: spheres and infinite planes. Light sources are point lights for now. The number of objects in the scene are provided at compile time at the moment.

Example output

traced

Future to-do list

  • N-depth reflections
  • Anti-aliasing
  • Specular reflections
  • Emission material
  • Camera movement
  • Different lights: spots, sun, HDRI

About

Ray tracing project written in pure Rust, CPU only.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages