Take the 2-minute tour ×

This issue pertains to: Three JS - r58

I'm trying to find a workflow that is successful for creating and rendering JSON files from models in the browser.

So far, I've used the Python tool doing that with OBJ files exported from 3DS MAX 2014 using the method described here:


I've also tried using the MAX script - Three JS exporter, making sure that I was using the same version of the exporter and Three JS described here:


I'm not sure if I'm missing something or if there is an issue with the build tools. The tools are working, the problem is that they are not rendering the object. I can't find any issues in the JSON format either. It looks correct.

Here is the link to the test site. This particular test is from the current Max script Three JS exporter:


This is the error I get in Chrome and Safari - "Deprecated file format (anonymous function) Line 686" :

THREE.JSONLoader.prototype.createModel=function(a,b,c){var d=new          
THREE.Geometry,e=void 0!==a.scale?1/a.scale:1;this.initMaterials(d,a.materials,c);         
(function(b){if(void 0===a.metadata||void          
file format.");else{var c,e,i,k,l,p,n,o,q,m,r,s,t,w,u=a.faces;p=a.vertices;var               

If I switch out the JS with the JSON in the loader function with an model from this current repo - r58, it will render. Not perfectly, there are some other parameters I would need to change, but it does render. I used the Stork.JS:


share|improve this question
You are linking to three.js r48dev, which is more than a year old. Also, test with the non-minified version, so you can make sense of the console errors. –  WestLangley Jun 17 '13 at 21:04
I'm linking to it to give an example of the issue, not to compare builds. –  Paul Jun 17 '13 at 22:12
The test is with the non minified. I've tried both. –  Paul Jun 17 '13 at 22:14
add comment


Your Answer



Browse other questions tagged or ask your own question.