r/iOSProgramming • • Sep 10 '20

Solved! This time without delay, 60 fps! Real-time reflections in augmented reality [iPad Pro 2020]

295 Upvotes

11 comments sorted by

View all comments

20

u/AR_MR_XR Sep 10 '20

In the previous demo, using AR Quick Look, we saw a delay of 2-8 seconds until the objects appear: https://www.reddit.com/r/AR_MR_XR/comments/ioplvm/realtime_reflections_in_augmented_reality_in_the/

The same goes for some other custom apps. But this demo here uses a custom app by Dan Monaghan and with his code there's no delay.

Dan Monaghan

Ok, this is the shiny sphere test. Real-time Environmental lighting, 60fps, no delay + a little bit of occlusion with the flowers! Time for some crazier shapes. Nice work @ apple #arkit #devteam #AugmentedReality #ipadpro2020 #wwdc20

https://twitter.com/danmonaghanz/status/1303461402737127424

David Liu

welp it's insane how clever it fakes a reflection map with what seems like blending a generic reflection map or some other earlier camera data ... and wrapping the current camera capture against its lower edges (note how it doesn't reflect from the front!) crazy!

https://twitter.com/thedak/status/1303814424902459392