-
Notifications
You must be signed in to change notification settings - Fork 13
feat: KTX textures & conversion support #3875
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
Conversation
e7b5b74 to
8309a22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟢 Tested on both Windows and Mac.
The scene “Unity Café...” no contains any SVGs — it looks like they were already removed.
I was able to test the other scene located at 8,117, and everything looks good 👌
nonNFT.mp4
Also a smoke test was performed on other scenes with NFT to ensure that all images (including on the popup) display correctly.
- Genesis Plaza (NFT HALLWAY)
- Rapture Art Gallery
NFT.mp4
Regressions for this ticket had been performed in order to verify that the normal flow is working as expected:
- ✔️ Backpack and wearables in world
- ✔️ Emotes in world and in backpack
- ✔️ Teleport with map/coordinates/Jump In
- ✔️ Chat and multiplayer
- ✔️ Profile card

Pull Request Description
We now convert all remote textures to a GPU friendly format (KTX2), with our new dapps converter. Each texture that is requested directly from a remote URL is routed through the converter which will return a KTX texture instead of the original (png / jpg / gif / svg). If the requested image is an animation such as gif, the converter will produce an MP4 video (support for that will be in a separate PR). All conversions are cached on the server - first conversion might take a while but after that it's practically instantaneous.
What does this PR change?
GetTextureWebRequest, which handles all remote textures, will now route url's through our dapps converter.
closes #3273
clases #3200
Test Instructions
Ensure all NFT images (including on the popup) display correctly (minus gifs / videos), and that the server conversion doesn't lock up when there are many requests.
This is also a very good opportunity to use Charles and monitor requests to https://media-opticonverter.decentraland.org, you'll be able to quickly see if the requests are being processed properly.
Test Steps
Additional Testing Notes
Quality Checklist
Code Review Reference
Please review our Code Review Standards before submitting.