PDA

View Full Version : multpiple opengl windows



Robotica
4th August 2012, 11:51
I created a small application using hellogl example given in QT. I created multiple opengl windows using QT creator
Qt is awesome to use.

2. how can i integrate qt with my game engine ? i am using Horde3D game engine

i want to simply add this small application in to my game engine code can some one direct ?

3. am i really in the right direction that if i create an instance of window and call it again as follows



Window window;
Window window2;

if (((float)widgetArea / (float)desktopArea) < 0.75f){
window.show();
a=true;
}
else
{ window.showMaximized();}


if (((float)widgetArea / (float)desktopArea) < 0.75f){
window2.show();
}
else
{ window2.showMaximized();}


am i doing it right? and can i integrate it with my game engine and display my scene in these two windows?
Thank You once again

high_flyer
6th August 2012, 16:39
2. how can i integrate qt with my game engine ? i am using Horde3D game engine
You just link Horde3D to your Qt application.


am i really in the right direction that if i create an instance of window and call it again as follows
The right direction to where?
What you are trying to achieve with this code?