Thank you Omar, I tried smaller models, it actually, work, so I went back and apparently the scale was still to small (it’s wierd cause when I
load the same json but from a gltf, the scale was good).
@Baris_Sarac Check out our 3D Models Sandcastle for some examples loading gltf files with the viewer’s entity collection. You can also load gltf models directly from urls using the Model.fromGltfAsync function.
If you have more questions in the future please feel fee to start a new thread
With older CesiumJS versions you could load from a string or from a file.
Now it’s only possible from a file so here is my workaround to still be able load it from string.
From the server you load your .glb file contents then base64 encode it. Then in javascript you base64 decode it. Still a string so you create a blob.
Because it’s now a blob, CesiumJS sees it as a file, problem solved!