Recent Changes - Search:

CS559-2007

Resources

Staff Login

Main / P1-TestImagesAndScripts - CS559 2007

update (10/7 2:00 am) there are now three scripts up. check back tomorrow for more!
update (10/6 11:00 pm) there are now two scripts up. check back later for a few more!

a note on sample scripts: put all of the images in a folder called "testimages". i preferred to put my scripts in a folder called "testscripts", so i could run the program by typing in the command "PictureProcessor.exe testscripts/SCRIPTNAME.txt" in cmd.

images you may need to run our test scripts

a targa image with alpha transparency, font times size 9 http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/times9.tga

a targa image with alpha transparency, font verdana size 9 http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/verdana09.tga

a targa image of a chessboard. try to test your warping stuff on this one! http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/chessboard.tga

a targa image of a halo 3 screenshot. http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/halo3.tga

a targa image of a fuzzy square in the alpha channel. http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/alphafuzzyframe.tga

a targa image of three colors: full red, full green, and full blue. if you desaturate it, there should be three distinct shades of gray. http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/tricolor.tga

scripts

here is a sample script to test your 'copy', 'crop' and 'composite over'. you'll need verdana09.tga and chessboard.tga. this script should produce "kingyoh.tga", which is a 90x45 image of the king and queen, with the words "YOH" over the king. http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/kingyoh.txt

here is a sample script to test your 'copy', 'fill', 'blank', 'crop', 'composite over', and 'rotate' (arbitrary degrees). you'll need halo3.tga and alphafuzzyframe.tga. you should end up with a 400x400 image called haloframed.tga, which should be the scene in halo3.tga seen through a small square diamond frame. the picture should fade away to white at the edges of the diamond. http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/halo.txt

here is a cute little test to see if your desaturate is working correctly. i gave everyone feedback and hinted on the correct way to compute luminance if you did it wrong, but this is one way to make sure. this script will use tricolor.tga, desaturate it, and write out triluminance.tga, which as the name implied SHOULD give you three different shades of gray. http://www.cs.wisc.edu/graphics/Courses/559-f2007/wiki/pub/testimagesandscripts/tricolortest.txt

History - Print - Recent Changes - Search
Page last modified on October 06, 2007, at 02:28 AM