Home › Forums › Bug Reports and Feature Requests › KTX texture support?
Tagged: compression, ktx
- This topic has 9 replies, 5 voices, and was last updated 2 years, 5 months ago by Alexander Kovelenov.
-
AuthorPosts
-
2021-04-23 at 7:28 am #40446precismoCustomer
Hi Verge!
We and our customers are commited to keeping 3D models as little as possible so that bandwith is used efficiently and loading times are kept to minimum. There seems to be new, efficient KTX format now: https://www.khronos.org/ktx/
It seems to be already implemented in three.js:
https://threejs.org/examples/webgl_loader_texture_ktx.htmlMay I ask when if/when this will be supported in Verge3D? It seems to be very practical feature for everyone.
thanks a lot in advance!
Petr from Precismo
2021-04-23 at 10:44 am #40455Alexander KovelenovStaff2021-04-29 at 11:02 am #40580precismoCustomerThank you very much Alexander!
2022-01-17 at 12:23 pm #48685webCustomerPushing that topic.
I’ve seen that KTX is listed as supported on that page:
https://www.soft8soft.com/docs/manual/en/introduction/Features.htmlBut it seems that you have to manually add the modules. Just using the
v3d.ImageLoader()
and loading “ktx2” files doesnt seem to work.2022-03-14 at 7:22 am #50234precismoCustomerThank you mr. web!
I do not have access to Verge source codes, meaning Im using uglified/minimised version of source code (but v3D object seems to be accesible Three.js implementation).
– Is it somehow possible to inject KTX loader to Verge on the fly?
– Is there any support for KTX export in Blender, ideally inside Verge plugin?thank you very much in advance,
Petr from Precismo
2022-03-15 at 6:45 am #50257Yuri KovelenovStaff2022-05-30 at 6:57 pm #52517nookiParticipantI tested the 4.0 preview export with enabled texture compression on the “Damaged Helmet” asset (https://sketchfab.com/theblueturtle_)
texture compression off: 3.84 mb
texture compression on: 15.1 mbQuestion: I’m not familiar with the ktx2 format yet, I’ve read that it can be loaded faster from the graphics card and requires less gpu memory. On the other hand, in this case the filesize is ~4 times the size of the uncompressed version. Is this the expected behavior?
Reading the examples it makes it look like the file size will also get smaller using this compression
https://www.khronos.org/assets/uploads/apis/2021-ktx-comparing-ktx-with-basis-universal-to-image-formats-sml_2.jpg2022-06-01 at 11:51 am #52564Alexander KovelenovStaff2022-06-02 at 11:16 am #52597nookiParticipantHi alexander,
thanks for your answer!
What’s the recommended workflow for this? Is there an option to switch to ETC1 when exporting the file? In Blender, there is only a checkbox “compress texture”.2022-06-20 at 7:18 am #53342Alexander KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.