Raytracing 3D renderer written in Rust
Find a file
2021-03-25 21:11:46 -04:00
src Fix bugs 2021-03-20 18:26:23 -04:00
.gitignore Remove Cargo.lock from .gitignore 2021-03-20 17:51:25 -04:00
Cargo.lock Remove Cargo.lock from .gitignore 2021-03-20 17:51:25 -04:00
Cargo.toml Implemented bounding spheres for objects 2020-12-08 11:22:56 -05:00
LICENSE Update LICENSE 2021-03-25 21:11:46 -04:00
README.md Finished diffuse shading calculations 2021-01-24 10:23:59 -05:00

rust-render

A raytracing 3D renderer written in Rust.

Checklist of features

This list may be changed or extended in the future.

  • Raytracing camera
    • Camera struct
    • Ray creation code
  • Object code architecture
  • Sphere objects
    • Sphere struct
    • Sphere intersection test
    • Sphere normal generation
    • Color mapping on spheres
  • Plane objects
    • Plane struct
    • Plane intersection test
    • Color mapping on planes
  • Triangle objects
    • Triangle struct
    • Triangle intersection test
    • Triangle normal generation
    • Color mapping on triangles
    • Triangle mesh struct
    • Triangle mesh intersection test
  • Bounding spheres
  • Direct lighting
    • Point light sources
      • Point source struct
      • Point source illuminance test
      • Hard shadows
      • Soft shadows
    • Light-emitting surfaces
  • Indirect lighting
    • Reflection
      • Perfectly reflective objects
      • Diffuse reflection
      • Roughness
    • Transparency
      • Simple transparency
      • Refraction