OpenGL in Qt
Hi,
I wanted to have just an OpenGL-Widget in my programme. Everything works fine. Just a little Problem:
The light effects are not quite right. If I put exactly the same code in a MFC-Code, I get the right result. In addition, if I use blending, the whole object disappears. What did I wrong? Because when I use MFC everything is fine. I think the problem lies on Qt. If that is the case, I would be happy if someone could help me.
I'm currently using QGLWidgets a bit my self. I haven't had any major issues with them so far, though I'm not doing anything too complex. It is really just a wrapper around OpenGL to do all your window initialisation etc though, so there shouldn't be any problems with it. Maybe you can post some of the code?
Maybe QT initialises some OpenGL things to values that are not the same as when you plug it into other projects.
Maybe QT initialises some OpenGL things to values that are not the same as when you plug it into other projects.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement