Skip to content

Commit

Permalink
Reducing tea_cup.glb size
Browse files Browse the repository at this point in the history
  • Loading branch information
gumyr committed Apr 9, 2024
1 parent 9eddb4f commit 4dfcb44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file modified docs/_static/tea_cup.glb
Binary file not shown.
8 changes: 8 additions & 0 deletions examples/tea_cup.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,11 @@

show(tea_cup, names=["tea cup"])
# [End]
tea_cup.part.color = Color(0xDFDCDA) # Porcelain
export_gltf(
tea_cup.part,
"tea_cup.glb",
binary=True,
linear_deflection=0.1,
angular_deflection=1,
)

0 comments on commit 4dfcb44

Please sign in to comment.