Hi all,
I found that since version 4.25 of the Javascript SDK the memory consumption with large glTF symbols had a hard impact on scene performances. Below are 2 codepens samples:
4.24: https://codepen.io/christophesuter/pen/Jjaeamo
4.26: https://codepen.io/christophesuter/pen/VwGVGVj
Wait a few seconds for object and open console to see memory exceeded warnings
Has anyone any solution for this ?
Hi Christophe,
yes, we are now including glTFs when montoring memory consumption.
If you are curious about memory usage you may find it interesting to take a look at this experimental (!) class SceneViewPerformanceInfo.
As you already mention your glTF is large and therefore, a stretch when it comes to loading it in a browser, just like this. We would recommend to use a scene layer with level of detail. Would this be an option in your case?
If not, could you explain the use case you are trying to solve? We would like to make sure that we have it covered in our backlog and add your input for prioritization.
Best,Veronika
Hi Veronika,
We need to add one to 5 of those glTF's on the scene for a preview App without publishing a service. SceneLayers cannot load any local source right ? Is there any other way you would suggest to do this ? The performances were satisfying using 4.24 ..Best,
Christophe
this is the only way to preview models at the moment. Do you see any degradation with 4.26?This would be unexpected as the new version should be equivalent to 4.24 (with improved memory management and messaging).
Uploading models to scene layers is currently work in progress on our roadmap. This could be an option in future.Best,Veronika
Question .. could you tell me what king of format will be avaiable to upload models in the future ? It would be good to know for our project.
Best,
Uploading 3D models is a capability currently being developed and planned to release this year, therefore all information is subject to change.
The upload will be based on the ArcGIS CityEngine runtime (PRT), so whatever formats are supported by PRT, should also work for in the web. Here is a list of the supported file formats:https://esri.github.io/cityengine-sdk/html/esri_prt_codecs.html
As mentioned in previous posts, the glTF being used is rather large for client-side consumption. Would be great if you could share more information with us about the use case and the source of the model.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.