PDA

View Full Version : Excuse me, tool.



Napalm
May 26th, 2009, 04:15 PM
Ok well heres my problem. When I put my bitmap through tool, tool makes up some random shit says that it's not a power of 2 dimensions.

### scop.tif
skipping bitmap with non-power-of-two dimensions (#806x#940#1)
Oh wait, I failed to mention the fact that the dimensions are powers of 2. 1024x1024. And yes, there is an alpha channel, if that has anything to do with it.
Link (http://files.filefront.com/ehpiclulsrar/;13810840;/fileinfo.html)
I have my reasons why I uploaded it as a rawr.

FireScythe
May 26th, 2009, 04:35 PM
It's because you've use pure blue around the edge of the image. Tool uses blue to figure out where to break up an image that has multiple seperate images inside of it. So for your image its cropping out much of the blue on the outside and then its trying to compile whats left, which is where its getting those size values from.

Put simply, dont use blue :).

Napalm
May 26th, 2009, 05:02 PM
Ah, thanks.

Donut
May 26th, 2009, 06:20 PM
the blue border is for compiling sprites, not textures. the scope bitmap would be a sprite, so the bitmap should be set to sprite instead of 2d texture. that will stop the power of 2 checking

an issue though is that i dont think tool accepts sprites greater than like 512x512. i tried to put a 640x480 sprite through tool and it bitched at me

Sabre
May 26th, 2009, 06:30 PM
the blue border is for compiling sprites, not textures. the scope bitmap would be a sprite, so the bitmap should be set to sprite instead of 2d texture. that will stop the power of 2 checking

an issue though is that i dont think tool accepts sprites greater than like 512x512. i tried to put a 640x480 sprite through tool and it bitched at me


It accepts these powers:

32, 64, 128, 256, 512, 1024, and 2048.
I know these by heart because I've had so much trouble with it.

Napalm
May 26th, 2009, 07:32 PM
the blue border is for compiling sprites, not textures. the scope bitmap would be a sprite, so the bitmap should be set to sprite instead of 2d texture. that will stop the power of 2 checking

an issue though is that i dont think tool accepts sprites greater than like 512x512. i tried to put a 640x480 sprite through tool and it bitched at me
Hmm, in AHS sonics tutorial he said that the scope wouldn't be a sprite :/

where did he go anyway...