Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Firefox Graphics Mozilla Games

Epic and Mozilla Bring HTML5 OpenGL Demo To the Browser 77

sl4shd0rk writes "Mozilla and Epic (of Epic Megagames fame) have engineered an impressive First Person OpenGL demo which runs on HTML5 and a subset of JavaScript. Emscripten, the tool used, converts C and C++ code into 'low level' JavaScript. According to Epic, The Citadel demo runs 'within 2x of native speeds' and supports features commonly found in native OpenGL games such as dynamic specular lighting and global illumination. This concept was previously covered on Slashdot, however the Citadel demo has just been released this week."
This discussion has been archived. No new comments can be posted.

Epic and Mozilla Bring HTML5 OpenGL Demo To the Browser

Comments Filter:
  • by Anonymous Coward on Friday May 03, 2013 @05:26PM (#43624409)

    Just got the latest Nightly and works smooth here. 5 year old computer running Win 7

  • Re:Plain Crap (Score:4, Informative)

    by robmv ( 855035 ) on Friday May 03, 2013 @05:30PM (#43624429)

    This requieres Mozilla JS enhancements (asm.js) currently on nightly builds, It can work on other browsers but without the performance tuning made for the JS subset that is asm.js it will run slow. Chromium bug proposing to add support for asm.js http://code.google.com/p/v8/issues/detail?id=2599 [google.com]

  • Re:Plain Crap (Score:5, Informative)

    by kripkenstein ( 913150 ) on Saturday May 04, 2013 @12:28AM (#43627101) Homepage

    This requieres Mozilla JS enhancements (asm.js) currently on nightly builds, It can work on other browsers but without the performance tuning made for the JS subset that is asm.js it will run slow. Chromium bug proposing to add support for asm.js http://code.google.com/p/v8/issues/detail?id=2599 [google.com]

    It doesn't require special asm.js optimizations (asm.js is a subset of JavaScript, so it already runs properly in all modern browsers). The demo works fine in the stable release of Firefox for example, which has no special asm.js optimizations. It is faster in Firefox nightly though which does have those optimizations. But how much faster depends on the CPU and GPU, it might matter a lot or it might matter a little. In this demo a lot of time is spent in WebGL, so a fast GPU and good WebGL implementation matters a lot too.

    The demo should work in any browser with WebGL and JavaScript support. For example the only reason it currently fails in Chrome is due to a bug [google.com] related to memory use. Hopefully that will be fixed soon.

No man is an island if he's on at least one mailing list.

Working...