{"id":27015248,"url":"https://github.com/doubleailes/crust-render","last_synced_at":"2025-04-04T14:17:29.689Z","repository":{"id":285139958,"uuid":"956802563","full_name":"doubleailes/crust-render","owner":"doubleailes","description":"A simple toy ray tracer","archived":false,"fork":false,"pushed_at":"2025-04-01T14:59:16.000Z","size":3026,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T16:30:21.589Z","etag":null,"topics":["cook-torrance","disney-principled-brdf","mis","path-tracing","ray-tracing","ray-tracing-in-one-weekend","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/doubleailes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-28T22:18:35.000Z","updated_at":"2025-04-01T14:41:13.000Z","dependencies_parsed_at":"2025-04-01T16:30:28.846Z","dependency_job_id":null,"html_url":"https://github.com/doubleailes/crust-render","commit_stats":null,"previous_names":["doubleailes/ray-tracing","doubleailes/crust-render"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubleailes%2Fcrust-render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubleailes%2Fcrust-render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubleailes%2Fcrust-render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubleailes%2Fcrust-render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doubleailes","download_url":"https://codeload.github.com/doubleailes/crust-render/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190219,"owners_count":20898702,"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":["cook-torrance","disney-principled-brdf","mis","path-tracing","ray-tracing","ray-tracing-in-one-weekend","rust"],"created_at":"2025-04-04T14:17:29.099Z","updated_at":"2025-04-04T14:17:29.682Z","avatar_url":"https://github.com/doubleailes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crust Render\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"logo/curst-render-logo.png\" width=\"70%\" title=\"Crust Render Logo\"/\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\nA toy, high-quality path tracer written in safe, modern Rust — inspired by PBRT, `Ray Tracing in One Weekend`, and Autodesk Standard Surface.\nCompletely in a vibe coding mood.\n\n## 📸 Preview\n\n![preview](./images/rgb.png)\n\n---\n\n## ✨ Features\n\n- ✅ **Physically-Based Path Tracing**\n  - Supports diffuse, metal, glass, Blinn-Phong, Cook-Torrance\n- 🔁 **Recursive Ray Scattering** with depth control\n- 💡 **Multiple Light Sources**\n  - Emissive materials\n  - Light sampling \u0026 MIS (Multiple Importance Sampling)\n- ⚙️ **Material System**\n  - Trait-based, easy to extend\n  - Microfacet GGX BRDF with Fresnel and geometry terms\n- 🧠 **Importance Sampling**\n  - Supports BRDF- and light-based sampling\n- ⚡ **Adaptive Sampling**\n  - Early stop based on variance threshold\n- 🧪 **Modular Design**\n  - Clean separation between renderer, integrator, materials, scene\n- **Disney Principled Shader**\n  - A basic integration of the animation standard shader\n- **Correlated Multi-Jittered (CMJ)**\n  - Use CMJ for camera and light rays\n\n---\n\n## 🚀 Getting Started\n\n### 🔧 Build and Run\n\n```bash\ncargo run --release -- --samples-per-pixel 200 --max-depth 50\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoubleailes%2Fcrust-render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoubleailes%2Fcrust-render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoubleailes%2Fcrust-render/lists"}