Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grant0417/ray_tracer
A Ray Tracer in Rust
https://github.com/grant0417/ray_tracer
ray-tracer rust
Last synced: 29 days ago
JSON representation
A Ray Tracer in Rust
- Host: GitHub
- URL: https://github.com/grant0417/ray_tracer
- Owner: grant0417
- License: other
- Created: 2020-04-23T16:43:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T22:40:06.000Z (almost 2 years ago)
- Last Synced: 2024-12-16T19:37:55.322Z (30 days ago)
- Topics: ray-tracer, rust
- Language: Rust
- Homepage:
- Size: 5.69 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ray Tracer
# [Demo](https://rust-ray-tracer.netlify.app/)![Cornell Box](imgs/cornell.png)
*Rendered at 1280x1280 with 4096 samples/pixel in 01:19:34 on a Ryzen R7 2700x.*## About
A basic ray tracer built in Rust that also runs on the web.
Some features include:
* Parallel execution of ray tracing
* .obj loading
* BVH acceleration
* Command line interface
* Multiple image output formatsHere are some more images from the ray tracer:
![Utah Teapot and Stanford Dragon](imgs/objs.png)## How to use
To run the program clone the repository then run `cargo run --release -- file.png` or use
`cargo run --release -- --help` to get more info on how to use the program.