Jump to content

Possible performance issue?


NoxWings
 Share

Recommended Posts

Going through the 101 tutorials on the docs, I just opened the one weighted animations example and I happened to open it on my phone.

 https://www.babylonjs-playground.com/#IQN716

I got really poor performance considering the simplicity of the scene about ~36fps both on chrome and firefox I tried gradually removing elements from the scene, ui, weighted animations etc and I left just the imported model both lights and a basic floor. Even after that fps the scene runs at ~40fps.

Then I found a really similar scene on threejs, same lighting (1 hemi, 1 directional), same model (or at least it looks the same), but it runs at butter smooth 60fps.

https://www.babylonjs-playground.com/#IQN716#20

https://threejs.org/examples/webgl_loader_fbx.html

Any ideas why this could be happening?

Edit PS: tested on OnePlus5T

Screenshot_20180402-013124.jpg

Screenshot_20180402-013053.jpg

Link to comment
Share on other sites

Unfortunately this is not the same model

The bjs version contains more bones (And this forces the engine to switch to CPU bones processing). The model is not optimized for mobile rendering as it contains 68 unique bones

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...