由 stantang » 20日 2月 2008年, 01:23
That has to do with how computer works. Computer works in binary, it stores things in bit which either 0 or 1, so that's two possibilities.
The maths would go on like this:
1 bit = 2
2 bits = 2x2 = 4
3 bits = 2x2x2 = 8
4 bits = 2x2x2x2 = 16
so on... you will end up having numbers like 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, etc...
The reason why we use binary number as the resolution for the texture is to prevent wasting memory when it renders. Yes, you can use any resolution for the textures but it wouldn't be efficient, therefore a slower render (although you may not notice).
dig deep, think deeper