name : DCC2X (Demo for CodeCraft 2, X was put by !StrongBS :-) )
authors : Bill Kotsias (fantasia@hol.gr)
size : 912 bytes
needs : <1Mb RAM, MODE13, RiscPC recommended
descr. : 3d infinite texture mapped floor
----------------------------------------------------------------------------
Run the demo by double-clicking it or entering its name at the CLI. It
won`t run if you >LOAD it from BASIC and >RUN it. (*)
The demo is "USER INTERACTIVE" (WHOOH!) :
Arrow keys - Move forward, backwards, sideways
Mouse - Change the direction where you are looking
Mouse keys
SELECT - Gain height
MENU - Reduce height
SELECT+ADJUST - Zoom in (increase focus-point distance)
SELECT+MENU - Zoom out (decrease focus-point distance)
The demo will create a much(ish) different texture every time you run it,
so run it again and again till you`ve seen all 4 different shapes used
(circles, triangles, parallelograms, squares).
DCC2X is "twice" a "first" for me:
-It is my first ever assembly program
-It is my first ever hand-compressed code to fit in 1024 bytes. Argh! I
need some sleep now I`m finished!
If you go "below" the floor, graphics will be shown corrupted.
I would like to express my sincere gratefulness to Pervect. My demos
didn`t fully comply to CC#2 rules, and as I didn`t have time to fix them
(uni exams), Pervect decided to debug and fix them himself. I don`t know
of many people that would do this..!
SOURCE CODE:
The source runs as it is. It will run in the mode you are using in the
desktop (it should be a square-pixel mode). Try 1600*1200 :-)
*If you wish to use the floor code in your *PD* program, please inform me
so*
*IF you wish to use the floor code for commercial purposes, you must
contact me first*
Files included in this archive are:
DCC2X ; The demo itself
ReadMe ; This textfile
More.SourceCC2 ; Source code (runs as it is)
Contact details : fantasia@hol.gr
----------------------------------------------------------------------------
(*) Prevect`s message quoted : "First entering BASIC from the command line
and then LOADing the program /won't/ work as the environment string (that
my loading trick uses) doesn't contain the path (BASIC -quit "ADFS:$.....
M_usicdemo.M") in that case, but only BASIC (BASIC)."