Unable to load OBJ with three.js electron app

Hello everyone, I have a question for you, I tried to mix three js and electron (I know it did not sound like a good idea) and I already encountered the first problem of this idea is as you see in the title, the obj loader does not recive the path, some idea of how to solve this problem?

thanks in advance

three.js can run its editor via electron. Just download the repo, execute npm install in the main directory and then npm run editor. It’s possible to drag & drop models to the editor or use the menu item File -> Import. The following link shows the main JavaScript file of the electron app.

https://github.com/mrdoob/three.js/blob/dev/editor/main.js

I hope this stuff is helpful to you :blush:

1 Like

hello friend thanks for your answer, sorry for delaying the answer (my video card was burned) I’ll look what I can do with what you tell me and tell you what happens