天天看點

three.js學習筆記---blender導出gltf格式

Blender下載下傳位址:https://www.blender.org

Three.js r93 版本以後删除了 Blender json 格式的導出器-_-,官方推薦使用 glTF 格式。那就不要去糾結為什麼要删除json格式的導出器了,既然官方選擇了gltf,跟着官方的腳步大機率是沒毛病的。

======================================================================================

首先下載下傳gltf導出插件,下載下傳位址是:https://github.com/KhronosGroup/glTF-Blender-Exporter

解壓完以後,找到那個io_scene_gltf2檔案 (\glTF-Blender-Exporter-master\scripts\addons )把這個檔案粘貼到blender的addons檔案夾下面(\Blender\2.79\scripts\addons)

搞定以後打開blender

three.js學習筆記---blender導出gltf格式

搜gltf,然後勾上就完事了

檢查一下

three.js學習筆記---blender導出gltf格式

此導出器支援網格,材質,動畫(關鍵幀,蒙皮和形狀鍵)等。

three.js學習筆記---blender導出gltf格式

繼續閱讀