AminetAminet
Search:
84479 packages online
About
Recent
Browse
Search
Upload
Setup
Services

demo/intro/warp-mos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Warp image SDL effect (with sources)
Author:Emmanuel Marty <core at ggi-project.org>, Morphos port by Fabrizio "Lanch" Bartoloni
Uploader:lanch tiscali it (Fabrizio Bartoloni)
Type:demo/intro
Version:1.1.4
Requires:PowerSDL
Architecture:ppc-morphos
Date:2005-08-31
Download:http://aminet.net/demo/intro/warp-mos.lha - View contents
Readme:http://aminet.net/demo/intro/warp-mos.readme
Downloads:634

Note from porting author: i've seen this already on the SDLdemos archive
 but this time is made available with full documentation, source code
 , is linked against the latest PowerSDL and the executable is smaller.
  

Warp - Realtime picture 'gooing' SDL demo. Version 1.1.4 (apr. 14, 1998)

This program is intended to be a demonstration of SDL, the Simple
DirectMedia Layer.

Compiling the demo:

Run 'make'

Running the demo :

Once the program is compiled, just run "warp" and enjoy.

Because I wanted the program to stay small and independant of any other
dynamic library installed in the system (e.g. libjpeg, libpng..), it reads
BMP picture files. You can use The Gimp to save to that format, or you
can always implement another loader, but this will grow the code beyond
necessity. Anyway, if you have another picture, you can do :

warp picturefile.bmp

to use this picture instead of the default one (leeloo.bmp ;).

The demo runs on its own, you can exit it by pressing any key.

Background :

I wrote this program just after I had started to contribute to the GGI
project, wishing at the time to write drivers for the chips I owned and
for which I had documentation - Matrox 1164SG (Mystique, an awesome board)
and ATI 3D RAGE II (blargh). The idea was to learn more about GGI
internals and to provide the project with a good demo, which was
lacking at the time. Matthias Grimrath wrote the Mystique driver,
the ATI chips didn't motivate anyone that much yet :), and I wrote
the driver for the Cyrix MediaGX chipset, in cooperation with Cyrix
themselves, which was a really interesting project. I did the libggi
port to IRIX and I manage the ggi-project domain name aswell, now,
and I want to hope I know GGI quite well. 

This demo has been written in an evening and most of a night (not
knowing anything about GGI when I started :). I hope you will like
the result.

(Sam:
 This demo was converted to SDL in about 2 and a half hours.  Thanks!
)

This is actually a routine that I had written in 680x0 assembler
on the Amiga, never used, then ported to 80x86 assembler, then ported
to C++ under BeOS, then ported to Java (you can see the Java version
on http://www.core.netnation.org/pages/warp_anita.html), then ported to
plain C for GGI today. Every time I ported it to a new architecture,
I have optimized some bits. I still think it can be done faster, but
on a P133, and with the demo compiled with egcs as -mpentium -O6, it
runs at full frame rate.

Enjoy ;)

Emmanuel Marty <core at ggi-project.org>

web: http://www.core.netnation.org
irc: core on undernet #linux
icq: uin 1153070 (please bear with my java-linux restricted icq client :P)


Contents of demo/intro/warp-mos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2182    6036  36.1% -lh5- ff39 Dec 21  1999 warp-1.1/acinclude.m4
[generic]                 3733    9576  39.0% -lh5- f6f0 Dec 21  1999 warp-1.1/aclocal.m4
[generic]                  518    1151  45.0% -lh5- ebb4 Aug 30 18:07 warp-1.1/config.cache
[generic]                  432    1078  40.1% -lh5- 58aa Aug 30 18:07 warp-1.1/config.log
[generic]                 2041    5287  38.6% -lh5- e119 Aug 30 18:07 warp-1.1/config.status
[generic]                14398   50092  28.7% -lh5- bccc Dec 21  1999 warp-1.1/configure
[generic]                  279     416  67.1% -lh5- e413 Dec 21  1999 warp-1.1/configure.in
[generic]                 1604    7206  22.3% -lh5- d267 Dec 21  1999 warp-1.1/dowarp.c
[generic]                 2233    5598  39.9% -lh5- a21f Dec  6  1999 warp-1.1/install-sh
[generic]                41572   65078  63.9% -lh5- a91b Oct  8  1999 warp-1.1/leeloo.bmp
[generic]                 1772    4304  41.2% -lh5- 4b4c Dec 21  1999 warp-1.1/main.c
[generic]                 2961    8927  33.2% -lh5- 9af7 Aug 30 18:07 warp-1.1/Makefile
[generic]                   87     101  86.1% -lh5- fefb Dec  6  1999 warp-1.1/Makefile.am
[generic]                 2906    8789  33.1% -lh5- 79e9 Dec 21  1999 warp-1.1/Makefile.in
[generic]                 2135    6283  34.0% -lh5- b90d Dec  6  1999 warp-1.1/missing
[generic]                  380     722  52.6% -lh5- c7b6 Dec  6  1999 warp-1.1/mkinstalldirs
[generic]                 1317    2439  54.0% -lh5- 3764 Oct  8  1999 warp-1.1/README
[generic]                32237   82772  38.9% -lh5- 0b81 Aug 30 18:07 warp-1.1/warp
[generic]                 1536    2903  52.9% -lh5- 7726 Aug 30 18:33 warp-1.1/warp-mos.readme
[generic]                  334     616  54.2% -lh5- e699 Dec 21  1999 warp-1.1/warp.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        20 files  114657  269374  42.6%            Aug 31 01:21

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>