three-object-loader
three-object-loader copied to clipboard
[DEPRECATED] NodeJS wrapper for Three.js' OBJLoader function
Hi , I get this weird warning when I try to load an object ``` three.module.js?8012:45254 THREE.MeshPhongMaterial: .shading has been removed. Use the boolean .flatShading instead. ``` Am I doing...
We'd love to use this without the THREEJS warnings fixed in #be2d28be... can you push out an update to npmjs?
In order to allow the package to be used from github directly (instead of only what's pushed to npmjs), add a /dist folder.
Hello, I want to load obj file from local file by FileReader API, such as https://jsfiddle.net/77x95e2s/
As can be seen from the commits I fixed two warning, one is about the new .flatShading flag, the other is about using array of materials instead of the Multimaterial...
Getting `export 'OBJLoader' (imported as 'THREE') was not found in 'three'` as a warning. Any clue about this?
You shouldn't modify the THREE object passed in. As in don't [do this](https://github.com/sohamkamani/three-object-loader/blob/master/source/index.js#L8): ``` THREE.OBJLoader = function... ``` A better pattern is to get a reference to THREE however you...
On [line 59](https://github.com/sohamkamani/three-object-loader/blob/0508e276ed0d0c99b8d1a2517e6f013cdd3f96bc/source/index.js#L59), you call `scope.parse` with a single argument: ```js loader.load(url, function (text) { onLoad(scope.parse(text)); }, onProgress, onError); ``` but then later: ```js function (text, debug) { if (typeof(debug)...
Your example fails in the context of vuejs in webpack using the vuejs-webpack-template. This may be because the most recent three package uses named exports i.e. normally uses `import {Camera...}...