How do i have to use GLContext to load gl data from a second thread?
Unsolved
Game Development
-
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:- Control the window without
- the process of loading objects, which take a huge amount of time to be loaded to the gpu
Thank for answers!