luc_pop

11-27-2001, 04:00 AM

I have look at some tutorials and all says that a size of the bitmap should be

bitmap.width = 2n + 2;

bitmap.heigth = 2m + 2;

n,m integers

But in my applications the textures are only displayed when the width and the heigth is a multiple of 2:

bitmap.width = 2^n;

bitmap.heigth = 2^m;

n,m integers

Why is it like that?

Thank you

bitmap.width = 2n + 2;

bitmap.heigth = 2m + 2;

n,m integers

But in my applications the textures are only displayed when the width and the heigth is a multiple of 2:

bitmap.width = 2^n;

bitmap.heigth = 2^m;

n,m integers

Why is it like that?

Thank you