How to render web page in 3D scene?
by Nabarro · in Torque Game Engine Advanced · 04/20/2009 (2:00 am) · 4 replies
I want to render web pages in 3D Scene. It's to render the content of web page to some objects' surface.
I remember that I've seen such resources in the community, but I can't find it any more now even I've tried many times. Anyone may help me with that? or post some links here?
Very appreciated, thanks.
I remember that I've seen such resources in the community, but I can't find it any more now even I've tried many times. Anyone may help me with that? or post some links here?
Very appreciated, thanks.
#2
Of course, it seems you've got T3D and this functionality is being included to some degree, I still haven't caught up on all the GDC videos yet, so it may be a moot point.
04/20/2009 (10:34 am)
While there isn't a specific resource for it, the combination of a couple resources will get the desired effect. You can get an in-game browser as GUI going with this, and with the guiDynamicTexture you can render that GUI to a texture applied to an object.Of course, it seems you've got T3D and this functionality is being included to some degree, I still haven't caught up on all the GDC videos yet, so it may be a moot point.
#3
Well, I'm eager to get T3D now.
04/21/2009 (6:31 pm)
Thanks all for your kindness. Thanks you very much.Well, I'm eager to get T3D now.
#4
04/22/2009 (7:50 am)
Don't count on in-game browser being a T3D feature. In the T3D announcement comments they said it was an experiment, something thrown in in last minute or something like that. They probably did exactly what Scott mentioned: use the embedded mozilla tutorial and the guiDynamicTexture to render it to a texture, plus some material fudging to allow materials to grab that texture.
Torque Owner Andy Rollins
ZDay Game
and it was demo'd at GDC
In theory you could write it yourself by merging mozilla/chrome functionality into the engine which would allow you to render a site, but you'd then have to tinker with the material system to use the output against a material