I'm using QLPreviewController
to show AR content. With the newer iPhones with LIDAR it seems that object occlusion is enabled by default.
Is there any way to disable object occlusion in the QLVideoController without having to build a custom ARKit view controller? Since my models are quite large (life-size buildings), they seem to disappear or get cut off at the end.
ARQuickLook
is a library built for quick and high-quality AR visualization. It adopts RealityKit engine, so all supported here features, like occlusion, anchors, raytraced shadows, physics, DoF, motion blur, HDR, etc, look the same way as they look in RealityKit.However, you can't turn
on
/off
these features in QuickLook's API. They areon
by default, if supported on your iPhone. In case you want to turnon
/off
People Occlusion you have to use ARKit/RealityKit frameworks, not QuickLook.Pay particular attention that
People Occlusion
is supported on A12 and later chipsets. And it works if you're running iOS 12 and higher.P.S.
The only QuickLook's customisable object is an object from class ARQuickLookPreviewItem.