[Interest] Crazy Idea of the day: WebGL renderer

Jason H scorp1us at yahoo.com
Wed Jan 9 16:26:19 CET 2013


I just checked the 2013 release of the Samsung SDK supports/will support WebGL.





________________________________
 From: Jason H <scorp1us at yahoo.com>
To: Samuel Rødal <samuel.rodal at digia.com>; "interest at qt-project.org" <interest at qt-project.org> 
Sent: Wednesday, January 9, 2013 10:17 AM
Subject: Re: [Interest] Crazy Idea of the day: WebGL renderer
 

You bring up a good point. Maybe the output is JS to the web browser. And I think that is a more awesome solution - because then your deployment platform does not need to support Qt. While I originally conceived of this to introduce people to QML I ran into another idea. I have a Samsung SmartTV which has a HTML5/Webkit app development environment. If Samsung supported WebGL (which they might, I haven't checked) we could write apps for Samsung TV but run them off a remote server. The code on the server would be QML, and we could target any WebGL compliant platform. 

I don't think performance is that critical. If it was they wouldn't be running it in a browser. ;-)

The problem with NaCL is you have to wait and download the entire binary. Meanwhile if you just spit out JS/WebGL commands there is no
 transfer time.




________________________________
 From: Samuel Rødal <samuel.rodal at digia.com>
To: interest at qt-project.org 
Sent: Wednesday, January 9, 2013 2:21 AM
Subject: Re: [Interest] Crazy Idea of the day: WebGL renderer
 
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

_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130109/d22ae901/attachment.html>


More information about the Interest mailing list