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
Developer
Posts: 107
Registered: ‎05-26-2011
My Device: Torch
My Carrier: Mobilink

OpenG ES issues while rendering png textures having transparency

I am having issues with rendering png images which have alpha values..

 

any help will be appreciated..

Developer
Posts: 59
Registered: ‎05-06-2012
My Device: Blackberry torch 9850
My Carrier: Voila

Re: OpenG ES issues while rendering png textures having transparency

Just those tutorials link at the bottom and you will have a very clear idea for rendering texture with alpha channel except that this tutorial  exemple is written in C but since OpenGL is a C based API binding in java all will be closely the same (as JAVA is Object Oriented Programming Language and C is not).

 

Link for Rendering Texture only:

http://videotutorialsrock.com/opengl_tutorial/textures/text.php

 

Link for Rendering Texture with alpha channel (Transparent) :

http://videotutorialsrock.com/opengl_tutorial/alpha_blending/text.php

http://videotutorialsrock.com/opengl_tutorial/alpha_blending/video.php (VIDEO)

 

 

 

Hope i help you Madiha.

Developer
Posts: 59
Registered: ‎05-06-2012
My Device: Blackberry torch 9850
My Carrier: Voila

Re: OpenG ES issues while rendering png textures having transparency

Let me know if I solve your issue, and if it not I might right a complete example for you using the blackberry SDK