Jump to content

bad performance only on android device


al404
 Share

Recommended Posts

We are almost done with the project and I'm testing on different device:

- iPad Air 2 

- Lenovo tablet win 10 32bit on Intel Atom CPU Z3770 1.46Ghz 2Gb RAM  Intel® HD Graphics

- Tab S2 Android 6

- S7 Edge Android 6

on iPad an Windows tablet it is usable on Android device FPS si really low it gets low to 5fps

is Android know issue with webgl, is it possible to get better performance on Android?

Link to comment
Share on other sites

Have you try the optimization tips from the doc ?

http://doc.babylonjs.com/tutorials/Optimizing_your_scene (especially the Turning AdaptToDeviceRatio off part)

http://doc.babylonjs.com/tutorials/Optimizing_Your_Scene_with_Octrees

http://doc.babylonjs.com/tutorials/How_to_use_SceneOptimizer

How many RAM these devices have ?

 

Link to comment
Share on other sites

yes i already did it 

- Tab S2 has an octa core CPU and 3gb of ram

- S7 Edge has octa core CPU 4Gb ram GPU Mali-T880MP14

they are pretty high end device

not sure i compare android device GPU to windows tablet specs but the windows tablet is older and it only has 2Gb of ram and also run windows

It seems to me that BABYLON.SceneOptimizerOptions in some case it disable music, is it possible that to get to minimum frame rate it does that? 

 

Link to comment
Share on other sites

al404

modern mobiles all have x2 or x3 resolution it is good quality for one frame but when you render live need a powerful graphics but if you can resize your canvas to x1 and scale that to correct size you see fps is up to 60 and you have good quality too  test it it can be help :)

   canvas.style.width = x1.width;
   canvas.style.height =  x1.height; 

    renderer = new BABYLON.Engine( canvas, true);

    canvas.style.width = '100%';
    canvas.style.height = '100%';

this maybe help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...