CEF integration with WebGL

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

CEF integration with WebGL

Postby rishiag » Sun Aug 24, 2014 6:51 am

Hi, I am currently working on an open-source project for developing a digital campus. Basically there would be a webgl scene and in the scene we would render browser to show content from Wikipedia, Youtube, TED, etc.
Now one of the method is this: http://learningthreejs.com/blog/2013/04 ... and-webgl/
Here is the jsfiddle for the same: http://jsfiddle.net/jL48v/2/
But it seems to work only for html pages. Another method is iframe but as we know most of the sites don't allow their sites to be loaded on iframe.
My queries are:
1. Is there any example of cef being integrated in webgl scene?
2. Will it be possible to access all websites in cef instance? For eg. apart from Wikipedia, Youtube will we be able to access sites that require authentication like Gmail? Because idea of our project is to give complete web experience. I would really appreciate any help. We are on a tight timeline and CEF is sort of our last hope. Otherwise we would have to move to some other platform than webgl. Thanks.
rishiag
Newbie
 
Posts: 2
Joined: Sun Aug 24, 2014 5:57 am

Re: CEF integration with WebGL

Postby magreenblatt » Mon Aug 25, 2014 3:46 am

WebGL runs in a browser. CEF is a browser. Ergo WebGL runs in CEF. Embedding CEF in some other browser doesn't make a lot of sense.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF integration with WebGL

Postby Czarek » Mon Aug 25, 2014 7:53 am

rishiag wrote:Because idea of our project is to give complete web experience.

CEF does not provide all features of Google Chrome. Some are missing such as a built-in flash player, HTML5 desktop notifications, the H.264 proprietary codec for use in HTML5 videos and probably some others.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: CEF integration with WebGL

Postby rishiag » Mon Aug 25, 2014 11:20 am

magreenblatt wrote:WebGL runs in a browser. CEF is a browser. Ergo WebGL runs in CEF. Embedding CEF in some other browser doesn't make a lot of sense.


We are looking to achieve following result: https://www.youtube.com/watch?v=zUdrflSOe_Q
As you can see, it's a desktop game with browser render in the scene. It's on the Ogre 3D platform using Berkelium plugin (http://berkelium.org/).
Instead of a desktop app, we would have this type on scene in a website and then render further instances of browser in it.

Czarek wrote:CEF does not provide all features of Google Chrome. Some are missing such as a built-in flash player, HTML5 desktop notifications, the H.264 proprietary codec for use in HTML5 videos and probably some others.


That's fine. If we could get sites Wikipedia, Youtube to work, we would have a start. We would think about authentication sites later on.
rishiag
Newbie
 
Posts: 2
Joined: Sun Aug 24, 2014 5:57 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 68 guests