Page 1 of 1

qt and ogre backend

Posted: Tue Mar 09, 2010 8:32 pm
by waitnext
Hi,

have you seen that : http://labs.trolltech.com/blogs/2010/01 ... s-bauhaus/ ? it's the next UI for qt (widget, animation, editor, state machine). I think it could be very greet if there was an ogre backend (there is an opengl backend for the moment) for qt, we will have a widget lib for free with a very clean look and QML seems to be a very good way to add widget to an ogre application. I don't if it's a lot of work to do an ogre backend ? i think it's not easy to do ...

Re: qt and ogre backend

Posted: Tue Mar 09, 2010 10:20 pm
by calsmurf2904

Re: qt and ogre backend

Posted: Tue Mar 09, 2010 10:36 pm
by waitnext
no ... I don't talk about embed an ogre view in a qwidget... but to be able to embed widget in an ogre 3D rendering ( to replace for exemple the gui ui that is in the ogre3D sample browser). or for exemple to render an user interface as a Texture

Re: qt and ogre backend

Posted: Tue Mar 09, 2010 10:39 pm
by calsmurf2904
QT has a system to place widgets on top of each other right?
If so, then just make the ogre QT view the background and render all qt widgets on top of it.

Re: qt and ogre backend

Posted: Tue Mar 09, 2010 11:40 pm
by PolyVox
You are correct that my project is a fairly loose integration of Qt and Ogre, and it might be interesting to see how a tighter integration plays out. Being able to draw Qt widgets directly onto an Ogre render target would certainly be cool and there has been some work done on this (not by me, it was in a differnt thread). A complete backend for Qt written in Ogre will be a lot of work and may be unnecessary - it should be possible to draw widges on an Ogre render target without that level of integration.

However, I'm not personally in a hurry to do much more with this, as the framework I have at the moment satisfies my needs. But if I see other people managing a deeper level of integration and explaining or providing code for it then I may well include it in my framework.

Re: qt and ogre backend

Posted: Tue Mar 09, 2010 11:58 pm
by madmarx
to be able to embed widget in an ogre 3D rendering
I am 100% sure to have seen this already in somewhere the forums.

Re: qt and ogre backend

Posted: Wed Mar 10, 2010 12:27 am
by PolyVox
madmarx wrote:
to be able to embed widget in an ogre 3D rendering
I am 100% sure to have seen this already in somewhere the forums.
Yes, there is some useful information and screenshots here: http://www.ogre3d.org/forums/viewtopic.php?f=2&t=42733