Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: lime-green.at on September 26, 2012, 10:06:02 AM
-
Hey,
I currently try to implement kind of a overlay / info screen for a lot of objects in my 3D room, but i don't have a clue how to do this properly. But: a picture paints a thousand words, so here's an illustration:
(http://s3.imgimg.de/uploads/WhatINeedc8ca0b0bpng.png)
As you can see on that picture, I've got two UIs. One is for the other menu and is orthographic, the other one is perspective (used to run around in 3d space).
What i need is marked in green.
Hope you guys got some suggestions for me how to do that.
Regards
-
Uh, just got an idea: I could create another ui, which is orthographic, also with that UIViewport stuff, which i just enable on click on my 3d objects. What you're thinking?
-
Yeah you need two UIRoots for this. One 3D, one 2D. 2D is the one that will have your tooltip. Look at the Character Inventory example, it does exactly that -- 3D UI for the inventory, and 2D UI for tooltips.
-
I guess ill need 3 of them. In the inventory example there no overlay in the 3d space. If i didnt explain it corrently, just ask.
-
That complete middle 3d view area is rendered by my 3d cam. I guess its not that easy.