Segment and occlusion is not correctly working when it outs of view sky

Segment and occlusion is not correctly working when it outs of view sky.

How should I change any settings about those problem?

I referenced the following article.

What I don’t understand is why AR objects appear front of the buildings although I set only the sky channel to be suppressed.

As far as I know, segment function writes depth 0 or 1. Does distance matter?

Hi Kento,

Please provide the information below to help resolve your issue:

  • What device are you using?
  • What is your host machine and OS version?
  • What version of ARDK are you using?
  • What version of Unity are you using?
  • Provide a screenshot of your Inspector view.
  • Where exactly do you want the object to appear?

Yes, the segment function is either enabled (value is 1) or disabled (value is 0) depending on whether a part of an object in that class is determined to exist at that pixel.

More information can also be found in our Basic Occlusion tutorial and Semantic Segmentation documentation.

Thank you for your reply.

  • What device are you using?
    →iphone11Pro / Xperia 5 II

  • What is your host machine and OS version?
    →ios15.4 / Android11

  • What version of ARDK are you using?
    →2.0.0

  • What version of Unity are you using?
    →2020.3.18f1

  • Provide a screenshot of your Inspector view.

  • Where exactly do you want the object to appear?
    I would like to show the object that is occluded from buildings.
    Can you watch my upload video?
    Is it correctly? I think, if I set the sky channels to be suppressed and correctly work, object can not appear front of building.

Hi,

It appears correctly. The object is being occluded by the building. To turn the object around click the object and move the arrow to the direction of your choice.

See Occluding Virtual Content page for more details on working with depth and semantic channels.

Thank you for your information.

But I would like to know why object appear in front of building like my video, when I set the sky channels to be suppressed.

Hi Kento,
It appears you have the sky suppressed correctly. It could be that the building and sky are similar in color and may cause confusion within ARDK. I would suggest trying in front of a different color building if possible. Please let me know your results.

1 Like