Archive 17/01/2023.

Supported texture formats

halcyonx

What kind of formats U3D supports? Can I load and show webp fromats or smth other as Sprite2D or as SpriterAnimation?

ppsychrite

According to http://urho3d.wikia.com/wiki/Texture
Urho3D Supports .dds, .png, .jpg, .gif, .tga and .bmp
Not sure about webp.

S.L.C

For reading, I’m pretty sure is whatever stb_image supports and dds. And for writing, whatever [stb_image_write] (https://github.com/nothings/stb/blob/master/stb_image_write.h) supports plus jpeg with the jo_jpeg libray.

halcyonx

Unfortunately, png format has large size, webp has best compression, I tried convert all pngs to webp in U3D sample SpriterAnimation, run sample, but hero did not appear in window