home *** CD-ROM | disk | FTP | other *** search
- ;;;
- ;;; This file specifies the programs that the BOGL
- ;;; screen blanker module uses, how to call them,
- ;;; and how to control them.
- ;;; The program that is run is randomly chosen from
- ;;; those present here.
- ;;;
- ;;; Notice that ';' indicates a comment,
- ;;; as does any whitespace at the beginning
- ;;; of the line.
- ;;;
- ;;; A programme entry starts with PROG and ends
- ;;; with whitespace or EOF
- ;;;
- ;;; Formats:
- ;;; PROG <program with full path>
- ;;; ARGS <argument string passed to program>
- ;;; CDIR <current directory to use by program>
- ;;; SCRN <monitor ID> <screen depth>
- ;;; VKEY <start> <step> <end> <ASCII code | 'char'>
- ;;; INEV <start> <step> <end> <input event string>
- ;;; MENU <start> <step> <end> <menu #> <item #> <sub #>
- ;;;
- ;;; Start, step, and end values are in seconds, unless
- ;;; step size is negative in which case the values
- ;;; are interpreted as frame counts
- ;;; For indefinite repetition, use an end value of -1
- ;;;
- ;;; Menu numbers are counted from 0, use -1 if the
- ;;; number is not applicable (e.g. no sub-menu)
-
- ;;
- ;; All hail the bouncy ball!!!
- ;;
- ;; Needs only a small screen depth
- ;; Note that this demo does not
- ;; actually set a background colour,
- ;; so the background may turn out to
- ;; be some strange random colour.
- ;;
- ;PROG Mesa:demos/bounce
- ;SCRN 659456 3
-
- ;;
- ;; Rotating gears
- ;;
- ;; 64 colours is sufficient to get
- ;; a reasonable result fast.
- ;; Every 2 frames, 'z' and cursor left
- ;; is transmitted, and every four frames
- ;; a cursor up is generated.
- ;; These rotations commence at frame 10
- ;;
- ;PROG Mesa:demos/gears
- ;SCRN 659456 6
- ;VKEY 10 -2 -1 'z'
- ;INEV 10 -2 -1 <left>
- ;INEV 10 -4 -1 <up>
-
- ;;
- ;; The pointblast demo
- ;;
- ;; Set blending off, point smooth off,
- ;; and point size to 2 for speed
- ;;
- ;PROG Mesa:demos/pointblast
- ;ARGS -nearest
- ;MENU 0 0 0 2 5 -1
- ;MENU 0 0 0 2 9 -1
- ;MENU 0 0 0 2 10 -1
-
- ;;
- ;; A popular demo for screen blankers
- ;;
- ;; Cycles through all 5 shapes in 10
- ;; minutes
- ;;
- PROG Mesa:demos/morph3d
- VKEY 0 600 -1 '1'
- VKEY 120 600 -1 '2'
- VKEY 240 600 -1 '3'
- VKEY 360 600 -1 '4'
- VKEY 480 600 -1 '5'
-
- ;;
- ;; Reflections demo
- ;;
- ;; Notice the need for CDIR, so
- ;; that the texture can be found.
- ;PROG Mesa:demos/reflect
- ;CDIR Mesa:demos
- ;INEV 0 -4 -1 <up>
-
- ;;
- ;; Specular texture demo
- ;;
- ;; Cycles through the modes every
- ;; 8 frames
- ;;
- ;PROG Mesa:demos/SpecTex
- ;MENU 0 -8 -1 2 0 -1
- ;MENU 2 -8 -1 2 1 -1
- ;MENU 4 -8 -1 2 2 -1
- ;MENU 6 -8 -1 2 3 -1
-
- ;;
- ;; Textured cylinder demo
- ;;
- ;; Shows the 3 different texture
- ;; methods for 20 frames each
- ;;
- ;PROG Mesa:demos/texcyl
- ;CDIR Mesa:demos
- ;MENU 0 -60 -1 2 0 -1
- ;MENU 20 -60 -1 2 1 -1
- ;MENU 40 -60 -1 2 2 -1
-