Zephos Posted October 16, 2018 Share Posted October 16, 2018 Hi all, I am looking for away to optimize this scene: https://playground.babylonjs.com/#9G5I9U The playground is very similar to the project I am currently working except for the fact that I implemented my own controls for the camera by ICameraInput interface which would be difficult to replicate in a PG. I use two cameras so I can use a different fov based on the users choice without it distorting the skybox. The main problem I am observing is that when flying around, their can be a slight jitter or choppiness. It is worse in my local version but only slightly. All the cubes are clones of the same mesh as I need to be able to move them independently, etc. I am wondering if the skybox is too high res or something like that, but each side is 2048px. If there are any good ways to optimize this, I would sure appreciate some advice. Nothing I found in the docs seemed to help. Thanks. Quote Link to comment Share on other sites More sharing options...
JohnK Posted October 16, 2018 Share Posted October 16, 2018 Some alternatives Using Babylon.js clones rather than creating new copies https://playground.babylonjs.com/#9G5I9U#1 Using instances https://playground.babylonjs.com/#9G5I9U#2 using SPS https://playground.babylonjs.com/#9G5I9U#3 NasimiAsl, GameMonetize, trevordev and 1 other 4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.