"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

HTML page in AR

Hello everyone :)

I would like to know if it is possible to show a html page on an image target. Think about video playback sample project instead of having a video on the image target I want to put a html page.

Is it possible to put video from Youtube instead of having static one ?

best regrads.

Bayram. 

AlessandroB

Fri, 02/01/2013 - 18:55

Hi, rendering an HTML page as a texture is possible; in Android, the basic idea is to render the content of a View (which can be any Android View, including one showing HTML content) into a Bitmap, and then trasnferring the Bitmap content (pixels) into an OpenGL texture;

Hello,

Thanks for your answer.

I see the idea but I'm not sure how to do it. Isn't the drawing of a video on an image target done in the native library ? And this code is not accessible ?

Would you please provide some examples ?

Best regards. 

Hi, the rendering of any image (be it from a video or from a static image) on top of an image target is always done through a texture, using OpenGL;

the code is not hidden inside the Vuforia library, it is fully exposed in our samples;

I didn't work with open GL before I think I will start some learning.

Thank you for the information thought it's very helpful.

Best regrads.

I want to display my html page in imagetarget sample. I am not getting any help....Let me know if any body done html tracking using openGL rendering. How can I do this?