Can't output a texture on windows 10
Closed this issue · 5 comments
fire commented
.\betsy.exe .\50496585556_94b95fd9d4_o.jpg --codec=etc2_rgba "put.ktx"
Initializing API
GL Context creation suceeded.
Could not save to 'α♦p♣ú☻' Check write access and whether the disk is full
Shutting down
Can't output a texture on windows 10.
https://www.flickr.com/photos/studebakerbirds/50496585556/in/explore-2020-10-17/
darksylinc commented
Interesting. There seems to be some memory corruption going on.
It seems the cause is that the picture's resolution is not a multiple of 4 (a known limitation of ETC2).
Betsy should internally upscale the image from 3802x2517 to 3804x2520
darksylinc commented
It seems it was two bugs in one:
- Resolutions with non-multiple of 4 were broken.
- On Windows the command line parser was broken.
I'll be uploading a new binary release today
darksylinc commented
Thanks for the report!
fire commented
darksylinc commented
Unfortunately I don't. Most viewers out there (all the ones I tried) are horribly working and only support a small subset of formats.
I gave up on that and debugged the output on RenderDoc (add '--renderdoc' to command line)