-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Exporting | ||
|
||
There is a bug in the GLTF exporter for blender. Therefore, to export the models, you first have to export the FBX, and then use another utility to convert the FBX file to GLTF. | ||
|
||
## 1. Export to FBX | ||
|
||
Export FBX.. | ||
|
||
Main > Apply Scale: "FBX ALL" | ||
Armature > "DESELECT" Add Leaf Bones | ||
|
||
## 2. Convert FBX to GLTF | ||
|
||
https://github.com/facebookincubator/FBX2glTF/releases | ||
|
||
./FBX2glTF-darwin-x64 -b -d --pbr-metallic-roughness -i shot-generator-models/characters/base/male-adult/male-adult.fbx -o shot-generator-models/characters/base/male-adult/adult-male | ||
./FBX2glTF-darwin-x64 -b -d --pbr-metallic-roughness -i shot-generator-models/characters/base/male-youth/male-youth.fbx -o shot-generator-models/characters/base/male-youth/youth-male | ||
./FBX2glTF-darwin-x64 -b -d --pbr-metallic-roughness -i shot-generator-models/characters/base/female-adult/female-adult.fbx -o shot-generator-models/characters/base/female-adult/adult-female | ||
./FBX2glTF-darwin-x64 -b -d --pbr-metallic-roughness -i shot-generator-models/characters/base/female-youth/female-youth.fbx -o shot-generator-models/characters/base/female-youth/youth-female |