USDZ convert to GLTF (1 or 2) creates corrupted GLTF files

I’m uploading a usdz file (attached) to the cloud via cURL. Then try to use either

'curl -v -d "" -X POST "https://api.aspose.cloud/v3.0/3d/saveas/newformat?name=framedpicture.usdz&newformat=gltf&newfilename=framedpicture.gltf&IsOverwrite=true" -H "accept: application/json" -H "authorization: Bearer TOKEN';

or the

'curl -v -d "" -X POST "https://api.aspose.cloud/v3.0/3d/saveas/newformat?name=framedpicture.usdz&newformat=gltf2&newfilename=framedpicture.gltf&IsOverwrite=true" -H "accept: application/json" -H "authorization: Bearer TOKEN';

both give corrupted GLTF files (but corrupted in different ways).

  • one says the JASON is invalid
  • one says the mime type of an image is invalid

What’s the best way to go about debugging this?

Thanks!

framedpicture.usdz.zip (546.3 KB)

@cburgdorfer

We have noticed the reported issue and logged a ticket THREEDCLOUD-75 for further investigation and rectification. We will keep you updated about the issue resolution progress within this forum thread.

@cburgdorfer

In reference to the above issue, you may convert the file using gltf2_binary as the newformat parameter value.