By albertofernandez
on Tue, 01/21/2014 - 11:02
I have followed this in order to add a texture to my model.
- How to add and render custom textures to your 3D model:
https://developer.vuforia.com/forum/faq/android-how-do-i-add-textures-my-model
The problem is the following:
I dowload the texture from a server (the bitmap) on a Asyntask in .java file in order to get the texture from the server.
On the onPostExecute method i called the native method in order to add the texture.
I get the following error:
call to OpenGL ES API with no current context (logged once per thread)
Thanks
render custom texture
based on this:
http://foretribe.blogspot.com.es/2013/05/androidcall-to-opengl-es-api-with-no.html
i call the native method like this