Volker wrote:
What would be interesting is, if it is possible to use a QGraphicsView with an QGLWidget set as viewport, rendering Horde3D as Background and QGraphicsItems as foreground, that would allow an easy integration of Qt's Graphics Items (and wrapped QWidgets using QGraphicsProxyWidget ) for GUIs.
I'm just implementing it, and the horde3d rendering is already possible!
(a good tutorial is:
http://doc.trolltech.com/qq/qq26-openglcanvas.html)
qt is really great for doing such things, and i think the qt overlays are alot more useful than the horde overlay system
IMPORTANT EDIT:I just figured out that calling h3dInit() makes all the overlays drawn by Qt to vanish... I don't know exacly why, but the difference to the QGLWidget is, that the OpenGL context is already initialized in the QGraphicsScene!
I'm now trying to remove some functions from h3dInit() and am going to see wether that works... maybe you can split the graphics initializing from the core engine init functions in the next release?
EDITfor issues related to QGraphicsView, we can use another thread (
viewtopic.php?f=1&t=988)
kind regards,
hs0