Skip to content

An minimal iOS app that displays images on the wall with AR.

Notifications You must be signed in to change notification settings

ynagatomo/ARWallPicture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS app - AR Wall Picture

An iOS app that displays images from your Photo Library on the wall in AR.

AppIcon

  • Target: iPhone / iOS 16.0+, iPad / iPadOS 16.0+
  • Build: macOS 13.1+, Xcode 14.2+

An iOS app in a separate project repo allows you to generate images using Stable Diffusion on your devices and save them to your Photo Library. Let's appreciate them in AR with this iOS app.

From this project you can see:

  • ARKit: plane detection and displaying the planes
  • RealityKit: dynamic image-texture replacement and using a custom material (Metal Shader)
  • PhotoKit: PhotoPicker (new in iOS 16)

Change Log

none

Features

  1. selecting images from Photo Library
  2. detecting virtual or horizontal planes in AR
  3. displaying images in AR and automatic image switching based on viewing angle
  4. showing visual effects on the images in AR
  5. built-in sample images

Image

UI

This project provides a minimal UI. Feel free to extend it as you like and create your own app.

Image

Vertex Shader

This project contains a vertex shader to play waving geometry animation in AR. It uses a custom material and geometry modifier of RealityKit 2.

Please create your shader and replace with it.

Image Image

Consideration

Visual Effects

The app uses a simple Metal Shader to provide a visual effect. Please modify it as you like.

Creating a picture-frame

The app uses a simple picture frame. As this project contains the Blender file of the picture frame, you can modify it.

  1. modify or create your picture frame with Blender
  2. convert it to USDZ with Reality Converter
  3. replace or add it to the Project
  4. edit the AppConstant.swift to name it if needed
  • Blender file: assets/panel1_1.blend

Related apps

  1. ImgGenSD2: https://github.com/ynagatomo/ImgGenSD2
  2. AR Diffusion Museum: https://github.com/ynagatomo/ARDiffMuseum

Image

References

none

MIT License

About

An minimal iOS app that displays images on the wall with AR.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published