Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
chriz
Posts: 5
Registered: ‎03-12-2010
My Device: 9700

Re: OpenGL draw 2-D triangle with nothing on white screen

Yes, like i said, the method isSupported return true but the number of config availliable is 0.

Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.997 Dev OS, Z30 (STA100-5)-10.3.1.997 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: OpenGL draw 2-D triangle with nothing on white screen

When you say 9700 do you mean 9700 simulator or have you tried it on an actual device?

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
New Contributor
chriz
Posts: 5
Registered: ‎03-12-2010
My Device: 9700

Re: OpenGL draw 2-D triangle with nothing on white screen

[ Edited ]

It don't work on the Bold 9700 simulator with os 5.0.0.423 and it don't work on my Bold device with os 5.0.0.400

 

I think it's bug... I don't why it works on the Storm simulator and not on the Bold.

Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.997 Dev OS, Z30 (STA100-5)-10.3.1.997 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: OpenGL draw 2-D triangle with nothing on white screen

Does isSupported return true on the device or only on the simulator?

 

The Storm has a dedicated GPU (thus it should be supported on the simulator) but I don't know about the Bold 9700.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
New Contributor
chriz
Posts: 5
Registered: ‎03-12-2010
My Device: 9700

Re: OpenGL draw 2-D triangle with nothing on white screen

isSupported return false on the device...

 

Thanks for your help.

Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.997 Dev OS, Z30 (STA100-5)-10.3.1.997 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: OpenGL draw 2-D triangle with nothing on white screen

[ Edited ]

Then it is a bug in the simulator. I just noticed you edited your post saying it doesn't work on the simulator. But if it doesn't return true on the device then this is why it is not working on the 9700.

 

It returns true for the Storm 9500/9530 on the simulator as well but it is not supported on the actual device. So far the only device the supports it is the Storm 2 9520/9550.

 

Sorry for it not being supported, I wish the Storm 1 was supported myself.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
New Contributor
chriz
Posts: 5
Registered: ‎03-12-2010
My Device: 9700

Re: OpenGL draw 2-D triangle with nothing on white screen

Do you think that some day the bold will support 3D in opengl ?

 

I have download a game PBA bowling that seem to be in 3D ? but i wander how they can do 3D on the Bold 9700 if their is no 3D API ?

 

 

Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.997 Dev OS, Z30 (STA100-5)-10.3.1.997 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: OpenGL draw 2-D triangle with nothing on white screen

I have a feeling on day all BlackBerry's will support it. But for now RIM seems only to be supporting BlackBerry's with GPUs so until all GPUs become either cost effective or small enough (I don't know which it is) only certain models will have GPUs.

 

As for the PBA Bowling game, I think that is 2.5D. It's similar to what the original Doom game did where textures acted like they were 3D but it was just really good manipulation and scaling/skewing of textures. It also is relatively easy to implement and will work on, currently, any device.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
ChristianH
Posts: 15
Registered: ‎02-11-2009
My Device: Not Specified

Re: OpenGL draw 2-D triangle with nothing on white screen

Did anyone every solve this problem. I am trying the same example and getting the same result. I am running the Eclipse Plugin 1.1 on Windows 7. The app starts and immediately goes to a white screen. 

I click once, get a context menu. If I click outside of that, the screen goes black. If I restart the app, I get white again. No Triangle anywhere. Please help.

Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.997 Dev OS, Z30 (STA100-5)-10.3.1.997 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: OpenGL draw 2-D triangle with nothing on white screen

Yes I have but you should make a new post and I will help you there. Post your code in that one (yes I know it's copy paste from the site but it just makes it easier to see what YOU have and not what the site wants you to have).

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.