A sample collection of basic functions of Apple's AR framework for iOS.

Last update: May 23, 2022

RealityKit-Sampler

RealityKitSampler is a sample collection of basic functions of RealityKit, Apple's AR framework for iOS.

スクリーンショット 2021-06-22 6 25 04

How to build

1, Download or Clone this project and open in xcode.

2, Please change the "Team" field of xcode Signing and Capabilities to your account.

3, Build on your actual device. This project can not be used in Simulators.

Contents

Put the box

スクリーンショット 2021-06-22 6 25 04

The simplest way to use the ModelEntity and AnchorEntity.

Gigant Robots

Use USDZ models and animations.

Big monitor

How to select a video from your album and paste it as a texture.

Building blocks

How to place objects of different shapes and colors.

Speech Balloon

Visualiing facial expressions and what you say.

Special Move

Interact body and AR object.

Face Cropper

Detect a face then crop.

AR Hockey

Multi Device AR Game.

Hand Interaction

AR with Vision Framework.

What you can learn

Content Technical Elements
Put the box ARView in SwiftUI, Scene, Entity, Anchor, MeshResource, Material.
Big Robots USDZ, Animation
Big Monitor VideoMaterial, SceneEvent
Building Block Ray Cast, Hit Test, Handle Gestures, Physics, Collision, TextureResource
Speech Balloon Face Anchor, ARSessionDelegate, Deal with RealityComposer
Special Move Body Anchor
Face Cropper Image Anchor
AR Hockey Collaborative Session
Hand Interaction addForce, use with Vision

Author

Daisuke Majima

Freelance iOS programmer from Japan.

PROFILES:

WORKS:

BLOGS: Medium

CONTACTS: [email protected]

Special Thanks

Inspired by: ARKit-Sampler

Sound effect: zapsplat

GitHub

https://github.com/john-rocky/RealityKit-Sampler
You might also like...

IOS example app to generate point clouds in ARKit using scenedepth

IOS example app to generate point clouds in ARKit using scenedepth

Visualizing a Point Cloud Using Scene Depth Place points in the real-world using the scene's depth data to visualize the shape of the physical environ

May 10, 2022

An iOS app 📱that detects the image and plays video on top of it just like the harry potter movies

An iOS app 📱that detects the image and plays video on top of it just like the harry potter movies

AR-Magic-Image This is an iOS application 📱 inspired from Harry Potter movies. It tracks the image and plays the assigned video on top of the image u

Nov 15, 2021

Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit

Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit

HomeMax-iOS Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit and SceneKit. Inspired by IKEA place app. Description Experience on

Dec 31, 2021

ARVideoPortal - A Minimal iOS AR app to display 360 / video in sphere space

ARVideoPortal - A Minimal iOS AR app to display 360 / video in sphere space

AR Video Portal A minimal iOS AR app to display 360 / video in sphere space. Xco

Jan 24, 2022

ARInRoomISS - A minimal iOS AR app that displays the International Space Station (ISS) in the room

ARInRoomISS - A minimal iOS AR app that displays the International Space Station (ISS) in the room

A minimal iOS AR app to display the International Space Station (ISS) in the room.

Feb 3, 2022

AREarthObservatory - A minimal iOS AR app that visualizes time-series changes in the global environment based on data from NASA satellites

AREarthObservatory - A minimal iOS AR app that visualizes time-series changes in the global environment based on data from NASA satellites

A minimal iOS AR app that visualizes time-series changes in the global environment based on data from NASA satellites

Feb 21, 2022

A minimal iOS AR app with the Comic Postprocess Effect

A minimal iOS AR app with the Comic Postprocess Effect

AR Comic Effect A minimal iOS AR app with the Comic Postprocess Effect. Xcode 13.2.1 Target: iOS / iPadOS 15.0+ SwiftUI, ARKit, RealityKit 2, Core Ima

Apr 11, 2022

AR Ruler - A simple iOS app made using ARKit and SceneKit

AR Ruler - A simple iOS app made using ARKit and SceneKit

A simple iOS app made using ARKit and SceneKit.Which can try to simplify little things in your life such as measuring stuff.

Apr 13, 2022

Develop simple and fun Augmented Reality (AR) iOS apps

Develop simple and fun Augmented Reality (AR) iOS apps

AR-Dice Simple and fun to use iOS app made to make Augmented reality (AR) be in

Feb 23, 2022
Comments
  • 1. SWIFT Compiler Error: 'Material' is ambiguous for type lookup in this context

    First it all, Thanks for sharing, the project from the readme it looks a very nice resource to learn about Reality Kit I have cloned your repo however, when I tried to compile it, I got the the following issue:

    'Material' is ambiguous for type lookup in this context

    Do you know why it happens?, Thanks!!

    Reviewed by mmolero at 2021-11-09 21:09
PlacenoteSDK Sample app in native iOS using ARKit, written primarily in Swift

Placenote SDK for iOS Placenote SDK lets you easily build cloud-based Augmented Reality (AR) apps that pin digital content to locations in the real wo

May 13, 2022
This is a sample AR project written with Swift language for iOS devices

ARSample This is a sample AR project written with Swift language for iOS devices. While I was learning the ARKit framework, I defined this project and

Apr 3, 2022
A sample project demonstrating a usecase for the DrawableQueue API in RealityKit 2.
A sample project demonstrating a usecase for the DrawableQueue API in RealityKit 2.

RealityKit 2 DrawableQueue: Animated (transparent) GIFs A sample project demonstrating a usecase for the DrawableQueue API in RealityKit 2 – which cur

Apr 16, 2022
A collection of additional geometries ready for use in RealityKit 2
A collection of additional geometries ready for use in RealityKit 2

RealityGeometries By default, the only shapes available in RealityKit are a Sphere, Cuboid and Plane (with 4 vertices). Until iOS 15 the only clean wa

May 13, 2022
An iOS Framework Capture & record ARKit videos 📹, photos 🌄, Live Photos 🎇, and GIFs 🎆.
An iOS Framework Capture & record ARKit videos 📹, photos 🌄, Live Photos 🎇, and GIFs 🎆.

An iOS Framework that enables developers to capture videos ?? , photos ?? , Live Photos ?? , and GIFs ?? with ARKit content.

May 17, 2022
ARVoxelKit - Lightweight Framework for Voxel graphic using AR + SceneKit
 ARVoxelKit - Lightweight Framework for Voxel graphic using AR + SceneKit

ARVoxelKit Lightweight Framework for Voxel graphic using AR + SceneKit Requirements ARVoxelKit requires iOS 11 and devices, which support ARKit Usage

Apr 29, 2022
SwiftAR is a declerative framework to build AR experiences, with a SwiftUI inspired design.
SwiftAR is a declerative framework to build AR experiences, with a SwiftUI inspired design.

SwiftAR is a declerative framework to build AR experiences, with a SwiftUI inspired design. It builds on the base types Experience, Anchor and

Apr 6, 2022
ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists
ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists

ARID Augmented Reality app using Apple’s ARKit framework which can recognise fac

Jan 12, 2022
Swift framework for loading various 3d models in SceneKit

AssetImportKit AssetImportKit is a cross platform library (macOS, iOS) that coverts the files supported by Assimp to SceneKit scenes. Features AssetIm

Mar 19, 2022
Reality-iOS - NFT Augmented Reality(AR) app that demonstrate application of ARImageTracking in iOS powered by ARKit 2

Reality-iOS NFT Augmented Reality(AR) app that demonstrate application of ARImag

Mar 3, 2022