Skip to content

Commit

Permalink
added glb files
Browse files Browse the repository at this point in the history
  • Loading branch information
setpixel committed Feb 12, 2019
1 parent 3131382 commit ef86348
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 0 deletions.
Binary file added characters/base/female-adult/adult-female.glb
Binary file not shown.
Binary file not shown.
Binary file modified characters/base/female-adult/female-adult.blend
Binary file not shown.
Binary file modified characters/base/female-adult/female-adult.fbx
Binary file not shown.
Binary file modified characters/base/female-youth/female-youth.blend
Binary file not shown.
Binary file modified characters/base/female-youth/female-youth.fbx
Binary file not shown.
Binary file added characters/base/female-youth/youth-female.glb
Binary file not shown.
Binary file added characters/base/male-adult/adult-male.glb
Binary file not shown.
Binary file modified characters/base/male-adult/male-adult.blend
Binary file not shown.
Binary file not shown.
Binary file added characters/base/male-youth/youth-male.glb
Binary file not shown.
19 changes: 19 additions & 0 deletions characters/base/readme.md
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

0 comments on commit ef86348

Please sign in to comment.