{"id":16020647,"url":"https://github.com/cestef/raytracing-rust","last_synced_at":"2026-06-13T01:32:00.397Z","repository":{"id":200180998,"uuid":"657257600","full_name":"cestef/raytracing-rust","owner":"cestef","description":"Just a basic multithreaded raytracer","archived":false,"fork":false,"pushed_at":"2023-10-14T18:03:17.000Z","size":9371,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T05:28:02.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cestef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-22T16:56:01.000Z","updated_at":"2024-08-02T13:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7675699-5bd6-486c-bbd7-740056af7ff4","html_url":"https://github.com/cestef/raytracing-rust","commit_stats":null,"previous_names":["cestef/raytracing-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cestef/raytracing-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cestef%2Fraytracing-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cestef%2Fraytracing-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cestef%2Fraytracing-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cestef%2Fraytracing-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cestef","download_url":"https://codeload.github.com/cestef/raytracing-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cestef%2Fraytracing-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34269363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T17:42:57.906Z","updated_at":"2026-06-13T01:32:00.362Z","avatar_url":"https://github.com/cestef.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raytracing in Rust\n\nThis is just a raytracer written in Rust. It is based on the book [Ray Tracing in One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html) by Peter Shirley.\n\n## Features\n- Shapes:\n  - [x] Spheres\n  - [x] Planes\n- Materials:\n  - [x] Lambertian\n  - [x] Metal\n  - [x] Dielectric\n- [x] Antialiasing\n- [x] Positionable camera\n- [x] Depth of field\n- [x] FOV\n- [x] Gamma correction\n- [x] Triangle mesh support\n- [x] Multithreading\n- [x] Load balancing\n- [x] Beautiful CLI\n- [x] Multiple file formats (JPG, PNG, PPM)\n- [x] Bounding Volume Hierarchies Optimisation\n- [ ] Rendering to a window\n- [ ] Textures\n- [ ] Importing models\n- [ ] Lights\n\n## Running\n\nThe help page can be accessed by running the program with the `--help` flag.\n\n```bash\ncargo run --release -- --help\n```\n\nThis will print the following:\n\n```\n$ cargo run --release -- --help\n\nA raytracer written in Rust.\n\nUsage: ray-tracing-rust [OPTIONS]\n\nOptions:\n  -w, --width \u003cWIDTH\u003e                [default: 2560]\n  -h, --height \u003cHEIGHT\u003e              \n  -a, --aspect-ratio \u003cASPECT_RATIO\u003e  [default: 16/9]\n  -s, --samples \u003cSAMPLES\u003e            [default: 100]\n  -t, --threads \u003cTHREADS\u003e            [default: 8]\n  -o, --output \u003cOUTPUT\u003e              [default: output.ppm]\n  -f, --fov \u003cFOV\u003e                    [default: 90]\n      --open                         \n  -h, --help                         Print help\n  -V, --version                      Print version\n```\n\nExample:\n\n```bash\ncargo run --release -- -w 1920 -h 1080 -s 1000 -t 8 -o output.ppm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcestef%2Fraytracing-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcestef%2Fraytracing-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcestef%2Fraytracing-rust/lists"}