Skip to content

i cant have pyopengl antialising in customtkinter pyopengltk #2753

@lolgg313

Description

@lolgg313

How anti-aliasing normally works in OpenGL

from OpenGL.GL import *
from OpenGL.GLUT import *

glutInit()
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH | GLUT_MULTISAMPLE)
glEnable(GL_MULTISAMPLE)

Why this breaks with pyopengltk / customtkinter

pyopengltk creates an OpenGL frame inside a Tkinter widget, but it does not expose a way to request specific framebuffer attributes (like multisampling).

Unlike GLUT, pygame, or glfw, pyopengltk doesn’t let you choose GLX_ARB_multisample or WGL_ARB_multisample attributes when creating the OpenGL context.

GUYS PLEASE ENABLE THIS FEATURE!!!!! My game engine depends on it.

MY GAME ENGINE PROJECT:
https://github.com/lolgg313/HPE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions