GithubHelp home page GithubHelp logo

schedul-xor / fbx-conv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libgdx/fbx-conv

0.0 2.0 0.0 24.56 MB

Command line utility using the FBX SDK to convert FBX/Collada/Obj files to a custom text/binary format for static, keyframed and skinned meshes.

License: Apache License 2.0

Shell 0.08% Batchfile 0.04% C 60.69% Objective-C 2.59% C++ 35.82% Lua 0.77%

fbx-conv's Introduction

fbx-conv

Build Status

Command line utility using the FBX SDK to convert FBX/Collada/Obj files to more runtime friendly formats. The FBX content is parsed into an in-memory datastructure. Pluggable writers then take this datastructure to generate the output. Send us a pull request if you want the writer for your engine/framework/app to be integrated. We'll build the converter for Windows, Linux and Mac.

The FBX parser is largely based on GamePlay SDK's encoder. We'll try to back-port any bug fixes or improvements.

Hangout notes https://docs.google.com/document/d/1nz-RexbymNtA4pW1B5tXays0tjByBvO8BJSKrWeU69g/edit#

Command-line Usage

  • Windows - fbx-conv-win32.exe [options] <input> [<output>]
  • Linux - fbx-conv-lin64 [options] <input> [<output>]
  • Mac - fbx-conv-mac [options] <input> [<output>]

###Options/flags

  • -? -Display help information.
  • -o <type> -Set the type of the output file to
  • -f -Flip the V texture coordinates.
  • -p -Pack vertex colors to one float.
  • -m <size> -The maximum amount of vertices or indices a mesh may contain (default: 32k)
  • -b <size> -The maximum amount of bones a nodepart can contain (default: 12)
  • -w <size> -The maximum amount of bone weights per vertex (default: 4)
  • -v -Verbose: print additional progress information

###Example fbx-conv-win32.exe -f -v myModel.fbx convertedModel.g3db

Precompiled Binaries

You can download the precompiled binaries from http://libgdx.badlogicgames.com/fbx-conv

The binaries are recompiled on any changes in the Git repository, via our trusty Jenkins instance, see http://libgdx.badlogicgames.com:8080/

On Windows you'll need to install VC 2010 Redistributable Package http://www.microsoft.com/en-us/download/confirmation.aspx?id=5555

On Linux and Mac, we have to link to the dynamic libraries of the FBX SDK (libfbxsdk.so and libfbxsdk.dylib). We recommend copying libfbxsdk.so to /usr/lib on Linux. Otherwise you can use LD_LIBRARY_PATH and set it to the directory you put the .so file.

There's also a Qt GUI wrapper and Java GUI around it.

Building

You'll need premake and an installation of the FBX SDK 2014. Once installed/downloaded, set the FBX_SDK_ROOT to the directory where you installed the FBX SDK. Then run one of the generate_XXX scripts. These will generate a Visual Studio/XCode project, or a Makefile.

fbx-conv's People

Contributors

akalisingh avatar alex55i avatar badlogic avatar gered avatar jwisniewski avatar maximtwo avatar paulados avatar schedul-xor avatar stbachmann avatar tom-ski avatar traviswimer avatar xoppa avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.