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

Fail to load Texture map #22

Open
Ravenmelt opened this issue Sep 27, 2024 · 2 comments
Open

Fail to load Texture map #22

Ravenmelt opened this issue Sep 27, 2024 · 2 comments

Comments

@Ravenmelt
Copy link

errors list here:
QQ_1727412696952
there are 4 png in file, refers to textures. I used usd-viewer to preview the file, but it worked right, like this:
QQ_1727412928012
maybe the error is casued by wasm, how can i debug it?

@digitalw
Copy link

digitalw commented Oct 1, 2024

I am currently facing the same issue.
Have you had any luck fixing it?

@digitalw
Copy link

digitalw commented Oct 1, 2024

According to https://github.com/needle-tools/usd-viewer?tab=readme-ov-file they where able to fix this issue

Improvements over the original viewer:
files of the form somefile.usdz[./textures/myTexture.jpg] weren't resolved correctly

Maybe we could integrate the changes in their https://github.com/needle-tools/usd-viewer/blob/main/usd-wasm/src/hydra/ThreeJsRenderDelegate.js ?

See the getTexture function

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

2 participants