Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtdaugherty/flux
A ray tracer implementation in Rust
https://github.com/jtdaugherty/flux
graphics rayon raytracer raytracing rust sdl
Last synced: 13 days ago
JSON representation
A ray tracer implementation in Rust
- Host: GitHub
- URL: https://github.com/jtdaugherty/flux
- Owner: jtdaugherty
- Created: 2018-11-19T04:47:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T00:52:56.000Z (over 2 years ago)
- Last Synced: 2024-11-21T17:46:19.009Z (2 months ago)
- Topics: graphics, rayon, raytracer, raytracing, rust, sdl
- Language: Rust
- Homepage:
- Size: 1.84 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`demo2.yml`, 1479.900397s, 44 cores, 16384 samples per pixel:
![](demo.png)
Building
========```
$ cargo build
```Running
=======For a fast low-quality render:
```
$ cargo run --bin flux -- -r 32 -R 10 -g scenes/demo2.yml
```For a slower but very high-quality render:
```
$ cargo run --bin flux -- -r 150 -d 16 -R 5 -g scenes/demo2.yml
```While the graphical preview is being updated, `Esc` will cancel the
rendering at any time.