Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while trying to load resources #43

Open
kalwalt opened this issue Feb 4, 2020 · 7 comments
Open

Issue while trying to load resources #43

kalwalt opened this issue Feb 4, 2020 · 7 comments

Comments

@kalwalt
Copy link

kalwalt commented Feb 4, 2020

Hi @jagenjo and all here! I have found this issue: i'm trying to load a resource, for an example, an .obj file in the scene. i select Import File from the Resources Tab -> Import from Harddrive -> ... then a window appears and you can select the file. But when you select the file, nothing happens, file is not uploaded in the scene. The only way that i was able to upload a file was dragging it inside the window, after this my file was within the scene.
I am asking this because me and @ThorstenBux are working on arStudio an editor for Augmented Reality based on webglstudio. We are integrating our format for loading .patt Artoollkit file but we found this issue. We would like to solve this because i think it will make easier to load the resources.

EDIT: this happens in webglstudio.org/demo !!

@coderofsalvation
Copy link

kawalt: thanks for reporting this. Did you see any error in the javascritp console? (F12)

@kalwalt
Copy link
Author

kalwalt commented Feb 29, 2020

@coderofsalvation Now i don't remember i need to look again into it, I will report back my result. Thanks for the answer!

@kalwalt
Copy link
Author

kalwalt commented Mar 23, 2020

@coderofsalvation i can confirm the issue and no messages in the javascript console.

@KnightCoder
Copy link

KnightCoder commented Apr 21, 2020

@kalwalt I see that you've mentioned that "The only way that i was able to upload a file was dragging it inside the window, after this my file was within the scene.". I tried drag-dropping the files onto the main scene window, side panel, import window, drive window and even on LiteFileServer. But nothing worked, I was not able to import any file on to the scene.

When I try to import a ".glb" file into LiteFileServer, it shows an error message "File error: Extension not allowed: RobotExpressive.glb".
When I try to import a ".glb" file into WebGLStudio (as mentioned above), it shows a message "No data found in resource".

Can you explain how you are able to do it? So that at least I try to see if I can import the models into the scene somehow or not.

@kalwalt
Copy link
Author

kalwalt commented Apr 21, 2020

@KnightCoder I didn't tried with .glb or other 3d model files, we are developing an editor for AR https://github.com/augmentmy-world/arStudio and we need to import the markers. I will take a screenshot if i have time, maybe is better.

@jagenjo
Copy link
Owner

jagenjo commented Apr 21, 2020

there is no support for glb files in WebGLStudio

@KnightCoder
Copy link

KnightCoder commented Apr 22, 2020

I also tried with .obj, .gltf and .fbx file as well. But none got imported.

ONLY .obj file got inserted into the scene however, it didn't get imported into the fileserver. I had read from the documentation that

You can also drag a mesh to the scene view to insert it, currently WebGLStudio supports OBJ or DAE.

@jagenjo what are the file formats that are supported for import by WebGLStudio? Can we import external 3D models?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants