{"id":16651239,"url":"https://github.com/vvzen/lets-trace-some-rays-in-rust","last_synced_at":"2025-12-25T09:04:29.003Z","repository":{"id":113449402,"uuid":"609496554","full_name":"vvzen/lets-trace-some-rays-in-rust","owner":"vvzen","description":"Very very simple toy OpenEXR renderer application written in Rust","archived":false,"fork":false,"pushed_at":"2023-03-12T20:23:13.000Z","size":6112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T00:35:22.179Z","etag":null,"topics":["colstodian","linear-color","openexr","renderer","rust","toy-renderer"],"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/vvzen.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-03-04T11:01:50.000Z","updated_at":"2023-03-05T18:06:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6761bdc-da63-45ea-a067-aef406197039","html_url":"https://github.com/vvzen/lets-trace-some-rays-in-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2Flets-trace-some-rays-in-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2Flets-trace-some-rays-in-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2Flets-trace-some-rays-in-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2Flets-trace-some-rays-in-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vvzen","download_url":"https://codeload.github.com/vvzen/lets-trace-some-rays-in-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243238975,"owners_count":20259132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["colstodian","linear-color","openexr","renderer","rust","toy-renderer"],"created_at":"2024-10-12T09:24:18.021Z","updated_at":"2025-12-25T09:04:28.925Z","avatar_url":"https://github.com/vvzen.png","language":"Rust","readme":"# README\n\n**TL;DR:** This app is a toy Raytracer writter in Rust.\n\n![screenshoot](screengrab.png)\n\nThis is just a pet project of mine, done while sloooowly following along [Ray Tracing in One Weekend](https://misterdanb.github.io/raytracinginrust/#surfacenormalsandmultipleobjects) over the course of \u003e1 weekends.\n\nCurrent features:\n- UI: written in [iced](https://iced.rs/), following the [ELM architecture](https://guide.elm-lang.org/architecture/)\n\n- UI: GPU Framebuffer shows a 8bit tonemapped conversion of the render buffer (32bit float) \n\n- UI: Save to filesystem in OpenEXR container (ZIP compression), thanks to [exr](https://crates.io/crates/exr)\n\n- 3D: Rendering done in scene linear ACEScg colorspace, thanks to [colstodian](https://crates.io/crates/colstodian)\n\n- 3D: Rendering happens in the background via async tasks, thanks to the iced Command API\n\n- 3D: Antialiasing (by shooting and averaging multiple rays per pixel)\n\n- 3D: Metallic and Lambertian-like rendering of spheres\n\n## Things I want to do\n\n- Proper multithreaded rendering, based on the number of cores.\n  - Could happen via [rayon](https://crates.io/crates/rayon), or via a bespoke solution.\n  \n- IPR: Continuosly update the render buffer, starting from low res render and increasing resolution and number of samples every iteration\n\n## Things I have learned so far\n\n- I don't like immediate GUI approaches, like egui (sending data around is too hard, if you don't have a message/event based approach!)\n\n- GUI frameworks in Rust are cool, but still very very young\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvzen%2Flets-trace-some-rays-in-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvvzen%2Flets-trace-some-rays-in-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvzen%2Flets-trace-some-rays-in-rust/lists"}