01-14-2010 01:35 AM
Hi all,
I was copied the sample code of Rendering a multi color 2-D triangle. After I compile it and run simulator, it just display a white screen only. Anyone can help?
01-14-2010 11:16 AM
I'm guessing you are talking about
http://docs.blackberry.com/en/developers/deliverab
What simulator are you running? OpenGL ES is only supported on on the Storm (simulator: 9500/9530/9520/9550, real: 9520/9550) right now.
01-14-2010 08:43 PM
Yes you are right, I am trying this sample.
I have try simulator 9550.....But it only print a white screen to me!
Do you have any idea?
01-14-2010 10:30 PM
Did you copy it straight from the webpage, by method/line/something like that, or did you read the code and copy it by memorizing small snippets and typing it?
If the first one then I have no idea because it should work just fine.
If the other two then look closely for differences between the webpage and your code. It might be an error in initialization or drawing.
*Light bulb* Wait, I actually remember getting this. Does the screen do a quick flash when the app starts up and a white screen pops up? If not then it might be what I said before, otherwise try updating to Eclipse plugin 1.1 (that was my problem though occasionally it worked with plugin 1.0).
01-26-2010 12:10 AM
After i update the the new eclipse plugin it still not work, Do you have more idea?
01-26-2010 06:53 AM
Sorry, based on everything you said it should be working. One idea is to turn off hardware acceleration (if it is enabled) on the simulator (just search the menus, you'll find it).
03-04-2010 12:44 AM
Thanks first, I have checked that acceleration is aready.
Do you still have anymore idea?
03-04-2010 07:04 AM
Unfortunately no, from what you have said it should work but since it isn't I have nothing I cannot come up with anything else.
03-12-2010 03:56 AM
Hi,
i am tying the OpenGL example, it work fine with 9550 simulator but the same code don't work with 9700.
When i run the app on the 9700 the method GLUtils.isSupported() return true but when i call _egl.eglGetConfigs(_eglDisplay, null, 0, num_config); the num_config return that there is 0 config availlaible ? Does the Bold 9700 really support opengl ?
03-12-2010 07:30 AM
Call GLUtils.isSupported() to find out OpenGL ES is supported.