PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
5.45k stars 1.13k forks source link

Is there a way to perform asset resolution? #3037

Closed MootoolsSoftware closed 1 month ago

MootoolsSoftware commented 1 month ago

We are using TinyUSD and we currently have difficulties with asset identifier.

tinyusdz::tydra::RenderSceneConverter converter; tinyusdz::tydra::RenderScene renderScene; ret = converter.ConvertToRenderScene(stage, &renderScene);

After calling ConvertToRenderScene, your lib returns textures/images containing only asset_identifier.

So the question is : how to get the full file path on disk or to get access to the unpack texture embed in the usdz file?

We have noticed that all asset_identifiers were starting by 0 (0/TheTexture.jpg).

Thanks for your help!

dgovil commented 1 month ago

Hi @MootoolsSoftware , Since you're using TinyUSDZ, I would recommend asking on that project instead https://github.com/syoyo/tinyusdz/issues The projects do not share the same API or maintainers so we'd be unable to help answer this here.