[Interest] Crazy Idea of the day: WebGL renderer

Samuel Rødal samuel.rodal at digia.com
Wed Jan 9 08:21:39 CET 2013


On 01/08/2013 07:35 PM, Jason H wrote:
> There has been an alarming increase in the number of on-line interactive
> coding platforms.  Take for instance ScraperWiki.com,
> http://www.typescriptlang.org/Playground/ and a dozen others. While I am
> waiting for my Qt5 build to download, I was wondering how it would be
> possible to enable QML in the browser. Chrome how has preliminary WebGL
> support ( http://www.chromeexperiments.com/webgl/ ) And I figure it
> would be a hoot and good for Qt5's visibility if we could get an online
> QML viewer going. Something with and edit pane and a visualization pane.
> I was thinking QPA might be ideal for this.
>
> Do you think it is possible? And how hard would it be?

I think such a solution (QPA) might be sub-par (the actual code would 
have to run on a server, and performance would suffer since you lose the 
possibility of doing a scene-graph approach with WebGL) to actually 
parsing and rendering QML with WebGL client-side in the browser, or 
possibly having a pre-processing step that compiles QML to JavaScript / 
WebGL.

The performance will probably not be as good as a Google Native Client 
build of Qt though.

--
Samuel




More information about the Interest mailing list