PDA

View Full Version : Custom GL Widget



qtoptus
23rd April 2010, 07:57
Is it a good idea to implement a custom OpenGL rendering window instead of using the Qt's OpenGL widget/framework?

The reason is that I'm implementing a localized graphics engine that can support multiple rendering API's: Direct3D, OpenGL, software, ...and I want the rendering engine to be independent of Qt, such that it can be used by other frameworks...

Is there any disadvantage of this approach with Qt? or any considerations I should pay attention to when implementing this?

Thanks.

qtoptus
11th May 2010, 16:28
I've decided on using Direct3D 9 instead of OpenGL, though it's dated. The graphics module is very localized and an abstraction layer sits on top of it so that the program is API independent.