I need to add an html input type file element to a playground I need for demonstrative purposes, actually a question of mine in this forum, for people that want to help me with my question.
I need to import a model file from my computer to the PG scene. For this I need an html input file element in PG. How can I add one?
Need insight in how to add files from my computer to PG. I have added an inout type file. I am using BABYLON.SceneLoader.AppendAsync in input handler with the event.target.files[0] and “” as rootUrl but it makes an http request and naturally gets an http 404.
What am I missing?
Actually ı have created a PG with one of th eanimated files, Alien. However I have exported it, downloaded, and imported in the application I am building and it is no more animating again.
Is an extra funciton necessary to activate the animations or they are lost altogether.?
Or do I need to pass an extra option to the gltf exporter to preserve the animations?
In my local app I do not see the Animation groups list I see in my PG.
Yes. I got it from github, then imported into above mentioned PG and exported it with the code above. Then imported to another BJS scene which is my app, but animations are gone this time. Also when I download and import the github models to my BSJ scene they also work. Something happens when I run export methods. Animation groups in scene explorer is also lost.
To repro a PG for local files were necessary for that. But I think I can puıt up it into my github and import from there too.
I am moving those discussions to the original post on this issue.
Thanks a lot for your answer and other help.