Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Pascal Форум Информер Страны мира
   Demo Making    >>    alias
   
 
 Scaling, Rotation, Antialiasing Prototyping Program  Lewis A. Sellers 09.04.1996

Демонстрация вращения BMP изображений 320x200x256 с тремя вариантами сглаживания и масштабированием.
This is a scaling/rotation/antialiasing prototyping program for BMP images 320x200x256 v3.1. Asm/C/Pascal versions.



160k 
 

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.