1 # 3dengfx demosystem script v1.2
2 # ------------------------------
3 # format: <time> <command> <part_name> [args]
4 # If time has an 's' suffix it's seconds, otherwise milliseconds.
5 # For a list of available commands, see the bottom of this file.
7 # end of titles-start of galaxy flash
10 # end of galaxy fade-out
11 0s fx fade 56s 2s <0,0,0,0> 0 <0,0,0,1> 0
13 # start of temple fade-in
14 0s fx fade 58s 2s <0,0,0,1> 0 <0,0,0,0> 0
16 #end of temple fade-out
17 0s fx fade 87s 2s <0,0,0,0> 0 <0,0,0,1> 0
20 0s rename_part distort zdistort
23 36200 start_part space
27 65s start_part zdistort
28 65s set_rtarget temple t0
29 71283 set_rtarget temple fb
30 71283 end_part zdistort
41 # starts the specified demo-part.
44 # ends the specified demo-part.
46 # rename_part <part> <new name>
48 # Note: overlapping parts are executed in lexicographical order.
50 # set_clear <part> true/false
51 # sets whether the specified part should clear the framebuffer
52 # before starting its graphics update.
54 # set_rtarget <part> <target>
55 # changes the render target of the specified part.
56 # <target> must be either fb (for framebuffer) or the name of a
57 # texture register (t0, t1, t2, t3).
59 # fx <effect> <time> <duration> <effect specific arguments> ...
60 # schedules the specified post-processing effect for execution at
61 # the specified time, for the specified duration.
62 # Note: effects may overlapped, in which case are executed in the order
63 # that they are encountered in the demoscript.
68 # ---------------------------------
69 # Post-Processing Effects Reference
70 # ---------------------------------
72 # neg <start> <duration>
73 # inverse video for the specified time interval.
75 # flash <peak-time> <duration> [color]
76 # screen flash, color is optional, default is white.
77 # Note: the flash is sinusoidal, with the peak occuring at the specified time.
79 # fade <start> <duration> [color1] [tex1] [color2] [tex2]
80 # crossfade from color/tex 1 to color/tex 2
82 # overlay <start> <duration> <texture> [shader]
83 # --- SUBJECT TO CHANGE ---