Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How do i have to use GLContext to load gl data from a second thread?



  • Hello

    Im currently running my OpenGL project with PyQt and OpenGL and i want to seperate the windows interface against loading stuff which is executed on user interactions.

    But i have problems with setting up the context to be shared between the windows' QGLWidget, which only renders objects, and the user defined process of getting an object, loading it to the gl buffers and then add it to the renders loop.

    Do anyone can help me?
    Or could tell me an alternative, how i can:

    1. Control the window without
    2. the process of loading objects, which take a huge amount of time to be loaded to the gpu

    Thank for answers!


Log in to reply