Skip to content

Instantly share code, notes, and snippets.

@raganmd
Created December 14, 2017 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raganmd/7006021bc824c847f78e74a34522089c to your computer and use it in GitHub Desktop.
Save raganmd/7006021bc824c847f78e74a34522089c to your computer and use it in GitHub Desktop.
Let's imagine that we want to create a one toe file, and then depending on the IP address of a given machine we want TouchDesigner to set up different configurations. On one machine we might have two projectors, another might have three, another still might be our control machine. How can we make this work? Well, in this case we can store all of…
uri = {
"10.0.0.2" : {
"name" : "mission_control" ,
"role" : "controller" ,
"displays" : [
"control01"
]
},
"10.0.0.3" : {
"name" : "eyes" ,
"role" : "node" ,
"displays" : [
"projector01" ,
"projector02"
]
}
}
displays = {
"control01" : {
"width" : 1920 ,
"height" : 1080 ,
"orientation" : 0
},
"projector01" : {
"width" : 1920 ,
"height" : 1080 ,
"orientation" : 0
},
"projector02" : {
"width" : 1920 ,
"height" : 1080 ,
"orientation" : 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment