{"id":13505378,"url":"https://github.com/metal-by-example/metal-spatial-rendering","last_synced_at":"2025-03-29T23:31:38.793Z","repository":{"id":210319071,"uuid":"657348013","full_name":"metal-by-example/metal-spatial-rendering","owner":"metal-by-example","description":"A minimal example of rendering an immersive spatial experience with Metal, ARKit, and visionOS Compositing Services","archived":false,"fork":false,"pushed_at":"2024-06-30T02:33:07.000Z","size":29895,"stargazers_count":201,"open_issues_count":0,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-01T02:35:24.355Z","etag":null,"topics":["3d-graphics","metal","objective-c-plus-plus","spatial-computing","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Objective-C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metal-by-example.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-06-22T21:42:57.000Z","updated_at":"2024-10-16T08:36:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b196606-2b36-464c-b4e2-0cfaf216fee2","html_url":"https://github.com/metal-by-example/metal-spatial-rendering","commit_stats":null,"previous_names":["metal-by-example/metal-spatial-rendering"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-by-example%2Fmetal-spatial-rendering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-by-example%2Fmetal-spatial-rendering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-by-example%2Fmetal-spatial-rendering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-by-example%2Fmetal-spatial-rendering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metal-by-example","download_url":"https://codeload.github.com/metal-by-example/metal-spatial-rendering/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258884,"owners_count":20748573,"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":["3d-graphics","metal","objective-c-plus-plus","spatial-computing","swiftui"],"created_at":"2024-08-01T00:01:03.551Z","updated_at":"2025-03-29T23:31:33.773Z","avatar_url":"https://github.com/metal-by-example.png","language":"Objective-C++","funding_links":[],"categories":["Prototypes","Open Source","Uncategorized"],"sub_categories":["Github Repos","Projects","Uncategorized"],"readme":"# Immersive Spatial Rendering with Metal in visionOS\n\nThis sample is a minimal example of rendering a immersive spatial experience with Metal, ARKit, and visionOS Compositing Services.\n\n![Example screenshot of spatial rendering](screenshots/01.png)\n\nWhen running on the Simulator, the app uses the [`.dedicated`](https://developer.apple.com/documentation/compositorservices/layerrenderer/layout/dedicated) layout. When running on an Apple Vision Pro, the app uses the [`.layered`](https://developer.apple.com/documentation/compositorservices/layerrenderer/layout/layered) layout along with [Metal vertex amplification](https://developer.apple.com/documentation/metal/render_passes/improving_rendering_performance_with_vertex_amplification) to efficiently render both stereo views in a single pass.\n\nWhen running on a visionOS 2 simulator or device, the app enables the [mixed immersion style](https://developer.apple.com/documentation/swiftui/immersionstyle/mixed) and enables the user to progressively select how much of the real world is visible via passthrough.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-by-example%2Fmetal-spatial-rendering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetal-by-example%2Fmetal-spatial-rendering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-by-example%2Fmetal-spatial-rendering/lists"}