| Crates.io | ferox |
| lib.rs | ferox |
| version | 0.7.0 |
| created_at | 2025-04-01 12:10:48.993613+00 |
| updated_at | 2025-04-23 07:31:21.322472+00 |
| description | Ferox is a ray-tracing renderer written in Rust. |
| homepage | |
| repository | https://github.com/adharmic/ferox |
| max_upload_size | |
| id | 1614775 |
| size | 3,964,969 |
Ferox is a ray-tracing renderer written in Rust.
Currently, it is capable of detecting ray intersections with simple spheres and displaying those calculations in PNG form.
This project is made possible with the help of assets like https://www.scratchapixel.com and ssloy's tiny ray tracer (https://github.com/ssloy/tinyraytracer).
I've licensed ferox under a CC0 license with the intention of making it as freely accessible as possible. You can use it for whatever. I am using (read: creating) it to learn Rust and graphics programming.
The crate can be installed using cargo install ferox.
Ferox supports loading custom scene and environment map configurations with the -s (for "scene") and -b (for "background") arguments respectively.
scene.json within the repository as a guide).image crate to load most valid image data types, including .hdr files.The default image output produces a file in the calling directory called out.png. This can be adjusted with the -o (for "output") argument. It should support most valid image data types.