Closed AndrewRayCode closed 7 years ago
+1
It could be cool to update the OBJLoader.js :)
Hey @DelvarWorld I'm afraid i'm quite out of date with this. I will definitely work on this when I get time. If you have a working solution in the meanwhile, a pull request would be greatly appreciated :)
+1 here, am trying to build babelified three.js VR experiments using http://threejs.org/examples/webvr_vive.html as a starting point, requires obj loader, found this as the first google hit and it lacks loader.setPath as a function.
Bump
Hey all, I have updated the source to the latest version posted by @AndrewRayCode .
For that matter, multimaterial is now dead.
Looks like there were some major changes to the objloader
https://github.com/mrdoob/three.js/blob/master/examples/js/loaders/OBJLoader.js
by the way, I don't think there needs to be any build steps / gulp etc in this project. You can just point the entry file to the source code. This file is really all that's needed: https://github.com/DelvarWorld/three-object-loader/blob/update/source/index.js