gltf - the khronos group inc · 2014. 4. 8. · © copyright khronos group 2013 | page thank you -...

Post on 13-Aug-2021

2 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

© Copyright Khronos Group 2013 | Page

glTF

Fabrice Robinet

COLLADA Working Group Chair.

Patrick Cozzi

Analytical Graphics Inc, and University of

Pennsylvania.

graphics library Transmission Format https://github.com/KhronosGroup/glTF

© Copyright Khronos Group 2013 | Page

Overview

•status

•motivations

•design principles

•glTF pipeline

•scope

•early support and adoption

•demos

© Copyright Khronos Group 2013 | Page

Status

•COLLADA Working group initiative.

•Work in progress - Not a ratified specification yet.

•Community feedback welcomed on GitHub.

© Copyright Khronos Group 2013 | Page

Motivations

•Bridge the gap between 3D formats and GL based APIs.

•Reduce duplicated effort in content pipeline.

•A common format for contents providers.

© Copyright Khronos Group 2013 | Page

Design principles

•Streamline rendering: size, speed and ease of implementation

•Offload processing from runtime.

•Maps well to GL APIs and Typed Arrays.

© Copyright Khronos Group 2013 | Page

Delivery Author Interchange

glTF Pipeline - overview

API

Maya

Blender

..

COLLADA glTF

OpenGL/ES

WebGL

OpenGL

COLLADA2GLTF

Converter

© Copyright Khronos Group 2013 | Page

glTF Pipeline - overview

OpenCOLLADA Compression

COLLADA2GLTF C++ Library

Rapidjson

COLLADA2GLTF command line tool

Rest3D transactions & access to 3D assets

COLLADA2GLTF Delivery Author Interchange API

Maya

Blender

..

COLLADA glTF

OpenGL/ES

WebGL

OpenGL

Converter

© Copyright Khronos Group 2013 | Page

glTF Pipeline - COLLADA2GLTF

• Triangulate

• Unify indices

• Split meshes

• Generate shaders

• Axis up conversion

• Minify shaders

• Flatten hierarchy & combine meshes

• Convert images

• Compress meshes

• Interleave vertices

• ... Suggestions welcomed !

Mandatory transformations

Planned optimizations & transformations

© Copyright Khronos Group 2013 | Page

Scope

•1.0

- node hierarchy with geometry, materials/lights (shaders), and

cameras

- Key-frame animations

- Skinning

•Mesh compression discussions engaged with partners.

•Target feature complete draft for late summer 2013.

•Community feedback welcomed on GitHub !

© Copyright Khronos Group 2013 | Page

Early support and adoption

•Montage.js: http://montagejs.org & https://github.com/montagejs/

Implementation and JS API on-going.

•Cesium: https://github.com/AnalyticalGraphicsInc/cesium

•Sample Three.js loader in glTF repo:

https://github.com/KhronosGroup/glTF

© Copyright Khronos Group 2013 | Page

Thank you - See you on GitHub !

Specification : https://github.com/KhronosGroup/glTF/blob/master/specification/README.md

Converter: https://github.com/KhronosGroup/glTF/wiki/converter

top related