├── .gitignore └── Examples └── Photons ├── Packages └── RealityKitContent │ ├── Package.realitycomposerpro │ ├── PluginData │ │ └── AF09ED6F-1707-48FD-8720-65B998362C09 │ │ │ └── ShaderGraphEditorPluginID │ │ │ └── ShaderGraphEditorPluginID │ ├── ProjectData │ │ └── main.json │ └── WorkspaceData │ │ ├── SceneMetadataList.json │ │ ├── Settings.rcprojectdata │ │ └── lakiiinbor.rcuserdata │ ├── Package.swift │ ├── README.md │ └── Sources │ └── RealityKitContent │ ├── RealityKitContent.rkassets │ ├── Immersive.usda │ └── Materials │ │ └── GridMaterial.usda │ └── RealityKitContent.swift ├── Photons.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcshareddata │ └── xcschemes │ └── TheSpatialPhoto.xcscheme ├── Photons ├── AppModel.swift ├── Assets.xcassets │ ├── AppIcon.solidimagestack │ │ ├── Back.solidimagestacklayer │ │ │ ├── Content.imageset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── Front.solidimagestacklayer │ │ │ ├── Content.imageset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ └── Middle.solidimagestacklayer │ │ │ ├── Content.imageset │ │ │ └── Contents.json │ │ │ └── Contents.json │ ├── Contents.json │ └── hello_particles.imageset │ │ ├── Contents.json │ │ └── hello_particles.jpg ├── ECS │ ├── ParticlesUpdateSystem.swift │ ├── SceneUpdateSystem.swift │ ├── SettingsComponent.swift │ └── SimulationSystem.swift ├── Info.plist ├── Particles │ ├── ParticleMeshBuilder.swift │ └── ParticleMeshUpdater.metal ├── PhotonsApp.swift ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── Scene │ ├── SceneCollision.metal │ ├── SceneCollisionEncoder.swift │ ├── SceneMeshAssembler.metal │ ├── SceneMeshAssembler.swift │ ├── SceneMeshBuilder.swift │ └── SceneMeshProvider.swift ├── Simulation │ ├── Simulation.metal │ └── Simulation.swift ├── UI │ ├── ContentView.swift │ ├── ImmersiveView.swift │ ├── ToggleImmersiveSpaceButton.swift │ └── ViewModel.swift └── Utils.h └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/.gitignore -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/PluginData/AF09ED6F-1707-48FD-8720-65B998362C09/ShaderGraphEditorPluginID/ShaderGraphEditorPluginID: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/PluginData/AF09ED6F-1707-48FD-8720-65B998362C09/ShaderGraphEditorPluginID/ShaderGraphEditorPluginID -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/lakiiinbor.rcuserdata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/lakiiinbor.rcuserdata -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Package.swift -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/README.md: -------------------------------------------------------------------------------- 1 | # RealityKitContent 2 | 3 | A description of this package. -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda -------------------------------------------------------------------------------- /Examples/Photons/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/Photons/Photons.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/Photons/Photons.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Examples/Photons/Photons.xcodeproj/xcshareddata/xcschemes/TheSpatialPhoto.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons.xcodeproj/xcshareddata/xcschemes/TheSpatialPhoto.xcscheme -------------------------------------------------------------------------------- /Examples/Photons/Photons/AppModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/AppModel.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/hello_particles.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/hello_particles.imageset/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Assets.xcassets/hello_particles.imageset/hello_particles.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Assets.xcassets/hello_particles.imageset/hello_particles.jpg -------------------------------------------------------------------------------- /Examples/Photons/Photons/ECS/ParticlesUpdateSystem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/ECS/ParticlesUpdateSystem.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/ECS/SceneUpdateSystem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/ECS/SceneUpdateSystem.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/ECS/SettingsComponent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/ECS/SettingsComponent.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/ECS/SimulationSystem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/ECS/SimulationSystem.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Info.plist -------------------------------------------------------------------------------- /Examples/Photons/Photons/Particles/ParticleMeshBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Particles/ParticleMeshBuilder.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Particles/ParticleMeshUpdater.metal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Particles/ParticleMeshUpdater.metal -------------------------------------------------------------------------------- /Examples/Photons/Photons/PhotonsApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/PhotonsApp.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/Photons/Photons/Scene/SceneCollision.metal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Scene/SceneCollision.metal -------------------------------------------------------------------------------- /Examples/Photons/Photons/Scene/SceneCollisionEncoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Scene/SceneCollisionEncoder.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Scene/SceneMeshAssembler.metal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Scene/SceneMeshAssembler.metal -------------------------------------------------------------------------------- /Examples/Photons/Photons/Scene/SceneMeshAssembler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Scene/SceneMeshAssembler.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Scene/SceneMeshBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Scene/SceneMeshBuilder.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Scene/SceneMeshProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Scene/SceneMeshProvider.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Simulation/Simulation.metal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Simulation/Simulation.metal -------------------------------------------------------------------------------- /Examples/Photons/Photons/Simulation/Simulation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Simulation/Simulation.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/UI/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/UI/ContentView.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/UI/ImmersiveView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/UI/ImmersiveView.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/UI/ToggleImmersiveSpaceButton.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/UI/ToggleImmersiveSpaceButton.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/UI/ViewModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/UI/ViewModel.swift -------------------------------------------------------------------------------- /Examples/Photons/Photons/Utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/Photons/Utils.h -------------------------------------------------------------------------------- /Examples/Photons/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/examples/HEAD/Examples/Photons/README.md --------------------------------------------------------------------------------