Login  Register

Re: Rendering semi-transparent, antialiased triangles with jogl

Posted by elect on Feb 21, 2017; 8:26pm
URL: https://forum.jogamp.org/Rendering-semi-transparent-antialiased-triangles-with-jogl-tp4037649p4037661.html

ManuelBrotz wrote
Thanks for your answer! Unfortunately, i've got absolutly no idea how to do that... I forgot to mention, that i have no experience with opengl.

So, you are saying, it's not as simple as activating some switches and then everything happens automatically? I hoped, i just have to enable multisampling and then the polygons will be rendered smoothly. Also, i am not using any textures...
Unfortunately it's not that simple, you should invest some time in order to understand how to write a basic sample. You can take inspiration from this one of mine

Some additional resources:

- https://www.khronos.org/opengl/wiki/Multisampling

- https://learnopengl.com/#!Advanced-OpenGL/Anti-Aliasing