qt and ogre backend

What it says on the tin: a place to discuss proposed new features.
Post Reply
waitnext
Gnoblar
Posts: 2
Joined: Tue Mar 09, 2010 8:22 pm

qt and ogre backend

Post 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 ...
User avatar
calsmurf2904
Orc
Posts: 401
Joined: Tue Sep 16, 2008 9:39 pm
Location: Netherlands

Re: qt and ogre backend

Post by calsmurf2904 »

Visit my blog at http://calsmurf2904.wordpress.com !
Got a Google Wave account? Add me as contact! (projectxgame <at> gmail <dot> com)
Image
waitnext
Gnoblar
Posts: 2
Joined: Tue Mar 09, 2010 8:22 pm

Re: qt and ogre backend

Post 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
User avatar
calsmurf2904
Orc
Posts: 401
Joined: Tue Sep 16, 2008 9:39 pm
Location: Netherlands

Re: qt and ogre backend

Post 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.
Visit my blog at http://calsmurf2904.wordpress.com !
Got a Google Wave account? Add me as contact! (projectxgame <at> gmail <dot> com)
Image
User avatar
PolyVox
OGRE Contributor
OGRE Contributor
Posts: 1316
Joined: Tue Nov 21, 2006 11:28 am
Location: Groningen, The Netherlands
x 18
Contact:

Re: qt and ogre backend

Post 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.
User avatar
madmarx
OGRE Expert User
OGRE Expert User
Posts: 1671
Joined: Mon Jan 21, 2008 10:26 pm
x 50

Re: qt and ogre backend

Post 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.
Tutorials + Ogre searchable API + more for Ogre1.7 : http://sourceforge.net/projects/so3dtools/
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
User avatar
PolyVox
OGRE Contributor
OGRE Contributor
Posts: 1316
Joined: Tue Nov 21, 2006 11:28 am
Location: Groningen, The Netherlands
x 18
Contact:

Re: qt and ogre backend

Post 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
Post Reply