1
Support / JPCT-ae + GoogleTango = Occlusion/Stencil
« on: August 26, 2017, 11:48:45 am »
Hi everyone,
Im using Google Tango for a project and Im trying to find a way to hide(partialy or totaly) virtual object that are behind a real object.
I found this project http://www.modeso.ch/blog-posts/augmented-reality-using-tango-occlusion.html but this is in OpenGl and in C (I dont know both of them) and I was wondering if exists a similar way to implement that in JPCT-ae or something similar for example creating a stencil with the point coming from depth perception sensor of GoogleTango and than applying the stencil to the view in order to cover(not render) part of 3D object. So in few words how to create a stencil given some points (point coordinates are in 3D) and apply it to an view?
Im using Google Tango for a project and Im trying to find a way to hide(partialy or totaly) virtual object that are behind a real object.
I found this project http://www.modeso.ch/blog-posts/augmented-reality-using-tango-occlusion.html but this is in OpenGl and in C (I dont know both of them) and I was wondering if exists a similar way to implement that in JPCT-ae or something similar for example creating a stencil with the point coming from depth perception sensor of GoogleTango and than applying the stencil to the view in order to cover(not render) part of 3D object. So in few words how to create a stencil given some points (point coordinates are in 3D) and apply it to an view?