Convert FBX model to glb format

Here is one of the most recommended glTF conversion workflows.

Step 1: Export FBX using modeling software

1. maya users

Take Maya 2020 as an example, select the model you want to export, click File - Game Exporter , and set as follows

​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

 

Notice:

If the model has skeletal animation, check [Skin] and [Animation]

If the model has deformation animation, check [Fusion Shape] and [Animation]

2. 3ds max users

Take 3ds max 2020 as an example, select the model you want to export, click File - Export - Game Exporter, and set as follows

Notice:

If the model has skeletal animation, check [Skin] and [Animation]

If the model has deformation animation, check [Deformation] and [Animation]

For multiple animations, you can export like this:

Step 2: Convert FBX to glb using FBX2glTF

FBX2glTF plugin download

Baidu Cloud: Windows users (link: Baidu Netdisk, please enter the extraction code, extraction code: tycu), macOS users (link: Baidu Netdisk, please enter the extraction code, extraction code: hvdv)

Original download link: https://github.com/facebookincubator/FBX2glTF/releases

FBX2glTF uses

第一步:
cd到fbx2gltf插件目录(为了方便我们将下载的文件改名为fbx2gltf),我这里放在桌面上,路径为:c:\User\Wendell\Desktop
cd c:\User\Wendell\Desktop


第二步:
输入下面命令:
fbx2gltf -i <你的fbx路径> -o <输出的glb路径> -b
参考示例:fbx2gltf -i c:\User\Wendell\Desktop\test.fbx  -o c:\User\Wendell\Desktop\test.glb -b

This will output a model file named test.glb on the desktop 

Click the link to view the high-definition video: Convert FBX model to glb model using FBX2glTF_哔哩哔哩_bilibili

Convert FBX model to glb model using FBX2glTF

Guess you like

Origin blog.csdn.net/m0_58260598/article/details/118196891