[Fiware-miwi] Fwd: Fwd: XML3D running on Android using crosswalk and cordova

toni at playsign.net toni at playsign.net
Thu Jul 10 09:15:42 CEST 2014


great! thanks for info -- we’ve also ran on Android and a little bit on iOS, some info about the findings on mobiles here:


WebTundra Pong has touch controls that work at least on Android chrome, was developed back in August / September last year. Rendering performance for that most simple scene has been fine on phones but last we tested the networking was a bit laggy, is good to test again. That was made just with Chrome on Android.


For iOS we’ve tested CocoonJS which is a  closed source app maker that advertises good WebGL perf also on iOS .. as CocoonJS uses a Chromium based (or just an own?) canvas impl made for webgl, instead of an iOS WebView. Interesting to see how things develop as Apple’s WebGL support/enhancements roll out with iOS8 in fall. CocoonJS is really simple to test as they have a launcher in appstore which you can just point to the URL of your web app and it loads & runs it then.


Android has had WebGL enabled by default in Chrome since March/April or so, many of the three.js examples work .. with varying performance. My conclusion has so far been that WebGL on weak devices works for simple things but looses significantly in perf for native rendering. IIRC when Lasse benchmarked it (with three.js) against his native Urho3D on a phone it was ~5,5x slower, in May.  I suppose with Cordova on Android it’s this same thing. This is why there’s a plan for a native c++ ‘Mobile Tundra’ client with Urho3d as well -- my understanding is that it will perform better for rendering complex scenes. But I think we can already use WebGL on mobiles as well, for lighter things which are cleverly designed and optimized for mobile.


BTW has been nice to see that NVidia has been optimizing three.js rendering for Tegra now (just by optimizing CPU use in general) by sending in some pull requests, started coming in just a few days ago .. from a Finnish guy actually so I guess from the old Hybrid office or so: https://github.com/mrdoob/three.js/pull/5034 .. would be interesting to know the perf wrt xml3d.js (which may be a better written renderer to begin with .. three.js has it’s warts but so many eyes and hands on it that it does slowly improve all the time).


Cheers,

~Toni






From: Philipp Slusallek
Sent: ‎Thursday‎, ‎July‎ ‎10‎, ‎2014 ‎8‎:‎43‎ ‎AM
To: FI-WARE, MiWi





Hi all,

This may be also be interesting also to you: Stefan managed to get XML3D 
running inside a native Android app using a WebView with WebGL.

This should enable all our stuff to also work in this environment.

Best,

 Philipp


-------- Original-Nachricht --------
Betreff: Fwd: XML3D running on Android using crosswalk and cordova
Datum: Thu, 10 Jul 2014 07:34:04 +0200
Von: Philipp Slusallek <philipp.slusallek at dfki.de>
Organisation: DFKI, Saarland University, and Intel Visual Computing 
Institute
An: FI-Content2, All <fi-content2_all at technicolor.com>

Hi,

Stefan Lemme has just send me the attached picture, which shows a native
Android app created with Cordove and Crosswalk running one of our XML3D
example (using the 3D and GIS GEs) inside a WebView (with WebGL) in that
app.

This may be nice input to our discussion this morning, which is why I am
sending this to all. This would allow easy integration of our Web-based
technology into the native apps created by WP3.

Stefan put this together during our meeting yesterday :-), so its pretty
fresh but seems to work quite well already. Please contcat him is you
have any detailed questions.


Best,

 Philipp
-- 

-------------------------------------------------------------------------
Deutsches Forschungszentrum für Künstliche Intelligenz (DFKI) GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern

Geschäftsführung:
    Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
    Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
    Prof. Dr. h.c. Hans A. Aukes

Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973, Steuernummer:  19/673/0060/3
---------------------------------------------------------------------------




-- 

-------------------------------------------------------------------------
Deutsches Forschungszentrum für Künstliche Intelligenz (DFKI) GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern

Geschäftsführung:
   Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
   Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
   Prof. Dr. h.c. Hans A. Aukes

Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973, Steuernummer:  19/673/0060/3
---------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-miwi/attachments/20140710/37beabf7/attachment.html>


More information about the Fiware-miwi mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy