Search code examples
c++imageopenglsmoothing

openGL smoothing lines


I have the following image

enter image description here

and I'd like the lines to be smooth, how can I achieve this? I'm using openGL on a desktop Windows app. I noticed that webGL equivalent is smoothed. I tried subsurfing with blender (increasing the number of polygons) but that didn't work.

The easier the solution, the better I'll understand it


Solution

  • Solved with this:

    http://www.qtforum.org/article/22515/multisample-aa-in-a-qglwidget.html