three-object-loader icon indicating copy to clipboard operation
three-object-loader copied to clipboard

Can I load .obj from local file by FileReader API ?

Open skyfore opened this issue 7 years ago • 1 comments

Hello, I want to load obj file from local file by FileReader API, such as https://jsfiddle.net/77x95e2s/

skyfore avatar Nov 08 '17 06:11 skyfore

We do this... client side we require (via babel binary loader), and then directly call parse on the OBJLoader. node server side we pass result of fs.readFileSync().toString() to parse.

gap777 avatar Mar 12 '19 12:03 gap777