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

[TODO] [Tydra] Support custom texture loader callback #143

Open
syoyo opened this issue Apr 10, 2024 · 1 comment
Open

[TODO] [Tydra] Support custom texture loader callback #143

syoyo opened this issue Apr 10, 2024 · 1 comment
Labels
enhancement New feature or request todo TODO

Comments

@syoyo
Copy link
Collaborator

syoyo commented Apr 10, 2024

Currently, TinyUSDZ only supports loading texture asset with known fie format.

https://github.com/syoyo/tinyusdz/blob/caa6d877ff5448a3b1ca48497e0a07f374b5098c/src/tydra/render-data.cc#L2599

But we'd like to allow texture loader callback interface to load texture with unknown format.

@syoyo syoyo added enhancement New feature or request todo TODO labels Apr 10, 2024
@syoyo
Copy link
Collaborator Author

syoyo commented Apr 12, 2024

Oh Callback interface was already defined here:
https://github.com/syoyo/tinyusdz/blob/ea113063ab06cddcf7597a09f9203b4ef1284d60/src/image-loader.hh#L31

So we can use it in Tydra's TextureLoader(T.B.D.)

@syoyo syoyo mentioned this issue Apr 13, 2024
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo TODO
Projects
None yet
Development

No branches or pull requests

1 participant