integrate a web page in my scene with irrlicht engine
integrate a web page in my scene with irrlicht engine
Hey everyone,
Can I integrate a web page in my scene with irrlicht engine?
thanks a lot!!
Can I integrate a web page in my scene with irrlicht engine?
thanks a lot!!
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
Not natively, no
You could however try to implement a GUI element which uses a layout engine like gecko or something like that, although that would be some serious overkill I suppose
It depends on what the web page should contain, if it's just some simple HTML you could try to write or find a simple HTML parser and a mechanism for handling HTTP requests
If it should be able to execute scripts and things like that I'd definitely go for a well-established layout engine, seeing as you could run into security issues otherwise
EDIT:
@hybrid: unless you guys recently implemented a web-browser gui element, am I missing something here?
You could however try to implement a GUI element which uses a layout engine like gecko or something like that, although that would be some serious overkill I suppose
It depends on what the web page should contain, if it's just some simple HTML you could try to write or find a simple HTML parser and a mechanism for handling HTTP requests
If it should be able to execute scripts and things like that I'd definitely go for a well-established layout engine, seeing as you could run into security issues otherwise
EDIT:
@hybrid: unless you guys recently implemented a web-browser gui element, am I missing something here?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Well, you're missing exact semantics. Question was "Can I...". And with my optimistic mind, I thought that khenissi can come up with some integration.
If the question was whether Irrlicht can natively display HTML content the answer would be no. But there are some integration examples for web render engines in the code snippets or project forum.
If the question was whether Irrlicht can natively display HTML content the answer would be no. But there are some integration examples for web render engines in the code snippets or project forum.
thanks for all. my question wasn't so clear,but Mr hybrid understood me. my goal is to display a web page and web surfing in my game programed with C + + and Irrlicht. I understand from you that this is impossible with Irrlicht,but to do this I must integrate web render engines in my code, Mr hybrid can you give me an example or a link to examples. thank you
You could try if this here still works: http://irrlicht.sourceforge.net/phpBB2/ ... ml+browser
I though there was also something about webkit once, but don't find it in the forum.
I though there was also something about webkit once, but don't find it in the forum.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
http://awesomium.com/
sadly commercial, but reportedly an early version exists which has an open source license.
sadly commercial, but reportedly an early version exists which has an open source license.
Try to google on what "error: undefined reference" meanskhenissi wrote:thanks,
I tried the solution of Mr CuteAlien but I have a problem with llmozlib
I added #include "llmozlib.h" in include folder but there is still a problem
this is the error: undefined reference to `LLMozLib::getInstance()'
my IDE is code Blocks
Working on game: Marrbles (Currently stopped).
You have to install llmozlib probably. Just google it and you will find it.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm