OGRE in QT?
- _mental_
- OGRE Retired Team Member
- Posts: 419
- Joined: Mon Jan 27, 2003 11:51 pm
- Location: The Woodlands, TX
- Contact:
-
- Gnoblar
- Posts: 9
- Joined: Wed Mar 03, 2004 5:34 pm
- psyclonist
- OGRE Expert User
- Posts: 286
- Joined: Fri Nov 01, 2002 3:54 pm
- Location: Berlin & Nuremberg, Germany
- x 1
- Contact:
SDL in qt
I've been using SDL drawing to a qt widget with opengl, which seems to work ~2x as fast as the plain qt widget. It's a bit of a hack but it works, it uses an environmental variable before setting up SDL - I don't know how portible it is, and you have to use qt to get key events.
This is the X version - I think there's an equivalent for windows.
char buffer[64];
sprintf(buffer, "SDL_WINDOWID=0x%lx", winId());
putenv(buffer);
This is the X version - I think there's an equivalent for windows.
char buffer[64];
sprintf(buffer, "SDL_WINDOWID=0x%lx", winId());
putenv(buffer);
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
any code we can try?
fraggle, do you have any code we can try?
This is what I'm been looking for for several months.
Very good work indeed!!
This is what I'm been looking for for several months.
Very good work indeed!!
-
- Gnoblar
- Posts: 9
- Joined: Wed Mar 03, 2004 5:34 pm
Hi again
I initially added Qt to the core, what worked very fine.
But Sinbad suggested to make a plugin for that. I have tried
but did not succeed. Currently the core doesn't
allow to plugin another Platformmanager (what is needed for
input control with Qt widgets) Please correct me if I'm wrong with that.
Now I'm using it for my personal purposes.
But I can send you the sources by email if you like.
Fraggle
I initially added Qt to the core, what worked very fine.
But Sinbad suggested to make a plugin for that. I have tried
but did not succeed. Currently the core doesn't
allow to plugin another Platformmanager (what is needed for
input control with Qt widgets) Please correct me if I'm wrong with that.
Now I'm using it for my personal purposes.
But I can send you the sources by email if you like.
Fraggle
Please do...fraggle wrote:Hi again
Now I'm using it for my personal purposes.
But I can send you the sources by email if you like.
Fraggle
Thanks a lot!
bokvamme@errors.no
- Clay
- OGRE Community Helper
- Posts: 518
- Joined: Wed Mar 17, 2004 4:14 am
- Contact:
I would be interested in the source too. If you e-mail it to me I'll put it up on some webspace so you don't have to keep e-mailing it to people. =)
Clay@bitshifters.org
Clay@bitshifters.org
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Sign me up, too - or give Clay something to host! 

/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- houssem_bdioui
- Kobold
- Posts: 31
- Joined: Tue May 11, 2004 8:09 am
- Location: Tunisia
If anyone is still interested: I've implemented an Ogre/QT plugin. It is still a little bit buggy, but I am using it already in
my project. If there is interest, I can either email the current
code or release it somehow and will fix bugs as soon as I have
completed my project (what will be at the end of may).
my project. If there is interest, I can either email the current
code or release it somehow and will fix bugs as soon as I have
completed my project (what will be at the end of may).
- bad_camel
- Halfling
- Posts: 74
- Joined: Tue Dec 17, 2002 11:57 am
- Location: Somerset, England
- Contact:
- psyclonist
- OGRE Expert User
- Posts: 286
- Joined: Fri Nov 01, 2002 3:54 pm
- Location: Berlin & Nuremberg, Germany
- x 1
- Contact:
- houssem_bdioui
- Kobold
- Posts: 31
- Joined: Tue May 11, 2004 8:09 am
- Location: Tunisia
Concerning the OgreAddons, I don't know if there people in my case,psyclonist wrote:What about adding it to the ever growing OgreAddons
-psy
but I can't use cvs to download things from OgreAddons since I'm behind
a http proxy

So why not propose stable versions of the ogreaddons in the download area?
- psyclonist
- OGRE Expert User
- Posts: 286
- Joined: Fri Nov 01, 2002 3:54 pm
- Location: Berlin & Nuremberg, Germany
- x 1
- Contact:
- houssem_bdioui
- Kobold
- Posts: 31
- Joined: Tue May 11, 2004 8:09 am
- Location: Tunisia