Skip to content

gamedev-js/node-fbx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This project is still work in progress.

Dependencies

Install

  1. Download and install the FBX SDK to vendor/fbx-sdk/
  2. run npm install

Usage

TODO

TODO

  • dump node hierarchy
  • dump mesh control-points
  • dump mesh polygons
  • dump mesh polygon sizes
  • dump mesh normals
  • dump mesh tangents and binormals
  • dump mesh uvs, uvs1, uvs2, ...
  • dump mesh colors
  • dump mesh blend shapes
  • dump animation clip
  • dump skin
  • convert blend-shapes to meshes
  • triangulate mesh polygons
  • split mesh data by normals, binormals, tangents, colors and uvs
  • divide mesh data to sub-meshes by material
  • calculate normals
  • calculate tangents from normals and uvs
  • compress binormals
  • support Windows (help wanted)
  • support Linux (help wanted)

Reference

Reference Source Code

Known Issues

  1. Link the libfbxsdk.dylib

The fbxsdk use @executable_path as install path in MacOSX. We need to replace it with @rpath otherwise our programme can not find the path to load the library. To do this, just run:

install_name_tool -id "@rpath/libfbxsdk.dylib" libfbxsdk.dylib

License

MIT © 2016 Johnny Wu

About

FBX loader for node.js via FBX-SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published