Viewports and GUI System

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
dryas
Gnoblar
Posts: 2
Joined: Thu Aug 12, 2004 5:31 pm

Viewports and GUI System

Post by dryas »

Hello,

I have a small question about Viewports and the GUI System used in Ogre. I want to make a game and 70% of the game are played via the GUI. Only 30% are played in real 3D... it's a little bit like "1944 - Across the Rhine":

Image

Now my Questions: Is it a good idea to use Ogre for the GUI too? Is it better to use SDL for the GUI and Ogre only for the 3D views? How can I "bind" the viewports to a GUI-Window of Ogre (like shown on the screenshot above), so that I can move the window with the 3D Viewport in it?

Thanks for help! :)

Benny
Mr. Turner
Halfling
Posts: 88
Joined: Sun Sep 05, 2004 7:01 pm
Location: Belgium

Post by Mr. Turner »

Have you looked at CEGUI? It has render to texture. So you just have a texture (that you can move) with the ogre window rendered on it

Heavy GUI usage in Ogre itself isn't advised as only the basic stuff (panel, text) is left in Ogre 1.0. They advise you to use CEGui instead.

Mr. Turner
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Indeed, CEGUI is very useful for a project like this
zander76
Halfling
Posts: 89
Joined: Sun Oct 06, 2002 11:19 pm

Post by zander76 »

Hello,

It would be very nice to have a rendering context with CE. I haven't looked at the source yet for CE and I am still getting an idea of how the layout files work so I could be completely off. Basially it is the render to texture thing that you guys are talking about except its an actually widget that can be created and sized. Is there anything like that planed for CE.

I am posting the question here instead of on CE because it would actually have more todo with the renderer then the gui system itself.

Thansk, Ben
Dating a women is like driving in a foreign country. You don't know what side of the road your on, you can't understand the signs and you certainly don't want to ask for directions but it usually worth the ride. :)
dryas
Gnoblar
Posts: 2
Joined: Thu Aug 12, 2004 5:31 pm

Post by dryas »

Hi,

as far as I know I can't compile CEGUI under DevC++... :-(

Does someone know another great GUI that I can use with Ogre? Or does CEGUI compiles under DevC++?

Benny
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

try Code::Blocks, it's far superior to devc++
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Post by jacmoe »

And, yes - the Code::Blocks guy did manage to compile CEGUI. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.