Changeset - ab99105cd4fe
[Not reviewed]
default
0 1 1
drewp@bigasterisk.com - 16 years ago 2008-09-01 05:53:53
drewp@bigasterisk.com
new demo data and instructions
2 files changed with 47 insertions and 0 deletions:
0 comments (0 inline, 0 general)
README.lightsim
Show inline comments
 
new file 100644
 
How to see the original lightsim:
 

	
 
    cd lightsim
 
    python lightsim.py
 

	
 
    Play with sliders.
 

	
 

	
 
How to see the new lightsim:
 

	
 
    Start 3 shells, and in each one set this:
 
      export LIGHT9_SHOW=/path/to/light9/show/dance2008
 

	
 
    You may need a 'chmod 755 bin/*' if this is a new darcs checkout.
 
    
 
    Shell 1:
 
      bin/dmxserver --dummy
 

	
 
    Shell 2:
 
      bin/keyboardcomposer --no-sliders
 

	
 
    Shell 3:
 
      bin/lightsim
 
      (it spews tons of Qt stderr, unfortunately)
 

	
 
    In the keyboardcomposer GUI, bring up any combination of these subs:
 
      house
 
      midleft
 
      midright
 
      red
 
      orange
 
      green
 

	
 
    As you adjust subs, lightsim should rerender its combination of
 
    channel photos. I didn't have any properly-photographed lights, so
 
    all you get are some lousy hand-painted lights on a single photo.
 

	
 

	
 
    
 
\ No newline at end of file
show/dance2008/config.n3
Show inline comments
 
@@ -70,12 +70,20 @@ chase:corners a :Chase; :channels (ch:b1
 
chase:colors a :Chase; :channels (ch:oran1 ch:gree1 ch:blue1 ch:red1 ch:oran2 ch:gree2 ch:blue2 ch:red2 ch:oran3 ch:gree3 ch:blue3 ch:red3 ch:oran4 ch:gree4 ch:blue4 ch:red4) .
 

	
 
chase:rb a :Chase; :channels ( ch:b12 ch:b36 ch:b14 ch:b34 ch:b16
 
ch:b32 ch:b22 ch:b26 ) .
 

	
 

	
 
ch:b26 :previewLayer [ :path "lightsim/skyline/front-left.png" ] .
 
ch:front11 :previewLayer [ :path "lightsim/skyline/front-right.png" ] . 
 
ch:house1 :previewLayer [ :path "lightsim/skyline/bg.png" ] . 
 
ch:gree1 :previewLayer [ :path "lightsim/skyline/cyc-lo-grn.png" ] . 
 
ch:oran1 :previewLayer [ :path "lightsim/skyline/cyc-lo-or.png" ] . 
 
ch:red1 :previewLayer [ :path "lightsim/skyline/cyc-lo-red.png" ] . 
 
ch:blue1 :previewLayer [ :path "lightsim/skyline/cyc-lo-blu.png" ]; rdfs:comment "(image is blank)". 
 

	
 

	
 

	
 
dmx:c1 :dmxAddress 1 .
 
dmx:c2 :dmxAddress 2 .
 
dmx:c3 :dmxAddress 3 .
 
dmx:c4 :dmxAddress 4 .
0 comments (0 inline, 0 general)