• Stars
    star
    442
  • Rank 98,677 (Top 2 %)
  • Language
    C
  • License
    Apache License 2.0
  • Created about 12 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

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 <type> : FBX, G3DJ (json) or G3DB (binary).
  • -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

These binaries are recompiled on any changes in the Git repository, via the travis build

On Windows you'll need to install VC 2015 Redistributable Package https://www.microsoft.com/en-us/download/details.aspx?id=48145

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 2019.0. 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.

On Linux and Mac, you can follow Travis build steps in order to build and run it.

More Repositories

1

libgdx

Desktop/Android/HTML5/iOS Java game development framework
Java
22,571
star
2

packr

Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X
C
2,524
star
3

gdx-ai

Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines
Java
1,152
star
4

ashley

A Java entity system inspired by Ash & Artemis.
Java
839
star
5

gdx-liftoff

A modern setup tool for libGDX Gradle projects
Kotlin
473
star
6

libgdx-demo-superjumper

Libgdx demo - super jumper
Java
260
star
7

box2dlights

Fork of box2dlights by Kalle Hamalainen
Java
251
star
8

gdx-pay

A libGDX cross-platform API for InApp purchasing.
Java
221
star
9

gdx-video

A libGDX cross platform video rendering extension
Java
139
star
10

libgdx-demo-cuboc

Libgdx demo - cuboc
Java
121
star
11

libgdx-demo-pax-britannica

Libgdx demo - pax britannica
Java
113
star
12

libgdx-demo-invaders

Libgdx demo - invaders
Java
70
star
13

libgdx-gradle-template

Gradle template for libgdx projects that hopefully works on the CLI, Eclipse, Netbeans and Intellij IDEA
Shell
69
star
14

gdx-controllers

A libGDX cross platform game controllers extension
Java
65
star
15

libgdx.github.io

Github hosted site for libGDX
HTML
62
star
16

gdx-jnigen

jnigen is a small library that can be used with or without libGDX which allows C/C++ code to be written inline with Java source code.
Java
59
star
17

libgdx-demo-vector-pinball

Libgdx demo - vector pinball
Java
58
star
18

gdx-realsense

RealSense support for libGDX
C++
53
star
19

libgdx-maven-archetype

Libgdx Maven archetype, largely based on the PlayN archetype
Java
50
star
20

gdx-particle-editor

The official particle editor for libGDX.
Java
39
star
21

libgdx-demo-metagun

Libgdx demo - metagun
Java
35
star
22

libgdx-skins

Community submitted Scene2D UI Skins
Java
29
star
23

libgdx-demo-very-angry-robots

Libgdx demo - very angry robots
Java
16
star
24

gdx-box2d

The libGDX Box2D Wrapper Extension
C++
13
star
25

libgdx-workshop

Java
12
star
26

libgdx-site

libgdx site
HTML
9
star
27

libgdx-old-setup-ui

Old, Eclipse-only setup UI. Not maintained, but available from libgdx.badlogicgames.com/downloads/gdx-setup-ui.jar
8
star
28

jlayer-gdx

Jlayer modified version for use by libgdx
Java
6
star
29

gdx-pay-example

Example app for gdx-pay
Java
5
star
30

gdx-angle-natives

GitHub workflows to build ANGLE desktop natives and publish them to Maven Central as a fat jar.
4
star
31

gdx-liftoff-demo

A sample project automatically-generated by gdx-liftoff
Java
1
star