blender gltf 2.0 exporter mastering the khronos · what is the blender gltf 2.0 exporter (and what...

22
Mastering the Khronos Blender glTF 2.0 Exporter

Upload: others

Post on 18-Apr-2020

30 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Mastering the Khronos Blender glTF 2.0 Exporter

Page 2: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Mastering the Khronos Blender glTF 2.0 Exporter

24. October 2017

Norbert NopperThomas Kress

Page 3: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Webinar

Content

● What is the Blender glTF 2.0 Exporter (and what not)?● Installing the glTF 2.0 exporter in Blender● Using the glTF 2.0 environment in Blender● Using the exported glTF 2.0 scene in different viewers and engines● Q & A

Page 4: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

What is the Blender glTF 2.0 Exporter (and what not)?

Features

● Feature set of Blender (and other DCC tools) is larger than glTF 2.0● What happens in the background during the export process?

○ Some features can be exported 1:1 e.g. images and animations.○ Some features have to be converted e.g. flat shaded mesh.○ Some features have to be constructed e.g. material linked as objects.○ Some features can not be exported e.g. specific modifiers.

● Two approaches, how to use the glTF 2.0 exporter○ Export existing scene and export as much material parameters as possible.○ Use glTF 2.0 node group for WYSIWYG.

Page 5: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Installing the glTF 2.0 exporter in Blender

Dependencies

● Latest version 2.79● Integrated in 2.80!

Page 6: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Installing the glTF 2.0 exporter in Blender

glTF 2.0 Files (Repository)

Page 7: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Installing the glTF 2.0 exporter in Blender

glTF 2.0 Files (Repository Download)

Needed Elements:

glTF Add-on● scripts

○ addons■ io_scene_gltf2

glTF Material● pbr-node

○ glTF2_Principled.blend

Page 8: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Installing the glTF 2.0 exporter in Blender

Export Add-on

GitHub repository:

https://github.com/KhronosGroup/glTF-Blender-Exporter

Page 9: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the glTF 2.0 environment in Blender

Export Menu

2 Options:

● glTF 2.0 (.gltf)○ Perfect for inspecting glTF structure

● glTF 2.0 (.glb)○ Perfect for deployment

Page 10: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the glTF 2.0 environment in Blender

PBR Workflows

Metallic-Roughness Specular-Glossiness

Page 11: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the glTF 2.0 environment in Blender

Link or Append glTF 2.0 Material Nodes

● Link○ For development

● Append○ For deployment

Page 12: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the glTF 2.0 environment in Blender

glTF 2.0 Material Nodes (based on Principled Shader)

Page 13: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the glTF 2.0 environment in Blender

PBR-Nodes

Metallic-RoughnessMaterial Node

Specular-GlossinessMaterial Node

glTF Shader Nodes:

Link or append material nodes from the Blender Exporter file (GitHub Repository)

Page 14: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the glTF 2.0 environment in Blender

glTF 2.0 PBR Textures (Metallic-Roughness Workflow)

BaseColor+Alpha(RGBA - 32 Bit) Normal

(RGB - 24 Bit)OcclusionRoughnessMetallic

R-channel

G-channel

B-channel

Page 15: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the exported glTF 2.0 scene in different viewers and engines

Blender Render

Page 16: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the exported glTF 2.0 scene in different viewers and engines

Export Dialog/Settings

Page 17: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the exported glTF 2.0 scene in different viewers and engines

Apps & Engine Supporting glTF 2.0

Page 18: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the exported glTF 2.0 scene in different viewers and engines

babylon.js

Page 19: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the exported glTF 2.0 scene in different viewers and engines

three.js

Page 20: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Using the exported glTF 2.0 scene in different viewers and engines

UX3D Engine

Page 21: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Installing the glTF 2.0 exporter in Blender

Files and Documents on GitHub

https://github.com/KhronosGroup/glTF-Blender-Exporter

https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/docs/user.md

Page 22: Blender glTF 2.0 Exporter Mastering the Khronos · What is the Blender glTF 2.0 Exporter (and what not)? Features Feature set of Blender (and other DCC tools) is larger than glTF

Q & A