/rt

Raytracer in rust

Primary LanguageRust

DONE

Objects

  • Sphere
  • Plane
  • AARect
  • AABox
  • AAHexa

Effects

  • Rotate
  • Refraction
  • Reflection

Lights

  • Bulb
  • Sun

Effects

  • Diffuse
  • Specular

Shadow

  • Ambient light

More

  • Anti-aliasing

TODO

  • Handle severals lights correctly
  • Shadow : handle refraction and reflection
  • Config : handle errors correctly (check all unwrap / try! / panic! in code)
  • Objects : compute wrong normal if inside some objects
  • Colored image to 3d object

FIXME

  • objects::Rotater : Wrong normal when rotate x and y