Unable to load OBJ with three.js electron app

electron

#1

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


#2

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.

I hope this stuff is helpful to you :blush:


#3

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