Nebula3/emscripten demos on Android Firefox

60 views
Skip to first unread message

Floh

unread,
May 14, 2013, 2:11:21 PM5/14/13
to emscripte...@googlegroups.com
Check this out guys, complex emscripten WebGL demos on a Nexus4 phone with Firefox :)

The map viewer demo (right image) takes a long time to start, and the ground decal rendering is somehow broken, and there's no support for touch input, but I was surprised that it basically worked "out of the box" (well, almost, the device doesn't support DXT textures so I had to add on-the-fly software decompression).

It's fairly slow though, first, I think mainly because the render pipeline is quite fillrate-intensive (pre-light-pass rendering, plus bloom shader, lots of offscreen render targets), and second the FF version used doesn't have asm.js support (actually does the Android Nighly already have asm.js support?).

Mobile support isn't on the top of my todo list, but this looks pretty tempting :)

If you want to give it a shot, demos are here: http://www.flohofwoe.net/demos.html

Cheers,
-Floh.







wolfviking0

unread,
May 14, 2013, 2:18:02 PM5/14/13
to emscripte...@googlegroups.com
Hi Floh,

You work, work well on ios too, two screenshot with my iphone ;)

God job

- Tony



Message has been deleted

Floh

unread,
May 14, 2013, 2:27:52 PM5/14/13
to emscripte...@googlegroups.com
I can't see any images unfortunately, just a wall of base64 encoded data. 

How did you get WebGL working on iOS?

Alon Zakai

unread,
May 14, 2013, 2:43:33 PM5/14/13
to emscripte...@googlegroups.com
Nice!

How did you do the software decompression?

Firefox Nightly on Android should have asm.js support. ARM support landed several weeks ago.

- Alon



--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

wolfviking0

unread,
May 14, 2013, 2:54:20 PM5/14/13
to emscripte...@googlegroups.com

oops sorry for the image,


i use a custom version of http://benvanik.github.io/WebGLBrowser/ for do some test.

Tony

Floh

unread,
May 14, 2013, 3:41:21 PM5/14/13
to emscripte...@googlegroups.com
I plugged a very simple existing DXT decompressor into my texture loader code:


It's just a hack though, the decompression runs on the main thread (but its very fast).

There's a few other interesting approaches to convert-after-load from some generic lossy texture compression formats to DXT (crunch) or any block-compressed or uncompressed format (ZDT) here:


Unfortunately, there's also a patent situation around those two technologies :(

-Floh.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages