Posts

Showing posts from June, 2013

ThreeJS: Research

Image
Convert to Json
https://github.com/mrdoob/three.js/tree/master/utils/converters/fbx

Download the FBX python binding from here: http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775847
Install Python 2.6 after
Install FBX Python binding

In command line:
convert_to_threejs.py srcfile  destfile [option]

I recommend use [option] = -x, while you fail because of the textures from model, else pass the [option]
Debug Node.js
Use node-inspector, https://github.com/dannycoates/node-inspector
Install:
npm install -g node-inspectorDebug:
node --debug server.js node-inspector open http://127.0.0.1:8080/debug?port=5858 in your favorite WebKit based browserNode.js