html rendering in 3d app
html rendering in 3d app
is anyone aware of any lib or anything that would let me render html in a 3d application?
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
Hmm ... I don't know of any solution, but this would definetely be cool ... using HTML to design some textures and stuff.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
if webpages would work that would be awesome. however now im aiming for very basic html rendering. there is opensource server software that im making client for.. and it sends NPC texts in html format.
so far i found article (http://www.codeproject.com/KB/IP/htmlimagecapture.aspx) on how to make a screenshot of page without loading it. i guess it could be rendered, but not sure how with interacting with the page.
so far i found article (http://www.codeproject.com/KB/IP/htmlimagecapture.aspx) on how to make a screenshot of page without loading it. i guess it could be rendered, but not sure how with interacting with the page.
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
A HTML parser would just be a library able to read HTML-formatted data and put them into usable data structures
eg. you would create a table structure in HTML and the library would be able to extract this data from the table so you could use it
This is essentially how every simple script parser works, and I'm sure you could find a library like this somewhere (although I'm not familiar with any)
Is there any specific reason on why you want to use HTML to accomplish this, instead of for example XML?
eg. you would create a table structure in HTML and the library would be able to extract this data from the table so you could use it
This is essentially how every simple script parser works, and I'm sure you could find a library like this somewhere (although I'm not familiar with any)
Is there any specific reason on why you want to use HTML to accomplish this, instead of for example XML?
well to be honest im looking for most useful and easiest way to reach the goal. in example server has admin panel that is scripted with html and sent to client. if in-game window could render that it would be very useful. what i am rly trying to avoid is calculating element positions in the window. that would take time i cant invest now.. i already have backup solution ready using xml, but it is very basic, just drawing some text in predefined text area, and binding events up to 5 buttons. but buttons and text always remain in same place, not very reusable. using this solution server admin panel goes right out through the window - got to make custom windows to handle all that..
-
- Posts: 10
- Joined: Sat Jul 19, 2008 12:27 pm
Hello,
I remember have seen a library for doing that. But i can't refind this. It is the dual of WebGL, and it has been release at the same period.
Another one, but looks a little bit less serious :
http://www.ubrowser.com/
I remember have seen a library for doing that. But i can't refind this. It is the dual of WebGL, and it has been release at the same period.
Another one, but looks a little bit less serious :
http://www.ubrowser.com/