Hello,
I'm not sure it's a bug, but :
GX_GetTexBufferSize(512, 512, GX_TF_RGBA8, GX_TRUE, 4)
returns 1392640 which equals : (512x512 + 256x256 + 128x128 + 64x64) * 4
Isn't it supposed to add 32x32 too ? The first LOD is 0, and the max LOD is 4, so we should have 5 LODs, shouldn't we?
Thanks.
GX_GetTexBufferSize
Re: GX_GetTexBufferSize
Hello again,
I've tried to put a different pic in LOD 4 (32x32), and used GX_InitTexObjLOD to set max LOD 4.0.
It displayed my 32x32 pic.
So i'd say yes, it is a bug in GX_GetTexBufferSize, it should have summed 5 LOD from 512x512 to 32x32.
I've tried to put a different pic in LOD 4 (32x32), and used GX_InitTexObjLOD to set max LOD 4.0.
It displayed my 32x32 pic.
So i'd say yes, it is a bug in GX_GetTexBufferSize, it should have summed 5 LOD from 512x512 to 32x32.
Who is online
Users browsing this forum: No registered users and 2 guests