2021-04-19 14:53:46 +02:00
2021-04-14 19:34:40 +02:00
2021-04-14 19:34:40 +02:00
2021-04-14 19:34:40 +02:00
2021-04-14 19:51:50 +02:00
2021-04-19 14:53:46 +02:00
2021-04-14 19:34:40 +02:00

rmarcher

A ray marching renderer in rust

small example

Dependencies

  • rust >= 1.51 for const generics
  • crossbeam && crossbeam-channel for multithreading
  • rand for rng
  • image for png export
  • rlua for lua scene building

What currently works

  • Simple shapes (half-spaces and spheres are the only tested ones so far)
  • Spectral simulation (currently using 4 color components)
  • Global illumination (with diffuse and reflective surfaces)
  • Punctual illumination

What is planned

  • Testing of more shapes
  • Support for a lua-based scene representation DSL
  • Support for linking against a scene.so exporting a scene
  • Support for using as a library

Examples

1st test scene 2nd test scene

License

MIT

S
Description
A ray marching renderer in rust
Readme 16 MiB
Languages
Rust 88.6%
Lua 11.2%
Shell 0.2%