jPCT-AE - a 3d engine for Android > Support
texture mismatch
guillaume:
hi, I write a jpct program, where has many object3D. some times a random bug happened.
one object3D's texture becomes another object3D's texture.
when the program run, it may replace and unload texture , do you have any idea ?
EgonOlsen:
--- Quote from: guillaume on August 28, 2013, 08:30:27 am ---when the program run, it may replace and unload texture...
--- End quote ---
What do you mean with that? That your app replaces and unloads textures at runtime?
guillaume:
"What do you mean with that? That your app replaces and unloads textures at runtime?"
yes. I do this at runtime. because I want to do marquee effect, generate texture at runtime.
EgonOlsen:
Make sure that your don't do this in parallel to the rendering, i.e. do all unloads and replacements in onDrawFrame(). If that is ensured, try to set Config.unloadImmediately=true; and try again.
guillaume:
yes, I do all unloads and replacements in onDrawFrame().
I will try make Config.unloadImmediately=true. thanks.
Navigation
[0] Message Index
[#] Next page
Go to full version