Game Development Community

interactive gui over a 3D model

by Davide Archetti · in Torque 3D Professional · 06/23/2009 (2:40 am) · 11 replies

I whish to have a gui rendered over a 3d model while playing the game. For example, over a 3D model of a computer video, I whish to render some buttons, text fields, that I can use by clicking over them with the mouse or using the keyboard.
There is a resource for TGEA(TSE) guiDynamicTexture that should do this, but I whish to know if T3D has something alredy implemented for this kind of things.
Also, it should be possible to see a web page rendered over a texture, I should have seen it somewhere, but is it implemented right now? Where I start? Can I interact with the web page or I can only see it?

Thank you

P.S. to web admin
The Tags field doesn't accept commas (,). It says <TAGS> has not only alphabetic and digit characters

#1
06/23/2009 (4:44 am)
The html view texture shown in the vids is not present in T3D yet.
#2
06/23/2009 (8:47 am)
...and I'm not sure it will. AFAIK that was just an experiment, and probably someone just implemented a modified version of this resource:
www.garagegames.com/community/resources/view/13710
#3
06/23/2009 (9:40 am)
Looks like it makes use of the Mozilla code base, which might make it difficult to ship anyway because of the license (it has 3 options, I know the GPL wouldn't be an option, not sure if Mozilla Public License would work or not). Would be cool to see the hooks in place and just drop in the library.
#4
06/23/2009 (10:27 am)
Thus why I doubt this will be a standard feature. An updated version of that resource should do for those interested in it, or a version of it which uses the IE ActiveX control.
#5
06/24/2009 (5:53 am)
Well, thank you for your replies, so it seems that the only way is to add the guiDynamicTexture to T3D, well, I'll see what I can do.
#6
06/24/2009 (5:59 am)
Quote:...and I'm not sure it will.

The video has been added to the official T3D front page / feature page.
As such, I expect it to be present as it is advertised.
#8
06/24/2009 (6:48 am)
Well, very interesting Helk. Someone should really take it into consideration. But for me, using a web page is a workaround, if it was alredy in, ok, I can use it. If I have to code it, I prefer the guiDynamicTexture way, because I don't need a web browser inside a 3D object.
#9
06/24/2009 (1:51 pm)
I'll be looking into this within the next month. I need more or less what you do: an in-world screen that renders GUI elements. For my purposes, rendering HTML would be excessive (and honestly would result in more effort developing the displays for HTML). I'm basically looking at making HUD elements that appear on physical displays inside my vehicle cockpits.

If I get anything working, I'll be sure to share the results. That TGEA resource looks like an excellent place to start.
#10
06/24/2009 (3:28 pm)
What happened to the wish thread! I remeber putting that in there.
#11
06/24/2009 (4:06 pm)
Displaying gui's on a model would open up so much creativity and interactivity! It has so many uses, so go for it! =)