You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I was trying to convert gltf2usdz and stuck here any workaround for this or i"m missing something?
I have given the absolute path despite that this error.
this is was the command used to run the script.
python gltf2usd.py -g /Users/varunsaini/Desktop/usd-sdk/gltf2usd-master/Source/tests/assets/Start_Walking/Start_Walking.gltf -o /Users/varunsaini/Desktop/gltf2usdz/usdz/test.usdz
and the output after that
Warning: in SdfPath at line 97 of /Users/varunsaini/Desktop/fbx-sdk/USD-master/pxr/usd/sdf/path.cpp -- Ill-formed SdfPath </root/b'RootNode'_0>: syntax error
Traceback (most recent call last):
File "gltf2usd.py", line 925, in <module>
convert_to_usd(os.path.expanduser(args.gltf_file), os.path.abspath(os.path.expanduser(args.usd_file)), args.fps, args.scale, args.arkit, args.verbose, args.use_euler_rotation, args.optimize_textures, args.generate_texture_transform_texture, args.scale_texture)
File "gltf2usd.py", line 834, in convert_to_usd
usd = GLTF2USD(gltf_file=gltf_file, usd_file=temp_usd_file, fps=fps, scale=scale, verbose=verbose, use_euler_rotation=use_euler_rotation, optimize_textures=optimize_textures, generate_texture_transform_texture=generate_texture_transform_texture, scale_texture=scale_texture)
File "gltf2usd.py", line 76, in __init__
self.convert()
File "gltf2usd.py", line 803, in convert
self.convert_nodes_to_xform()
File "gltf2usd.py", line 92, in convert_nodes_to_xform
self._convert_node_to_xform(node, parent_transform)
File "gltf2usd.py", line 104, in _convert_node_to_xform
xformPrim = UsdGeom.Xform.Define(self.stage, '{0}/{1}'.format(usd_xform.GetPath(), GLTF2USDUtils.convert_to_usd_friendly_node_name(node.name)))
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_20__pxrReserved__::UsdStage::_IsValidPathForCreatingPrim' at line 3127 in file /Users/varunsaini/Desktop/fbx-sdk/USD-master/pxr/usd/usd/stage.cpp : 'Path must be an absolute path: <>'
The text was updated successfully, but these errors were encountered:
Hello, I was trying to convert gltf2usdz and stuck here any workaround for this or i"m missing something?
I have given the absolute path despite that this error.
this is was the command used to run the script.
python gltf2usd.py -g /Users/varunsaini/Desktop/usd-sdk/gltf2usd-master/Source/tests/assets/Start_Walking/Start_Walking.gltf -o /Users/varunsaini/Desktop/gltf2usdz/usdz/test.usdz
and the output after that
The text was updated successfully, but these errors were encountered: