Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.