You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
This tutorial was really helpful in helping me port GTK2 OpenGL applications to GTK3. However, the resulting projects do not look as nice, as it is unclear how to enable multisampling with GTK3. This is best seen in high contrast edges, such as white on black. Below on the left is your GTK3 project with the background set to black and the top vertex set to white. Note the jagged appearance of the right triangle. The left is what is generated with GTK2 using x4 multisampling: the aliasing of the edges is much nicer, with partial volume represented by gray. Is there any way to enable multisampling with GTK3 OpenGL?
The text was updated successfully, but these errors were encountered:
Multisampling needs to be enabled when setting up the GL context, and then enabled when rendering on the FBO; you may need an intermediate FBO for that, since GTK3 does not expose API for it.
This tutorial was really helpful in helping me port GTK2 OpenGL applications to GTK3. However, the resulting projects do not look as nice, as it is unclear how to enable multisampling with GTK3. This is best seen in high contrast edges, such as white on black. Below on the left is your GTK3 project with the background set to black and the top vertex set to white. Note the jagged appearance of the right triangle. The left is what is generated with GTK2 using x4 multisampling: the aliasing of the edges is much nicer, with partial volume represented by gray. Is there any way to enable multisampling with GTK3 OpenGL?
The text was updated successfully, but these errors were encountered: