Page 1 of 1

MyGUI ImageBox on android

Posted: Fri Nov 04, 2016 2:10 pm
by andrew_vorobey
I've built MyGUI 3.2 with ogre 1.10 for android.
I've made some changes for gles2 system(Describes here: ... 17&t=29658).
The gui work fine, I can see buttons and other elements.
But I have a problem with ImageBox. I have a black screen instead my png image. And the other part of my scene works fine.

I think png images load fine, because all buttons use png. And i don't know, why i can't see my image :(
This code works fine on my Linux pc. But it's black part of screen instead of image on Android.

Code: Select all

    MyGUI::ImageBox* imageBox = mGUI->createWidget<MyGUI::ImageBox>("ImageBox",100,200,300,300, MyGUI::Align::Default,"Main");

Re: MyGUI ImageBox on android

Posted: Fri Nov 04, 2016 6:53 pm
by farrer
Not sure how MyGui implements its ImageBox, but some time ago I've opened an Ogre bug of something similar happening with me (not using MyGui, but only simple Overlays) on Android with Ogre 1.10 (example of the problem: android screenshot vs iOS screenshot).

Out of curiosity, on which device are you running?

Re: MyGUI ImageBox on android

Posted: Sun Nov 27, 2016 2:55 pm
by andrew_vorobey
No, I've found out the problem. My image was too big(more then 1 mb)
When i've started to use more little images it started to work fine.