FBX to/from glTF - Khronos Group

[Pages:11]FBX to/from glTF

Cyrille Fauvel

Sr. Program Manager ? ADN / Forge

? 2016 Autodesk | Enterprise Information Services

Beyond graphics APIs, we need a runtime 3D Model Format

2

? 2016 Autodesk | Enterprise Information Services

2

What's in a 3D model?

Node hierarchy and geometry

Animations and skins

Materials and textures

? 2016 Autodesk | Enterprise Information Services

3

glTF Internals

1

skin animation

? 2016 Autodesk | Enterprise Information Services

scene

*

*

node

1

camera

*

mesh

* *

accessor

*

1

bufferView

1

buffer

4

1

light

*

material

1

technique

1

program

2

shader

*

texture

1

image

1

sampler

glTF Internals

.json

Node hierarchy, materials, lights, cameras

.bin .bin

? Geometry: vertices and ? indGiecoems etry: vertices and

? Aniinmdaicteiosn: key-frames ? ? SkAinnsi:miantvieorns:ek-beiyn-dfrmamatersices

? Skins: inverse-bind matrices

.glsl .glsl

Shaders Shaders

.png, ..pjpngg,, ....jpg,

...

Textures Textures

5

? 2016 Autodesk | Enterprise Information Services

5

glTF viewers

three.js Loader



It's the native format!

Babylon.js Loader



Autodesk View & Data



PIPELINE TOOLS

collada2gltf converter



Online drag and drop COLLADA to glTF converter



FBX/... to glTF Convertor

(in development) Online Drag and drop convertor coming



? 2016 Autodesk | Enterprise Information Services

6

More than just FBX

.fbx .dae .obj .???

? 2016 Autodesk | Enterprise Information Services

7

I/O FBX plug-in DLL

2 components

Command line tool

-f/--file - file to convert to glTF [string] -o/--output - path of output directory [string] -n/--name - override the scene name [string] -c/--copy - copy all media to the target directory (cannot be combined with --embed) -e/--embed - embed all resources as Data URIs (cannot be combined with --copy)

I/O FBX runtime extension

Supported on the 3 main platforms

Windows, osx, linux Actually can work on iOS too, but...

? 2016 Autodesk | Enterprise Information Services

8

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download