Program AntiAliasPrototyper.
This is an scaling/rotation/antialiasing prototyping program
by Lewis A. Sellers, ie Minimalist of The Minimalist Group
(http://www.1stresource.com/l/lsellers/),
and the MOSOCI Grail Project (http://www.dwc.edu/grail).
Written 1995-1996 A.D.
You can use it and the code involved if you wish as long as
you include the standard greetings to me somewhere in your
program, say in the credits.
It was originally a Turbo Borland C/ASM DOS 16-bit program,
but I recoded it into Pascal 7.0.
My first pascal program ever on the IBM platform actually. :-)
Frankly, it is a lot cleaner looking than the original. Hmmm...
The Keys:
'1' is no antialiasing.
'2' is bilinear.
'3' is trilinear.
'4' is... something I was playing with.
The left/right arrows change rotation.
The - + [ and ] keys zoom.
Press any key to stop zooming.
ESC and Space stop the program.
You must supply a BMP filename as an argument such as:
C:> ALIAS DEATH.BMP
The BMP it uses must be a 320x200 256 color grayscale image.
This is by no means fast. If I want something fast I do it in pure
assembly.
GREETS:
Thanks to __Elendil and Lumpy (and Hugh and Bimba) for the impromptu
Pascal hints. :)
And JMX/Opiate for the incentive to learn pascal.
|