Skip to content

Commit

Permalink
Merge remote-tracking branch 'yliu/omniverse-tutorial' into omniverse…
Browse files Browse the repository at this point in the history
…-tutorial
  • Loading branch information
KumoLiu committed Dec 11, 2024
2 parents 938e5e4 + 2e2aa3a commit 7876fc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/omniverse/omniverse_integration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"\n",
"import vtk\n",
"import vtkmodules\n",
"\n",
"# from ipyvtklink.viewer import ViewInteractiveWidget\n",
"\n",
"from utility import convert_to_mesh, convert_mesh_to_usd\n",
Expand Down
4 changes: 2 additions & 2 deletions modules/omniverse/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ def convert_to_mesh(
writer.Write()

print(f"Mesh successfully exported to {output_filename}")

if len(label_values.keys()) > 1:
# Modify GLTF to include actor names
# Modify GLTF to include actor names
with open(output_filename, "r") as f:
gltf_data = json.load(f)

Expand Down

0 comments on commit 7876fc8

Please sign in to comment.