I'm just wondering if it could be easy to have the Gui Elements on a polygon instead of directly applied to the screen...
Could be useful to make GUI INSIDE the game.
If you saw PREY or other game of this kind, they even made a 2D game inside the game.
I'm just wondering if it would mean lots of change on the source if we could specify the rendering of the GUI (Screen buffer OR texture buffer)
Could it be easy to have a GUI on a 3Dplane or polygon?
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
Yeah i think fuzzy is right... RTT would be the best bet here.. If it was in opengl rather than irrlicht i'd have an idea how you could go about it without RTT (though it might just be simpler to use RTT anyway).
There's a tutorial on RTT, try getting a GUI to render on the cube behind the fairy instead a of render of the fairy appearing on that cube.
There's a tutorial on RTT, try getting a GUI to render on the cube behind the fairy instead a of render of the fairy appearing on that cube.
-
- Posts: 170
- Joined: Sun Jul 01, 2007 11:41 pm
- Location: Manchester, UK
Check out the Cube 2 engine. It's menus are on 3d planes/billboards. Is this the kind thing your thinking of?
LINK -> http://www.sauerbraten.org/
LINK -> http://www.sauerbraten.org/
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Exactly. That Cube 2 engine gived me the idea. This could also be used for interface for the player INGAME... I see some potential of using this that way. Will surely have to do a proper translation of the mouse position so it "touch" the interface.
Thanks. So it's possible. I'm not thinking of putting this in my current project now... But on other projects...
Thanks. So it's possible. I'm not thinking of putting this in my current project now... But on other projects...