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

Overview

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

You might also like...
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

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

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

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

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

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.

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

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

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.

Comments
  • SWIFT Compiler Error: 'Material' is ambiguous for type lookup in this context

    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!!

    opened by mmolero 2
Owner
MLBoy
Machine Learning on Mobile Device. iOS, CoreML, Tensorflow, Pytorch. Freelance Engineer.
MLBoy
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

Placenote 93 Nov 15, 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

Kamyar Sehati 2 Jun 27, 2022
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

Arthur Schiller 17 Dec 14, 2022
Using ARKit and LiDAR to save depth data and export point cloud, based on WWDC20-10611 sample code

Save iOS ARFrame and Point Cloud This project improves the usability of the sample code from WWDC20 session 10611: Explore ARKit 4. Note that the samp

null 4 Dec 22, 2022
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

Max Cobb 49 Dec 19, 2022
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.

Ahmed Bekhit 1.5k Dec 24, 2022
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

null 79 Dec 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. It builds on the base types Experience, Anchor and

Jan Luca Siewert 49 Jun 10, 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 fac

Hemanth 0 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

eugene 74 Nov 30, 2022