POTter - the power of two tester
by Shaderman · 01/03/2009 (12:35 am) · 9 comments
Hi,
this is my first blog here at GG and most likely not the last one :)
I've written a Java applet to refresh my Java applet programming skills and want to share the result. This applet can be used to search directories on your computer for textures that are not power-of-two sized.
For me the state of that little project is "finished" and I don't plan to enhance or support it. Some more information can be found on the site:
http://shaderman.com/potter/
Screenshot:

Thaks to my wife for creating the web site around the applet :)
Stefan
this is my first blog here at GG and most likely not the last one :)
I've written a Java applet to refresh my Java applet programming skills and want to share the result. This applet can be used to search directories on your computer for textures that are not power-of-two sized.
For me the state of that little project is "finished" and I don't plan to enhance or support it. Some more information can be found on the site:
http://shaderman.com/potter/
Screenshot:

Thaks to my wife for creating the web site around the applet :)
Stefan
#2
I've just updated the applet (filenames can be copied to the clipboard now) and added a screenshot to the blog post.
01/03/2009 (10:53 am)
Thanks for your feedback Mike.I've just updated the applet (filenames can be copied to the clipboard now) and added a screenshot to the blog post.
#3
01/03/2009 (11:25 am)
Now this is one useful tool. 1 question tho.... 640 X 480 isn't power of 2?
#4
01/03/2009 (11:43 am)
Does it correct them?
#5
No, neither 640 nor 480 is power-of-two. You might want to check this list on Wikipedia.
@Donald
No, this software doesn't correct image sizes. The applet doesn't read the images as images (you'd need that to manipulate them), instead only the image headers are read to calculate the image size.
01/03/2009 (11:56 am)
@MikeNo, neither 640 nor 480 is power-of-two. You might want to check this list on Wikipedia.
@Donald
No, this software doesn't correct image sizes. The applet doesn't read the images as images (you'd need that to manipulate them), instead only the image headers are read to calculate the image size.
#6
@Mike, those aren't powers of 2, but it is a common display resolution.
01/03/2009 (2:44 pm)
Stefan, this is a really useful tool, nice.@Mike, those aren't powers of 2, but it is a common display resolution.
#7
But boy, do you have some funny sized image files in that list! For testing purposes I'm sure!
edit
"Power of 2" = 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 and with Torque you probably wouldn't want to go any bigger.
01/04/2009 (7:29 am)
That's a great little program!But boy, do you have some funny sized image files in that list! For testing purposes I'm sure!
edit
"Power of 2" = 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 and with Torque you probably wouldn't want to go any bigger.
#8
01/04/2009 (9:10 am)
Quote:But boy, do you have some funny sized image files in that list! For testing purposes I'm sure!They were screenshots I was testing. :D
#9
01/04/2009 (9:41 am)
Thanks Morrock and Steve, glad you like it. 
Torque Owner Mike Rowley
Mike Rowley
Thanks for sharing tho.