You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Codinget
9529f56a01
|
4 years ago | |
---|---|---|
prod | 4 years ago | |
scenes | 4 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
Cargo.lock | 4 years ago | |
Cargo.toml | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
test | 4 years ago |
README.md
rmarcher
A ray marching renderer in rust
Dependencies
rust >= 1.51
for const genericscrossbeam
&&crossbeam-channel
for multithreadingrand
for rngimage
for png exportrlua
for lua scene building
What currently works
- Simple shapes (half-spaces, spheres, cylinders and torus are the only tested ones so far)
- Spectral simulation (currently using 4 color components)
- Global illumination (with diffuse and reflective surfaces)
- Punctual illumination
- Defining scenes in lua
What is planned
- Testing of more shapes
- Support for a lua-based scene representation DSL
- Support for controlling the whole application from lua
- Support for linking against a
scene.so
exporting a scene - Support for using as a library
Examples
License
MIT