I am trying to import a .babylon file to the scene. I have tried with the file on sandbox and it works as expected, by changing few scene properties.
However i am not able to render it in the play ground.
I am fairly new to babylon. Can anyone suggest what could be wrong with my code?
Hi,
you have to host your babylon file somewhere and then import in playground.
2 Likes
Thanks Marian,
glTF Loader Demo | Babylon.js Playground (babylonjs-playground.com)
I have added the mesh. I still have 2 questions.
- How do i set the scene properties (rendering mode = wireframe and clear color) in the code and NOT from inspect.
- How do i use this in my angular application? Will i be required to host my files then as well?