Refinement in occluding real world objects in surrounding

In our VisionOS project we want to apply wall panel on walls in a room , we are occluding furniture kept in front of walls by creating a mesh of occlusion material on everything except walls but this way is not able to occlude objects perfectly , edges are not smooth , panel coming over tv, table etc.

Is there any other way to achieve this.

Are you using SceneReconstructionProvider to create the mesh used for occlusion?

I saw personSegmentationWithDepth which is supported in iOS, ipadOS for occluding people from virtual content depending on depth of people with respect to camera, if person is present at less depth than virtual object with respect to camera so person will be occluded.

Similarly I want to achieve in VisionOS for real objects like tv, sofa, table in room to occlude themselves perfectly if they are in front of virtual content. Is there any way for that??

Refinement in occluding real world objects in surrounding
 
 
Q