i need write multiple objects json file can loaded using three.jsonloader. right call jsonloader like:
var loader = new three.jsonloader(); loader.load("box.json", modelloadedcallback);
and modelloadedcallback like:
function modelloadedcallback(geometry, materials) { var object = new three.mesh(geometry, new three.meshfacematerial(materials)); ... }
using method, able create , load json loads unique big geometry. need create scene every box different mesh. how can format json? meshes inside json boxes. can me? thanks
Comments
Post a Comment