647fda99e55433e59d613ddf7849739a3457be75
Stefan Schuermans example simulator config

Stefan Schuermans authored 7 years ago

1) # EtherPix simulator configuration file for screen with 5x2 panels of 8x12 pixels each
2) 
3) # configure distributors
4) # syntax:
5) #   distributor <distno> = <outputs>,<pixels>
6) # description:
7) #   distno: number of distributor
8) #   outputs: number of outputs per distributor
9) #   pixels: number of pixels per output
10) distributor 0 = 32,96
11) 
12) # set address of simulated distributor
13) # IP must be a valid the host running the simulator
14) # syntax:
15) #   distributorAddr = <IPv4>:<port>
16) # description:
17) #   IPv4: IPv4 address
18) #   port: UDP port number
19) distributorAddr 0 = 127.0.0.1:23000
20) 
21) # configure mapping between the color channel values in the video
22) # and the values transmitted to the display
23) # a mapping is configured per distributor and applies to all pixels
24) # connected to it
25) # syntax:
26) #   mapping <distno> (red|green|blue) = <base> <factor> <gamma>
27) # description:
28) #   distno: number of distributor
29) #   base, factor, gamma: floating-point values used in formula
30) # mapping formula:
31) #   display := base + factor * video ** (1.0 / gamma)
32) # description:
33) #   display: the value sent to the actual pixel connected to the distributor
34) #   video: the color channel value taken from the video
35) mapping 0 red = 0.0 1.0 1.0
36) mapping 0 green = 0.0 1.0 1.0
37) mapping 0 blue = 0.0 1.0 1.0
38) 
39) # specify positions of the simulated pixels at outputs of the simulated
40) # distributor
41) # for each pixel, the position and size if specified relative to the
42) # simulator window dimensions
43) # syntax:
Stefan Schuermans fix comments

Stefan Schuermans authored 7 years ago

44) #   output <distno>,<outno> = <px 1 x>,<px 1 y>,<px 1 size>