How can I create a scene from the glb file which is hosted in the server.
Basically, you need
- the URL of the GLB file
- be sure that the server CORS policy is OK
- Some method from SceneLoader, like
await BABYLON.SceneLoader.ImportMeshAsync("", "https://raw.githubusercontent.com/eldinor/ForBJS/master/level5.glb")
Do you have any problems with this?
can i use the two screenloader in the same file because one is for displaying the model and second one is for manipulating the glb files models.
I cannot say that I understand what you are trying to achieve, but yes, you can call for SceneLoader as much as you need.
I believe the Playground with your problem will help a lot with understanding.