ThreeJS: Research

  • 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-inspector
    Debug:
    node --debug server.js
    node-inspector
    open http://127.0.0.1:8080/debug?port=5858 in your favorite 
    WebKit based browser
  • Node.js
    • Post
    • Get
  • Debug JavaScript
    NetBeans supports code complete, highlight error/warning immediately. If you want to debug on browsers, you can use NetBeans Connector, but it would slow your pipeline, due to NetBeans Connector has to wait Chrome connection and receives response data from Chrome, sometimes you would have chances without the NetBeans Connector response. Therefore, finally I change my mind and use Chrome developer tool help me debug...
 

Comments

Popular posts from this blog

Drawing textured cube with Vulkan on Android

glTF loader for Android Vulkan

C++ unit testing & CI integration in GitHub (I/2)