Log in or register to post comments

Target occludes physical object after removal

August 7, 2019 - 12:26pm #1

I'm using a multi-target (cube) to register a hologram to a specific room location. Extended tracking is enabled such that when I remove the multi-target the hologram stays in place as desired. The problem is that the hologram still appears to be occluded by the multi-target even though it is not physically present. I would like be able to view the registered hologram from all perspectives as if the multi-target had never been placed. Any help is greatly appreciated! 

Versions: Unity2017.4.30f1, Vuforia 7.0.57, HoloToolkit2017.4.3.0

Target occludes physical object after removal

August 8, 2019 - 12:40pm #4

Looks like I solved by problem by adjusting the render queue of my hologram and making its value less than that of the multi-target. Thanks again for the reply.

Target occludes physical object after removal

August 8, 2019 - 10:54am #3

Sorry, I read your response incorrectly. I don't want to render the target object at all. I also don't want the real target object to occlude my associated hologram once the real target is removed and extended tracking takes over. Here is a step by step:

1) Place physical multi-target

2) Hologram of object is registered to physical multi-target via Vuforia.

3) Remove physical multi-target, enable extended tracking, hologram of object stays in place.

The problem is that when the physical multi-target is removed it leaves a hole in my object hologram as if it was still in place occluding the hologram.

Target occludes physical object after removal

August 8, 2019 - 12:49am #2

Hi,

If I am understanding your questions correctly. You would want to render the hologram on top of your multi target. I believe this could be achievable by disabling the rendering Mesh of the ChildTargets ( Box.left; Box.right; Box.Front; etc.) via script.

In my testing I also observed that the Rendering Mesh seems to activated again if tracking is lost and regained ( behavior in Vuforia Core samples), your script should take the tracking status in consideration to avoid this scenario.

Thank you.

Vuforia Engine Support

Log in or register to post comments