You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to build a file uploader (obj, mtl, etc.) but access files directly in the browser using the FileReader API instead of sending it to a server and retrieve it from there again with the <Asset src='..'> component.
Regarding functionally this is probably very similar to this project: https://3dviewer.net/#
Now... this seems to be a good starting point. I have a very simple MWE that writes the content of an uploaded obj file to a data variable objtext but I have no idea how to load this into the Scene.
I want to build a file uploader (obj, mtl, etc.) but access files directly in the browser using the FileReader API instead of sending it to a server and retrieve it from there again with the
<Asset src='..'>component.Regarding functionally this is probably very similar to this project: https://3dviewer.net/#
Now... this seems to be a good starting point. I have a very simple MWE that writes the content of an uploaded obj file to a data variable
objtextbut I have no idea how to load this into theScene.My filereader looks like: