Awesomium in the source?

Return to Compiling or Editing the Panda Source

Awesomium in the source?

Postby zhao » Wed Oct 12, 2011 9:10 pm

I just noticed that there is some Awesomium stuff integrated into the source code. Is it working, any tips on how to use it? I can seem to find the libawesomium should be generated after compiling :(

Zhao
zhao
 
Posts: 225
Joined: Tue Nov 10, 2009 5:32 pm

Awesomium in the source

Postby Beau » Wed Feb 01, 2012 11:33 pm

Old question, but probably useful to others...

Panda3D contains an interface for Awesomium, however Awesomium is not free. This means that there are probably legal limitations for Awesomium to be bundled with Panda3D. That said, at the time of writing there is a very permissive license available for 'indie developers'.

The current Awesomium version (1.6.4 today) seems to have made a lot of changes in the way rendering is handled. The (thin) wrapper for Awesomium in Panda 1.7.2 appears to be for an old version. The quickest, easiest way may be to make you own wrapper.

For rendering, this just means making a ram image texture that is written to by CWebView::render()->copyTo(...);

Input & JavaScript interopt is a little more tricky but is well explained on the Awesomium site.
User avatar
Beau
 
Posts: 4
Joined: Wed Feb 01, 2012 10:34 pm


Return to Compiling or Editing the Panda Source

Who is online

Users browsing this forum: No registered users and 0 guests

cron