Pixel Not Perfect for Odd Sizes?
Blitz3D Forums/Blitz3D Beginners Area/Pixel Not Perfect for Odd Sizes?
| ||
Tried uses various 'Pixel Perfect' code snippets to make some 3d buttons and noticed that they only work with square images or images that are twice as wide as they are high. Once the width exceeds the height by more than double, the image blurs. Example image: Is this just a limitation of using a Pixel Perfect technique? (In the above pic, it's the 'Pixies' code from the archive that I'm using.) |
| ||
I think this is blitz, or dx. Any textures that aren't a power of two, will be scaled to the nearest power of two. This might have a bearing on some sizes you choose. |
| ||
Try this. Grats go to Tom - he wrote it but I can't find a link for it. Quicker just to upload. |
| ||
wow, Gfk, that's a nice DLL, thanks for the upload. (And thanks also to Tom for writting it.) Thanks for the confirmation Ross, it's what I expected it was doing. |
| ||
link is dead... |