{"id":23864453,"url":"https://github.com/scanmountgoat/ldr_wgpu","last_synced_at":"2025-10-28T09:34:35.719Z","repository":{"id":157463976,"uuid":"616585336","full_name":"ScanMountGoat/ldr_wgpu","owner":"ScanMountGoat","description":"An experimental LDraw renderer using WGPU","archived":false,"fork":false,"pushed_at":"2024-10-08T16:53:51.000Z","size":179,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T22:43:00.166Z","etag":null,"topics":["ldraw","ldraw-viewer","lego","wgpu"],"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/ScanMountGoat.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":"2023-03-20T17:14:16.000Z","updated_at":"2025-02-17T20:21:34.000Z","dependencies_parsed_at":"2024-02-25T00:30:38.106Z","dependency_job_id":"c099aa42-ba40-4ee9-9056-2f285da3bc3c","html_url":"https://github.com/ScanMountGoat/ldr_wgpu","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/ScanMountGoat%2Fldr_wgpu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanMountGoat%2Fldr_wgpu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanMountGoat%2Fldr_wgpu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanMountGoat%2Fldr_wgpu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScanMountGoat","download_url":"https://codeload.github.com/ScanMountGoat/ldr_wgpu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852205,"owners_count":21171848,"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":["ldraw","ldraw-viewer","lego","wgpu"],"created_at":"2025-01-03T08:26:16.903Z","updated_at":"2025-10-28T09:34:35.713Z","avatar_url":"https://github.com/ScanMountGoat.png","language":"Rust","readme":"# ldr_wgpu\n![image](https://github.com/ScanMountGoat/ldr_wgpu/assets/23301691/d103781d-b0fa-4cf0-bc42-8b13ab42a459)\n\nldr_wgpu is an experimental LDraw renderer targeting modern desktop GPU hardware with an emphasis on performance.\n\nThe goal of this project is to research and implement suitable techniques for rendering large LDraw scenes in real time. This project is not designed to match the quality of offline renderers like Blender Cycles. The code is intended to serve as a reference for others wanting to build their own renderers and contains numerous comments and links to blog posts, technical docs, papers, etc. This project may be reworked to be useable as a library for future Rust projects at some point.\n\n## Design\nHigh level design decisions are outlined below. See [ARCHITECTURE](https://github.com/ScanMountGoat/ldr_wgpu/blob/main/ARCHITECTURE.md) for details.\nIf you have any comments or suggestions, feel free to open an [issue](https://github.com/ScanMountGoat/ldr_wgpu/issues) to discuss it.\n\n- Hardware raytracing for efficient rendering of very complex scenes\n- Instancing for reduced memory usage\n- Heavy usage of multithreading and caching for fast scene load times\n\n## Compatibility\nThe code is built using WGPU and targets modern GPU hardware for newer versions of Windows, Linux, and MacOS. The renderer takes advantage of modern features like hardware raytracing not available on older devices and requires DX12, Vulkan, or Metal support.\n\n## Building\nWith a newer version of the [Rust toolchain](https://www.rust-lang.org/tools/install) installed, run `cargo build --release` from the main repository directory. Don't forget the --release since debug builds in Rust will run slowly. The executable will be located in `target/release`. Run the program as `cargo run --release -p ldr_viewer \u003cldraw library path\u003e \u003cldraw file path\u003e` or from the executable directory as `ldr_viewer \u003cldraw library path\u003e \u003cldraw file path\u003e`.\n\n## Copyrights\nLDraw™ is a trademark owned and licensed by the Jessiman Estate, which does not sponsor, endorse, or authorize this project.  \nLEGO® is a registered trademark of the LEGO Group, which does not sponsor, endorse, or authorize this project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanmountgoat%2Fldr_wgpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscanmountgoat%2Fldr_wgpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanmountgoat%2Fldr_wgpu/lists"}