Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building a 3D Game with LibGDX

You're reading from  Building a 3D Game with LibGDX

Product type Book
Published in Aug 2016
Publisher Packt
ISBN-13 9781785288418
Pages 234 pages
Edition 1st Edition
Languages

Models usable and ready to deploy with LibGDX


We can import models in a few types of file such as Wavefront (OBJ), as we explained in the Exporting section of Chapter 4, Preparing Visuals, which is a basic kind of file type that may or may not contain everything we need for the final deployment. Furthermore, OBJLoader class may not contain everything you'd want for a model loader either.

We want either FBX or OBJ, and we want to convert them to one of the two types that LibGDX handles best: G3DB and G3DJ.

For this, LibGDX provides a converter made by (Alias) Xoppa, called Fbx-Conv.

Downloading Fbx-Conv

Go to https://libgdx.badlogicgames.com/tools.html and download Fbx-Conv from the Download hyperlink at the bottom of the app's box.

It will be a ZIP file, decompressed into a new and clean folder and easy to reach over the command line.

Command-line usage

You can take a look at it in the following repository, https://github.com/libgdx/fbx-conv:

Windows - fbx-conv-win32.exe [options] <input>...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}