Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active March 16, 2022 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/097547cde5783f83d78a159e802fd535 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/097547cde5783f83d78a159e802fd535 to your computer and use it in GitHub Desktop.
Convert OBJ to USDZ Programmatically in Java
// Load the inout OBJ file using the Scene class
Scene scene = new Scene("template.obj");
// Initialize UsdSaveOptions class object
UsdSaveOptions options = new UsdSaveOptions(FileFormat.USDZ);
// Save output USDZ file
scene.save("test.usdz", options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment