Multiple opengl screens
-
wrote on 1 Aug 2012, 07:03 last edited by
Hello i am new to QT. Earlier i was thinking its difficult to use it btu now i think its a nice and easy and awesome tool.
Anyways i developed a small3D game in Horde3D game engine that uses opengl for creating a window that shows the graphics
but it doesn't support creating more then one window. some one suggested me to use QT for creating four windows
but i have no idea how should i start. :(I have four different camera views already in my game but those are displayed in the same opengl window .
I think QT is the best option here to do that? can some one suggest me any tutorial for creating such thing ? -
wrote on 1 Aug 2012, 15:02 last edited by
May be using multiple QGLWidget on the same parent windows.
http://doc-snapshot.qt-project.org/5.0/qglwidget.html#QGLWidget-2
-
wrote on 4 Aug 2012, 10:37 last edited by
Thank you so much
i started looking at it and it seemed quite helpful . i was just looking at the hellogl example and i just tried to make two windows with that program just creating a new instanceof the window and it worked. am i going in the right direction?- how can i integrate qt with my game engine ? i am using Horde3D game engine
if any1 else wants to direct i will be thankful
Thank You once again
- how can i integrate qt with my game engine ? i am using Horde3D game engine
-
wrote on 4 Aug 2012, 21:15 last edited by
If you want to show multiple camera views in your game, a better approach is to use viewports:
2/4