CMU School of Art, Spring 2018 • Prof. Golan Levin
rolerman-ARTech
Placing 2D images in 3D space with ARKit + SpriteKit
For my AR Copy & Paste app, I need to be able to place 2D images in the real world. I’ve never used ARKit before, so this will be an adventure. I also want the images to billboard, so that when the user is looking at them, they are facing the user, not turned around.
The reference page that is most helpful to me: https://developer.apple.com/documentation/spritekit/skspritenode
It turns out that this is a common example app for SpriteKit, so I set up the example ARKit app and played with that. Every time you tap the screen, it places a new sprite. I tried it with text as well, and placing other images.
ScreenRecording_04-11-2018 21-52-41
Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
Playback Rate
1
Chapters
Chapters
descriptions off, selected
Descriptions
subtitles off, selected
Subtitles
captions settings, opens captions settings dialog
captions off, selected
Captions
Audio Track
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Caption Settings Dialog
Beginning of dialog window. Escape will cancel and close the window.
ScreenRecording_04-11-2018 21-58-04
Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
Playback Rate
1
Chapters
Chapters
descriptions off, selected
Descriptions
subtitles off, selected
Subtitles
captions settings, opens captions settings dialog
captions off, selected
Captions
Audio Track
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Caption Settings Dialog
Beginning of dialog window. Escape will cancel and close the window.
ScreenRecording_04-11-2018 21-54-36
Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
Playback Rate
1
Chapters
Chapters
descriptions off, selected
Descriptions
subtitles off, selected
Subtitles
captions settings, opens captions settings dialog
captions off, selected
Captions
Audio Track
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Caption Settings Dialog
Beginning of dialog window. Escape will cancel and close the window.