I am working on a 2d/3d view for racks in a data center and I implement both views using 2 different scenes and used SPS for creating the racks in 3d for better performance for the 2d view I used a fullscreen texture with one ScrollViewer and one rectangle inside it then I created racks using a mix of Rectangle control and StackPanel control but the performance of scrolling is not usable with many racks example 100 racks.
NOTE: I used useBitmapCache for every control I created but no difference.
So do you have a better way to implement this 2d view or how to optimize my current implementation to be usable at least with 1K racks and each rack contains 50 devices?
Do you think this upcoming update will help me and if I am gonna implement virtualization is it really complex considering that I don’t have enough WebGL knowledge.
Also, let’s say that I implemented virtualization do you think it will perform better than DOM or PIXI.
Hi. Even for doms 1k elements is alot and you should use some optimizations (like css layers and cpr optimization principles)
For babylon you may try yo use useBitmapCache property to cache big containers and maybe it will help.
It should be used as follows:
ScrollViewer
├ {n}Control [usebitmapcache]
│├ … Lots of childs
Again. That how it have to work if it was made properly. @Deltakosh , what would you say?