Android 3JS Performance

I started trying out ThreeJS using this tutorial: http://buildnewgames.com/webgl-threejs/

Now I wanted to try my result on my Android phone (Nexus 5), and it works EXTREMELY slowly. I do not know why this is so.

As other examples of threejs games on the page http://threejs.org/ run 100% fluid on the phone. For example, "Hello Run."

Why is my pong game so slow on mobile devices and how can I fix it?

+4
source share
2 answers

, , Android, iPhone 6+,

js:

  • , , ,

  • BufferGeometry Geometry ,

  • Geometry.merge

  • , ExtrudedGeometry, , , . .

  • , , , . , .

  • , GPU

+6

- webgl . gpu, , :

, , .

, , .

+ +

, Crosswalk - , , Google Intel , . , webgl.

HTML5, Threejs, google > ( , Ludei, , .

Demo Three JS

, .

cordova, , cordwalk cordova, .

+1

Source: https://habr.com/ru/post/1546996/


All Articles