Game Development Community

Insanely Awesome Chrome library

by Helk · in Torque 3D Professional · 06/24/2009 (6:18 am) · 23 replies

princeofcode.com/awesomium.php


Someone should really add this to T3D.. Check out the demo in ogre, amazingly smooth.


Page «Previous 1 2
#1
06/24/2009 (8:09 am)
Before using this one, one would use the Webkit as beeing used in Safari 4, wouldn't one, as it is performance wise quite ahead
#2
06/24/2009 (8:55 am)
AFAIK, Chrome is built on top of WebKit as well.
#3
06/24/2009 (8:58 am)
GNU license. That is the problem with a lot of these resources. Hooks perhaps could be added, but you couldn't dump it into the source without GPLing the whole source code.
#4
06/24/2009 (9:11 am)

More precisely, it's LGPL'd which means linking to it in binary form is okay and won't force you into a particular license for your projects.

Looks neat but I'd rather not vote for any library integration with stock Torque 3D for which the project behind isn't backed up in such a way as to have a guarantee the whole thing remains maintained and around for some time to come. This looks more like a hobbyist project.
#5
06/24/2009 (9:49 am)
Ah missed that, you are correct. Appears the WebKit itself is bits BSD and LGPL so it looks like that pretty much makes it fall into LGPL as far as licensing go.
#6
06/24/2009 (10:51 am)
http://www.youtube.com/watch?v=479SOfFUtLE

already a feature in torque 3d :D
#7
06/24/2009 (12:24 pm)
Chrome is built on Chromium, which is built on WebKit and also has the (very fast) V8 Javascript engine and Skia renderer...

I actually hooked up Awesomium to Torque 3D pre-GDC as an experiment... that is what you are seeing in that VIDEO. We'll see about getting this out as a resource... been a tad busy :) (We can't just toss everything into the core as officially supported features... especially with dependencies like this...)

Awesomium is very high quality code, pretty small (well, other than Chromium dependency)... and has some nifty stuff like Flash, OSX, and multicore rendering of pages...

- Josh


#8
11/25/2009 (3:24 pm)
Does a resource exist for this (haven't been able to find it if it does) OR does anyone have any even half-working source laying around I could tinker with? I'd love to get this integrated, and if anything already exists I'd love to use it. Otherwise back to hacking up Navilib .. Cheers,
John
#9
11/25/2009 (3:27 pm)
@John - I would definitely wait for 1.5 to come out. We have a solution Josh put together for our GDC '09 Demo, which is the video everyone is posting. It is not a fully featured resource, but it shows off what Torque 3D is capable of with 3rd party integration.

When 1.5 is released I expect some resources to show up pretty fast.
#11
11/25/2009 (4:17 pm)
It's called planning ahead ... ;)
#12
11/26/2009 (8:18 am)
No, seriously... that was a double typo error (weird) or I missed soemthing big.


Edit: Im an idiot, Mich is talking about Awesomium v1.5. Talking about rushing into things...
#13
11/26/2009 (5:20 pm)
beware, what follows is a bit ranty.

this sort of stuff has been around for a while,
and in my opinion the whole concept of embedding 2D media in a 3D environment is overrated. text, spreadsheet, 2D images, and 99.999% of all web pages are inherently 2D media, and while it's a cool and nifty technical achievement, sticking them in a 3D world isn't actually doing the user any favours. unless there's a benefit beyond just wow-factor, there's no real value added, and in fact, there's usually value removed because there are several drawbacks to presenting 2D media in 3D. to name a few:

* loss of image quality. by definition, if you have a rectangular region of the screen which you've dedicated to presenting 2D content, unless your content is filling that region, you're losing image quality. giving it a 3D, perspective appearance only removes information.

* additional burdens on the user. navigating the 2D space is generally way more difficult in these 3D interfaces. now the user needs to be aware of concepts like Camera Position and Camera Angle and Field Of View and stuff. none of that exists in a traditional 2D presentation. scrollbars and arrow keys work great.

* counterintuitive and unresponsive - these may vary from particular app to particular app, but generally the time required to achieve a given user-interaction is significantly longer in a 3D implementation than a traditional 2D one. similarly it's generally more difficult to figure out how to use the app.

now, i love me some 3D, but i think software designers (us) tend to assume that everything is better in 3D, and that's a dangerous assumption.

.. i posted pretty much this exact same rant a while ago here.

/rant=off
#14
11/27/2009 (9:28 am)
Ah, yes, I remembered that blog while reading. I agree with you about, 2D media in a 3D environment: has little to do on improving the experience. Nice looking in a demo, but in practice, its worth for only specific cases.

However, I think the best part of it, is the introduction of a new option to handle any 2D space interaction or feedback zones within a game, that is, in-game interfaces and menus.

It not only offers new design options (flash, css, javascript, you-name-it), but also is an excellent way of integrating on-line web experience with in-game interaction. From very simple cases of online leaderboards, to inventory handling, to forums/community access directly from within the game.

What the guys of the Wolfire Team have done, is an excellent example of the power of the Awesomium library as the UI engine.
#15
11/27/2009 (10:03 am)
Oh ya I remember that integration of WolfireTeam... awesome. Would definantly come very handy to have something like this in T3D. Especially for a webcoder like me haha.

Anyone interesting in integrating this to T3D? ^^
#16
12/12/2009 (4:09 am)
I can see tons of uses for a company like mine where half our programming is devoted to interactve 2d elements(flash/javascript/html) and the other half is 3d (primarily torque3d). But I assume that even if you could post a flash asset as a texture in torque 3d it would be difficult(or impossible) to capture user interaction and post it back to the flash asset, making it nothing more than a (play, stop) asset, which as posters noted above, doesnt really add anything new.
#17
12/12/2009 (4:40 am)
This has nothing to do with Flash and it would add tons of New easy to use possibilities. You could add CSS stylable and animated Elements with ease. It would Be à piece of cake to make really stunning menus. You should really Watch the Video of the implementation of webkit posted above.
#18
12/12/2009 (11:02 am)
Quote:This has nothing to do with Flash
I disagree. The potential use of any web technology into a game has to do with this.
#19
12/14/2009 (10:38 pm)
I already used this in my game as a in-game web browser( I use V1.08, it seems that my boss doesnt like to wait until 1.5 coming out), and I use the guiTextureCanvas to texture the browser to my projector model.
guiTextureCanvas link here: http://www.torquepowered.com/community/resource/view/10899/

So that it really looks like what they showed in the demo. And generate mouse click and mouse move is quite easy in Aswsomium, so just use ray-casting to click on the projector directly.

( can any one kindly guide me how to show picture at this forum...LOL, im a noob here)

If there is any copy right issue pls let me, Im really new in game/sofrtare industry.

Ray
#20
12/14/2009 (11:04 pm)
O_O If you could post a resource show how it integrate it that would be even better, butt (yeah, my butt) i think there might be problems doing that as its in essence your companies resource and there might be NDA issues :P
Page «Previous 1 2