ARKit: Prevent Asset Clipping

Hello Apple Team,

I am working on a RealityKit project for iOS, where I need to place a 3D asset far away from the camera (approximately 15 to 30 meters).

When enabling people occlusion, the 3D asset gets clipped when moved far away. Is it possible to enable people occlusion for assets at close range (less than 10 meters) while disabling it for assets farther away to prevent clipping?

I understand that it is possible to switch configurations at runtime. However, I would like to place assets both close to and far from the camera simultaneously.

Thank you for your help! Kind regards

Answered by DTS Engineer in 821324022

Hello @emal6465,

ARView's person occlusion support does not have API to specify a depth-range that you want person occlusion to be ignored for. Please file an enhancement request using Feedback Assistant.

-- Greg

Hello @emal6465,

ARView's person occlusion support does not have API to specify a depth-range that you want person occlusion to be ignored for. Please file an enhancement request using Feedback Assistant.

-- Greg

ARKit: Prevent Asset Clipping
 
 
Q