Re: Rendering transparent triangles with opengl...
Posted by
ManuelBrotz on
May 26, 2015; 1:23pm
URL: https://forum.jogamp.org/Rendering-transparent-triangles-with-opengl-tp4034507p4034520.html
Here are some better example images, i hope:
Half of the background of the images is rendered in black using java or jogl respectively.
The other half of the background is transparent. I used GIMP to blend the rendered images over
a checkerboard background to highlight the transparent parts of the images.
As you can see, in jogl the checkerboard bleeds through the black half of the background. In java, everything is fine...
Something is going completley wrong with alpha blending using jogl and i have no idea how to fix this...
Java rendering (good)

Jogl rendering (bad)

Again, the source code to render the images:
Triangles2.zip