Hi all,
I’m trying to achieve the following:
I want to render a mesh in foreground as transparent and use that as kind of a “cutout” for everything behind it. I think the picture below will better describe what I’m trying to achieve than any words can:
The reason I am after this, is to use it as kind of a fake occlusion effect for an AR app I’m currently developing. The automatically detected planes wouldn’t be sufficient enough in my case, because the app is used in an outdoor environment on a pretty big scale.
Has anyone of you wizards an idea how I can achieve this? Or can you think of a better method for this? Another important note is that the solution has to work for mobile.
For the folks who want to read more about the project:
I’m developing an AR app in which you can place various big scale objects based on their GPS coordinates relative to the players GPS location. To achieve this I use the integrated location services which work for both platforms (Android / iOS). I’ve also created the whole terrain and all the buildings as 3D models which I would like to use as “occlusion blocking volumes” for the augmented contents. Besides the occlusion I got everything working pretty nicely. The calibration is done in an manual manner by letting the user point at a real world landmark. This way I achieved a way better precision than using the smartphones compass or something similar.
Well any help would be much appreciated!