Jump to content

Big viewport performance


Paumonsu
 Share

Recommended Posts

Hi.

 

I'm about to start making my portfolio, and I've got a basic idea of what I want to do. The Babylon viewport will occupy all the screen, since it will serve as the website background, as the user scrolls down, the Babylon camera will also move and show different stuff on the background.

 

Do you think slower computers will have trouble rendering the site because of the big viewport, or permormance is more related to triangle count on screen?

 

How many triangles do you think a low-end computer can render on a 1950x1080 screen without going below 25 fps? Are there any benchmarks on that?

 

Does babylon have any system on detecting computer hardware performance other than FPS? Is it possible to dynamica rescale the rendering resolution when FPS go below a certain number?

 

Thanks a lot.

Link to comment
Share on other sites

The  permormance is more related to triangle/poly count on screen and the number of mesh, but also the animations, the number of particle, lensflare, the number of types used textures (eg texture reflection consumes) and several other criteria. But Babylon is quite optimized to handle large scene without losing too much FPS.

 


 

and babylon has sceneOptimizer that could allow you to keep FPS above a certain level and optimizes your scene below this threshold. http://babylondoc.azurewebsites.net/page.php?p=22581

 

You can also use Octree that really optimizes well the big scenes. http://babylondoc.azurewebsites.net/page.php?p=22561

 

There are many trick to optimize a scene. Consider also the normal map to give relief on meshes which not. This will create low poly models that resembles higth poly models.
Link to comment
Share on other sites

Hello, 

 

Dad is right, performance is linked to the number of mesh, the number of materials and the size of your textures. If you have 1 mesh with 100k triangle, it's better in term of performance than 100k mesh with 1 triangle.

For the number of triangle, I currently work on a project where there are more than 2 millions vertices (that's a lot of triangle) at the screen, and I'm never below 30fps.

For your portoflio, you shouldn't have any problem, except if you are creating 100 textures 2048*2048 for one material.

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