FBX2glTF

A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.

OTHER License

Stars
338
Committers
38

Bot releases are hidden (Show)

FBX2glTF - v0.13.1 Latest Release

Published by akien-mga over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/godotengine/FBX2glTF/compare/v0.13.0...v0.13.1

FBX2glTF -

Published by fire over 3 years ago

For Silent

FBX2glTF -

Published by fire over 3 years ago

FBX2glTF - Interm Release FBX2glTF v2021-06-07T06_5500_00

Published by fire over 3 years ago

There are binaries for Windows, Linux and MacOS.

CICD builds are on this repo. Optimizations for FBX animations were removed to attempt to fix a bug.

FBX2glTF supports FBX 2020.

FBX2glTF - Interm release FBX2glTF v2019-12-25T15_23-08_00

Published by fire almost 5 years ago

[Updated 2020-01-30 to add user properties]
[Updated 2020-01-29 to add game engine requirement of 30 fps]
[Updated 2020-01-09 to add bake 30 requirement]

This is an interm fbx2gltf release.

Change skinning-weights to 8 if your engine supports that feature.

Change the default import of the engine to be 30 fps at minimum not 15 fps.

For Linux

Use ./FBX2glTF-linux-64 --pbr-metallic-roughness --skinning-weights 4 --anim-framerate bake30 --user-properties example.fbx.

For Windows

Use FBX2glTF-windows-64.exe --pbr-metallic-roughness --skinning-weights 4 --anim-framerate bake30 --user-properties example.fbx.

You may need to install the MVSC redistributable. https://support.microsoft.com/en-ca/help/2977003/the-latest-supported-visual-c-downloads

For Mac

Use ./FBX2glTF-macosx --pbr-metallic-roughness --skinning-weights 4 --anim-framerate bake30 --user-properties example.fbx.

Build Instructions

# Determine SDK location & build settings for Linux vs (Recent) Mac OS X
> if [[ "$OSTYPE" == "darwin" ]]; then
    export CONAN_CONFIG="-s compiler=apple-clang -s compiler.version=11.0 -s compiler.libcxx=libc++"
    export FBXSDK_TARBALL="https://github.com/zellski/FBXSDK-Darwin/archive/2019.2.tar.gz"
else
    export CONAN_CONFIG="-s compiler.libcxx=libstdc++11"
    export FBXSDK_TARBALL="https://github.com/zellski/FBXSDK-Linux/archive/2019.2.tar.gz"
  fi

# Fetch Project
> GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/revolufire/FBX2glTF.git -b revolufire
> cd FBX2glTF

# Fetch and unpack FBX SDK
> curl -sL "${FBXSDK_TARBALL}" | tar xz --strip-components=1 --wildcards */sdk
# Fetch and unpack FBX SDK on Mac OS X
> curl -sL "${FBXSDK_TARBALL}" | tar xz --strip-components=1 
# Then decompress the contents
> zstd -d -r --rm sdk

# Install and configure Conan, if needed
> pip3 install conan --user # or sometimes just "pip"; you may need to install Python/PIP
> conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan

# Initialize & run build
> conan install . -i build -s build_type=Release ${CONAN_CONFIG} --build fmt --build boost_system --build boost_filesystem --build libiconv
> conan build . -bf build
FBX2glTF - Interm release FBX2glTF v2019-12-25T07_11-08_00

Published by fire almost 5 years ago

DO NOT USE. SKINNING IS BROKEN.

This is an interm fbx2gltf release.

Change skinning-weights to 8 if your engine supports that feature.

For Linux

Use ./FBX2glTF-linux-64 -b --pbr-metallic-roughness --skinning-weights 4 example.fbx.

For Windows

Use FBX2glTF-windows-64.exe -b --pbr-metallic-roughness --skinning-weights 4 example.fbx.

You may need to install the MVSC redistributable. https://support.microsoft.com/en-ca/help/2977003/the-latest-supported-visual-c-downloads

For Mac

Use ./FBX2glTF-macosx -b --pbr-metallic-roughness --skinning-weights 4 example.fbx.

Build Instructions

# Determine SDK location & build settings for Linux vs (Recent) Mac OS X
> if [[ "$OSTYPE" == "darwin" ]]; then
    export CONAN_CONFIG="-s compiler=apple-clang -s compiler.version=11.0 -s compiler.libcxx=libc++"
    export FBXSDK_TARBALL="https://github.com/zellski/FBXSDK-Darwin/archive/2019.2.tar.gz"
else
    export CONAN_CONFIG="-s compiler.libcxx=libstdc++11"
    export FBXSDK_TARBALL="https://github.com/zellski/FBXSDK-Linux/archive/2019.2.tar.gz"
  fi

# Fetch Project
> GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/revolufire/FBX2glTF.git -b revolufire
> cd FBX2glTF

# Fetch and unpack FBX SDK
> curl -sL "${FBXSDK_TARBALL}" | tar xz --strip-components=1 --wildcards */sdk
# Fetch and unpack FBX SDK on Mac OS X
> curl -sL "${FBXSDK_TARBALL}" | tar xz --strip-components=1 
# Then decompress the contents
> zstd -d -r --rm sdk

# Install and configure Conan, if needed
> pip3 install conan --user # or sometimes just "pip"; you may need to install Python/PIP
> conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan

# Initialize & run build
> conan install . -i build -s build_type=Release ${CONAN_CONFIG} --build fmt --build boost_system --build boost_filesystem --build libiconv
> conan build . -bf build