{"id":16888974,"url":"https://github.com/k0nserv/rusttracer","last_synced_at":"2025-03-17T06:31:43.284Z","repository":{"id":51613872,"uuid":"84495360","full_name":"k0nserv/rusttracer","owner":"k0nserv","description":"A raytracer written in Rust for fun and learning","archived":false,"fork":false,"pushed_at":"2024-05-06T14:01:04.000Z","size":1525,"stargazers_count":35,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-27T19:04:01.024Z","etag":null,"topics":["rayon","raytracer","raytracing","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k0nserv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-03-09T22:39:05.000Z","updated_at":"2024-05-06T14:01:08.000Z","dependencies_parsed_at":"2024-10-27T12:12:23.744Z","dependency_job_id":"3c1b0126-8890-4249-bd45-3c902e0c28fd","html_url":"https://github.com/k0nserv/rusttracer","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/k0nserv%2Frusttracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0nserv%2Frusttracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0nserv%2Frusttracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0nserv%2Frusttracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k0nserv","download_url":"https://codeload.github.com/k0nserv/rusttracer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847062,"owners_count":20357317,"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":["rayon","raytracer","raytracing","rust"],"created_at":"2024-10-13T16:55:01.683Z","updated_at":"2025-03-17T06:31:42.354Z","avatar_url":"https://github.com/k0nserv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rusttracer\n\n![Rust](https://github.com/k0nserv/rusttracer/workflows/Rust/badge.svg)\n\nYAR(Yet Another Raytracer).\n\nI like to write raytracers to learn new programming languages. They're fun and are a natural way to learn most OOP languages. Naturally I'm writing a raytracer in rust called rusttracer 🙂.\n\n## Building\n\nMake sure you have the rust nightly toolchain installed then run\n\n```bash\ncargo build --release\n```\n\n## Running\n\nThe project uses a json based configuration format. For an example see the [`rgb-spheres.json`](scenes/rgb-spheres.json) scene. To render it run:\n\n```bash\ntarget/release/rusttracer --config-path scenes/rgb-spheres.json\n```\n\n## Usage\n\n```bash\nUsage: target/release/rusttracer [options]\n\nOptions:\n    -c, --config-path CONFIG_PATH\n                        config file path, uses `default.json` if not specified\n    -b, --benchmark     Benchmark by rendering the scene multiple times\n    -h, --help          prints this help menu\n```\n\n## Renders\n\n\n![](docs/first-render.png)\n\u003e This was the first render produced.\n\n\n![](docs/bit-later-render.png)\n\u003e This was rendered a while later, at this point there was support for diffuse colors, specular highlights, reflection, colored lights, and super sampling. This is 2560x1440 at 4x4 super sampling\n\n![](docs/procedural-fractal-gallery.png)\n\u003e This rendering uses procedural textures to render the fractal artworks. This is 2560x1440 at 4x4 super sampling.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0nserv%2Frusttracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0nserv%2Frusttracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0nserv%2Frusttracer/lists"}