Skip to content

Commit

Permalink
Merge pull request flowtyone#31 from VAST-AI-Research/gyc/glb-export
Browse files Browse the repository at this point in the history
expose mc resolution; add glb export in gradio ui
# Conflicts:
#	gradio_app.py
#	run.py
  • Loading branch information
kostarion authored and phr00t committed Jun 6, 2024
1 parent a0c94ac commit 50f83a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tsr/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,5 @@ def save_video(

def to_gradio_3d_orientation(mesh):
mesh.apply_transform(trimesh.transformations.rotation_matrix(-np.pi/2, [1, 0, 0]))
mesh.apply_scale([1, 1, -1])
mesh.apply_transform(trimesh.transformations.rotation_matrix(np.pi/2, [0, 1, 0]))
return mesh

0 comments on commit 50f83a1

Please sign in to comment.