Textures not showing up in three.js ObjectLoader -
having issue using json model w/ textures exported clara.io.
for familiar clara.io, i'm using file -> export -> threejs (json) export , including files in threejs project using objectloader example in the clara.io docs:
var loader = new three.objectloader(); loader.load("zebra.json",function ( obj ) { scene.add( obj ); });
the mesh geometry loading fine, no texture.
console throwing error(s): 'undefined texture null', yet texture files referenced in json file.
using threejs r74.
how can load texture in three.js? .json file references multiple textures.
i've reviewed #28723121 solution thread unclear , i'd keep in-step w/ r74.
any advice appreciated.
got example code working different model/texture combo not exported clara.io.
not 'the' answer looking solution now. doesn't appear threejs issue.
Comments
Post a Comment