hypothermi Posted August 26, 2018 Share Posted August 26, 2018 Hey, I have "the game" with very more elements (Box) and i have problem with performance. Amount of FPS is very low (~15-20) for 16k elements in map (isometric mesh with box as single tile), but I do not need this all elements and my question is: how to control it? Is there any method in which I can give information which currently elements should I display? Method for a single frame? Quote Link to comment Share on other sites More sharing options...
QuintusHegie Posted August 26, 2018 Share Posted August 26, 2018 Please help us by making a demo playground about the map creation part. ? You can quickly speed up FPS using mesh instances instead of clones. Especially if you only have a limited number of different isometric meshes / tiles. (Say 256 tiles / 8bit tilemap). I used this instantiating trick for the (thousands of) railway track sleepers in my BabylonJS Model Train Simulator. Made a huge difference in performance. Q hypothermi and dbawel 2 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2018 Share Posted August 27, 2018 Good read as well: http://doc.babylonjs.com/how_to/optimizing_your_scene 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.