I’m trying to convert a USD scene to a glTF/glb. I’ve successfully started the omni.services.assets.convert service, and can see the convert endpoint. I’ve done a default conversion with no options, but the resultant file was undisplayable as I got an error during conversion saying [Error] [omni.hydra] UsdToMdl: Resource asset path expected for parameter
I’m now trying to pass options with a ConversionRequestModel but cant get the syntax right (500 server error)
Here’s my POST body:
{
“import_path”: “omniverse://nucleusserver.co.uk/Library/Folder/USD_textured.usd”,
“output_path”: “C:/Profile/Desktop/USD_textured.gltf”,
“converter_settings”: {“ignore_materials”: “True”,
“ignore_animations”: “True”,
“ignore_camera”: “False”,
“ignore_light”: “False”,
“export_preview_surface”: “False”,
“use_meter_as_world_unit”: “False”,
“create_world_as_default_root_prim”: “True”,
“embed_textures”: “False”,
“convert_fbx_to_y_up”: “False”,
“convert_fbx_to_z_up”: “False”,
“merge_all_meshes”: “False”,
“use_double_precision_to_usd_transform_op”: “False”,
“ignore_pivots”: “False”}
}
I cant find any documentation to help and have tried reading source code, but dont seem to have the right code.
Thanks in advance,
Paul