Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some USDZ models can't be loaded #6

Open
Alyona2209 opened this issue Sep 12, 2022 · 9 comments
Open

Some USDZ models can't be loaded #6

Alyona2209 opened this issue Sep 12, 2022 · 9 comments

Comments

@Alyona2209
Copy link

For some reason, some USDZ models are not been loaded in the viewer (but they are loaded on iOS). Without special errors, the scene just remains clean:
Screenshot 2022-09-12 at 11 10 03
usdz (1).zip
Please, check

@GregOriol
Copy link

Same here with some usdz files:

[Warning] Coding Error: in Usd_GetAPISchemaPluginApplyToInfoForType at line 1527 of /home/schroek/src/USD_schroek/pxr/usd/usd/schemaRegistry.cpp -- Failed to find plugin for schema type 'UsdVolOpenVDBAsset' (emHdBindings.js, line 2970)
[Warning] Coding Error: in Usd_GetAPISchemaPluginApplyToInfoForType at line 1527 of /home/schroek/src/USD_schroek/pxr/usd/usd/schemaRegistry.cpp -- Failed to find plugin for schema type 'UsdVolVolume' (emHdBindings.js, line 2970)
[Warning] Coding Error: in Usd_GetAPISchemaPluginApplyToInfoForType at line 1527 of /home/schroek/src/USD_schroek/pxr/usd/usd/schemaRegistry.cpp -- Failed to find plugin for schema type 'UsdVolField3DAsset' (emHdBindings.js, line 2970)
[Warning] Coding Error: in _GetSchemaKindFromPlugin at line 273 of /home/schroek/src/USD_schroek/pxr/usd/usd/schemaRegistry.cpp -- Failed to find plugin for schema type 'UsdVolOpenVDBAsset' (emHdBindings.js, line 2970)
[Warning] Coding Error: in _GetSchemaKindFromPlugin at line 273 of /home/schroek/src/USD_schroek/pxr/usd/usd/schemaRegistry.cpp -- Failed to find plugin for schema type 'UsdVolVolume' (emHdBindings.js, line 2970)
[Warning] Coding Error: in _GetSchemaKindFromPlugin at line 273 of /home/schroek/src/USD_schroek/pxr/usd/usd/schemaRegistry.cpp -- Failed to find plugin for schema type 'UsdVolField3DAsset' (emHdBindings.js, line 2970)

@LucaFilitz
Copy link

I think this is connected to animations.
See here: #11

@GregOriol
Copy link

It's most likely on the wasm side of things, but not sure when/how it could be supporting what is missing

@meshula
Copy link

meshula commented Aug 10, 2023

It seems like the wasm side is not compiled with openvdb support. Maybe your files have simulation data in them?

@GregOriol
Copy link

@meshula No idea! What about the file provided by @Alyona2209 in the issue?

@meshula
Copy link

meshula commented Aug 12, 2023

Yeah, my apologies, I just checked the contents of the file. The file is well formed, and the balloon is animated in various programs that I checked. I just opened the file in usdedit and searched through it, there's nothing in the file related to the warnings reported coming from emHdBindings.js. I misunderstood that you thought they were related to the problem when you meant that you see the same warnings.

@GregOriol
Copy link

GregOriol commented Aug 12, 2023

@meshula I'm seeing the errors in the console as I pasted above, which seems to be the same errors as @Alyona2209 saw in the screenshot and with the file attached in the first message of the issue.

Could you maybe also check the files pointed on there #11 :

The files that don't work on my side seem to have animations too. Maybe toy_drummer_idle.usdz is a good way to investigate?

@meshula
Copy link

meshula commented Aug 12, 2023

Those files work in Quicklook and other places. The problem must be with three-usdz-loader itself.

@ponahoum
Copy link
Owner

@meshula @GregOriol @Alyona2209 thanks for the report. The issues you are encountering with those files are very likely to be within the wasm side of things indeed. As mentioned in the readme, this library is just a wrapper around autodesk wasm adaptation of usd. It could be some missing extensions during compilation, or something else. I don’t have much time right now to investigate, but I would encourage you to compile autodesk usd repository yourself, and see if compiling with those extra extensions fixes your issues.

I plan to investigate about all of those issues as soon as I have time, thanks for your understanding !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants