I've been struggling to export a model from Maya to the .js format compatible with three.js. The issue I'm encountering is that when I use the exporter available on the three.js GitHub, the resulting file includes 'Infinity' and '-Infinity' values, triggering an error message: "uncaught syntaxerror unexpected token I".
-edit- Just to clarify, these 'Infinity' values are all in my UVs.
I also attempted using the BlackTowerEntertainment version of the exporter, which eliminates the 'Infinity' values but generates an incomplete file missing material data.
Another approach I tried was through clara.io, which provides a visible model and material data, although there seems to be an issue with properly referencing textures in the materials.
Is there perhaps a tutorial available that explains how to successfully export a model from Maya to three.js?