I'm facing an issue with exporting from Maya to Three.js
Using Maya 2017 on a Mac and recently downloaded ThreeJS from the site. Initially, I had no problems with the .min version (seems to be Revision 57). I was utilizing
mesh = new THREE.Mesh(geometry, new THREE.MeshFaceMaterial(materials));
However, after learning this method had been deprecated, I switched to using
mesh = new THREE.Mesh(geometry, materials)
. Unfortunately, with Three.js it failed completely - no model rendered and no errors were generated. While it would render the stage in Three.js, nothing else appeared. Models generated outside the JSON loader would render as expected, but that didn't solve my issue. I needed the JSON to load and render.
I attempted to reinstall the Three export, but it seems the version has changed. Now, I can't get any results using either three.min.js or three.js to instantiate a model.
I've explored various solutions, including triangulating the models, but still get an empty stage with no errors. Even a simple triangulated cube model failed to render. I checked the examples on the ThreeJS site for the JSON loader, but they weren't very helpful either. Without diving into the JSONLoader parser to inspect the JSON, does anyone have any suggestions? I'm unsure where to find the correct format for the exported data.