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

demo/euro/BallMap.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:System friendly reflection mapping demo.
Author:pochanay at cae.wisc.edu eddie (Adisak) Pochanayon
Uploader:fintaeph io org (Chris Poirier)
Type:
Architecture:m68k-amigaos
Date:1993-03-29
Download:http://aminet.net/demo/euro/BallMap.lha - View contents
Readme:http://aminet.net/demo/euro/BallMap.readme
Downloads:1084
Short: A Multitasking realtime "Raytracing" Demo with source

    This demo simulates "Raytracing" by reflection mapping an image onto
a ball that bounces around the screen.  It is system friendly and multitasks
and features "beaming effects", 3-d stars, and music (from MED) as well.
To gain speed on slower machines, I have rewritten the main loop in
ASM rather than leave it in C and I am double buffering the sprites (this
doesn't gain any speed but keeps the sprites from getting "fingers" on
the relection when the machine is running other software and slowing down).
The demo runs extremely well on any accelerated Amiga but only at about
15-20 fps on a 68000 Amiga (this is due mainly to my extensive use of
system routines to be system friendly).  It still multitasks fine on my
A 500 though.  Anyhow, to exit press a key while the demo window is
selected (yes, I use intuition windows and Screens in my demo and use
an IDCMP port for input -- imagine that EuroCoders).  For eurocoders and
other hackers, this is a good example of "CLEAN" demo writing code including
the system friendly way to do copperlists, blitter accesses, attached
sprites, and more...  Anyhow, good example in C and ASM.

---------------------------------- CUT HERE ----------------------------------

     Jeez!!! It never fails, get in the tub and there's a rub at the lamp!
-- The Genie from Aladdin.

             pochanay at cae.wisc.edu   eddie (Adisak) Pochanayon
 Check out all of SilverFox SoftWare's Releases.... your Amiga entertainment.

---------------------------------- CUT HERE ----------------------------------



Contents of demo/euro/BallMap.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6534   11609  56.3% -lh5- 4fd7 Mar 23  1993 fox_gfx.br
[generic]                  224     468  47.9% -lh5- 3326 Mar 28  1993 lmkfile
[generic]                 3229    5140  62.8% -lh5- 6caa Mar 28  1993 med_modplayer.o
[generic]                  225     228  98.7% -lh5- 330b Mar 28  1993 med_reloc.o
[generic]                19431   48460  40.1% -lh5- 4896 Mar 28  1993 mod.o
[generic]                 3229    5140  62.8% -lh5- 6caa Mar 28  1993 modplayer.o
[generic]                 6583   18089  36.4% -lh5- 4d38 Mar 29  1993 MStars.asm
[generic]                 2062    2656  77.6% -lh5- ccc8 Mar 29  1993 MStars.o
[generic]                39260   40932  95.9% -lh5- c272 Mar 29  1993 rrt
[generic]                 3907   11545  33.8% -lh5- 37de Mar 29  1993 RRT.c
[generic]                  703    2112  33.3% -lh5- ed6b Mar 28  1993 rrt.h
[generic]                  339    1778  19.1% -lh5- e1e4 Mar 24  1993 RRT.info
[generic]                 2540   12778  19.9% -lh5- 1da0 Mar 29  1993 RRTasm.asm
[generic]                  161     402  40.0% -lh5- 5dcd Mar 28  1993 RRTasminc.asm
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        14 files   88427  161337  54.8%            Mar 29  1993

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