Hi
I have an app in which user can choose which 3d object wants to see. When the user taps on the button, I call loadSerializedObjectArray, set up the textures and everything, and at the end, call compileAllObjects. However, this method is rather slow and sometimes it takes around 3-5 seconds to execute. This blocks OpenGL thread and, of course, the screen freezes. Would it be possible to call compileAllObjects in another thread? This way, the rendering of the rest of the scene would continue normally and the object would be shown when ready. Would it be possible to somehow do the compilation beforehand? I've tried calling object.compile() in another thead, but still compileAllObjects takes too long.
Thanks for the help,
Luka