HUD with dept effect
by Hans Cremers · in Game Design and Creative Issues · 01/25/2008 (2:22 am) · 4 replies
Would it be possible in script to make a HUD with dept?
Rotate the angels of the (Text) Gui to get something like this:

Any pointers?
Rotate the angels of the (Text) Gui to get something like this:

Any pointers?
#2
I guess the problem with faking the effect is, that the text from the HUD is dynamic and changes.
So that is going to be hard with pictures for the health indicator (to name an example).
I got the SDK to, but i'm not really a skilled programmer.
I guess this needs a new GUIcontrol or somehow extent a the old one.
But i'm not sure how, since GUI's are rendered 2D (right?).
Does anyone else have some pointers?
01/25/2008 (3:38 am)
Thanks Jonathan for your reply.I guess the problem with faking the effect is, that the text from the HUD is dynamic and changes.
So that is going to be hard with pictures for the health indicator (to name an example).
I got the SDK to, but i'm not really a skilled programmer.
I guess this needs a new GUIcontrol or somehow extent a the old one.
But i'm not sure how, since GUI's are rendered 2D (right?).
Does anyone else have some pointers?
#3
if the only dynamic part of the text is numbers, your best bet might be fake it as Jonathan suggested,
by creating bitmaps for each digit, and manually setting the bitmaps yourself. you might want to provide a spot for all possible digits, in that case. ie "005" instead of "5".
also note the sample image you've got there isn't really rotated text, it's skewed text.
01/25/2008 (7:18 am)
Text in TG* (GuiTextCtrl) actually can rotate, but frankly it only really looks good when rotated 90 degrees. even 45 degrees introduces artifacts.if the only dynamic part of the text is numbers, your best bet might be fake it as Jonathan suggested,
by creating bitmaps for each digit, and manually setting the bitmaps yourself. you might want to provide a spot for all possible digits, in that case. ie "005" instead of "5".
also note the sample image you've got there isn't really rotated text, it's skewed text.
#4
01/28/2008 (7:26 pm)
You can look at the resource allowing display of GUI control on a 3D shape. This might solve your issue.
Torque 3D Owner Jonathan Toolan
If you could somehow mount an object in front of the camera, then the 3D rendering engine would do it for you. Of course, I have no idea if that is even feasible, and whether it's best to fake it with graphics made to look 3D.
What you could do, of course, is model it in a 3D environment, and then export flat pictures for your GUI. That'd look 3D without the overhead.
Don't know how you'd do it in script, though.
So no, sorry. Can't help. :o)
Jonathan