GLC_lib
GLC_lib copied to clipboard
Example using QOpenGLWidget
I am a big fan of GLC. All of the QGLWidget-based examples are working fine. I am trying to set up an example based on QOpenGLWidget, instead QGLWidget. After much fiddling, I have gotten it to spawn a Qt window, but OpenGL is producing errors left and right, e.g., in GLC_Light::glExecute(), in Geometry::render(), etc. I get the feeling the problem resides in an improperly configured/shared GLC_Context on my part.
Do you have any private examples using QOpenGLWidget? Or any suggestions?
Hi, Yes there is an examples with GLC_lib : https://github.com/laumaya/GLC_lib/tree/develop/src/examples/example14 https://github.com/laumaya/GLC_lib/tree/develop/src/examples/example14
Le 18 mars 2018 à 05:42, burgreen [email protected] a écrit :
I am a big fan of GLC. All of the QGLWidget-based examples are working fine. I am trying to set up an example based on QOpenGLWidget, instead QGLWidget. After much fiddling, I have gotten it to spawn a Qt window, but OpenGL is producing errors left and right, e.g., in GLC_Light::glExecute(), in Geometry::render(), etc. I get the feeling the problem resides in an improperly configured/shared GLC_Context on my part.
Do you have any private examples using QOpenGLWidget? Or any suggestions?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/laumaya/GLC_lib/issues/32, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdQxBONG9a4-_u260B-Dw01_B7BQj_7ks5tfeXLgaJpZM4SvEev.