version License build

Ray image

About

Renders image of some scene using ray tracing.\ This project is Rust adaption of Ray Tracing in One Weekend e-book by Peter Shirley

Usage

Add following to your Cargo.toml:

toml [dependencies] rayimg = "0.0.7"

Renders

Rendered images from tests can be found in tests/output and in examples/output directories.

Tests

To run tests type following in the shell:

shell cargo test --doc cargo test --tests --release cargo test --examples

Examples can be compiled and executed by typing next:

shell cargo run --example (example name or nothing to see available examples) --release

Documentation

You can find documentation at docs.rs.

Dependencies

Rand

License

Ray image is licensed under the Apache 2.0/MIT license.