alimer icon indicating copy to clipboard operation
alimer copied to clipboard

Imaging/Texture loading

Open amerkoleci opened this issue 2 years ago • 1 comments

  • [ ] StbImageSharp/WIC loading
  • [ ] DDS
  • [ ] ASTC
  • [ ] KTX1
  • [ ] KTX2
  • [ ] BASISU support

amerkoleci avatar Jun 08 '22 13:06 amerkoleci

I've got a small C++/CLR project here: https://github.com/roy-t/SuperCompressedDotNet where I've made a small wrapper around BasisU, definitely not production ready but it runs and has some tests. I've also verified the code actually works since it decodes a few textures in my game engine.

Could be useful for inspiration.

I think BasisU also has a C API for the transcoder, which might be more natural to use directly from C#. I haven't investigated that yet.

roy-t avatar Jun 09 '22 19:06 roy-t

Why didn't use ktx library and make sure you load basisu compressed textures? I recently switched to my C based GPU library https://github.com/amerkoleci/vgpu and will add texture loading there.

In my content pipeline I do plan to add basisu compression starting from png or other imahe formats.

amerkoleci avatar Jun 09 '22 19:06 amerkoleci