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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
madiha
Posts: 103
Registered: ‎05-26-2011
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..

Please use plain text.
Developer
monmomo04
Posts: 46
Registered: ‎05-06-2012
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.

Please use plain text.
Developer
monmomo04
Posts: 46
Registered: ‎05-06-2012
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
Please use plain text.