sfillib
sfillib copied to clipboard
Larger Images Load Corrupted
Using this library, I tried loading images that were 792 x 1152 pixels in dimension. However, when I compiled and ran my program on my 3DS, the images came out distorted. However, when I resized said images to 75% the original dimensions (594 x 864 pixels) and ran my program on my 3DS, the images would load fine.
Is there any fix for this? Is it an issue with sf2dlib / sfillib, or could it just my code? Can it be attributed to the image libraries or citro3d? And if this is indeed an issue, could this be fixed in a later release?
I think the problem is that the 3DS's GPU can't handle textures bigger than 1024 pixels on either sides.
So, a GPU problem? Alright. Thanks for replying, looks like I'll have to find a way around it.
Split the large image into a few smaller ones
How would one go about splitting an image? Would you have to split the sf2d_texture, or the image itself while loading? There don't seem to be any pre-defined methods for this.
You have to split/divide the image manually, using an image editor/tool. Then load all the parts separately, each one into a sf2d_texture.
Ah, I see. Thanks for the quick reply.