Double Sided Stills (070)

Double Sided Stills builds on the previous maps by duplicating the captured image on both sides of a plane and locating the photo where it was taken. In walking through the captured images, things are seen in reverse: cars face the opposite direction, stairs obscured by a wall are visible in the photo. In a sense, the double-sided image acts as a historical rear-view mirror.

Technicals

The map is built in Swift using the ARKit framework. On tap, a new plane is added to the scene, slightly in front of the camera’s position. A pixel buffer from the camera device itself is extracted using capturedImage() and converted into an image using VTCreateCGImageFromCVPixelBuffer(). The image is applied as a material to the double-sided plane.