Skip to content

sdeframond/MantaRay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MantaRay

This is an experimental ray tracer/path tracer written in Rust.

Examples

see here

Usage

Edit the scene in mains.rs, then Cargo run. The output will be generated in result.png.

Features

  • Global illumination (comes with soft shadows and caustics).
  • Different shapes: sphere and infinite plane.
  • Diffuse material.
  • Reflection (mirror).
  • Refraction (glass, water etc).
  • Emittive material.

Todo

  • Use basic command line arguments (output file, input files, bounce depth, bounce factor...).
  • Implement triangle meshes.
  • Implement some file import from 3DS or Blender.
  • Implement bidirectionnal path tracing.
  • Use with the GPU.

About

An experimental ray/path tracer in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages