// // time: Thu Feb 28 20:40:08 2002 // // version: 3.1.2 (format), 4.1.3 (DX) // // // MODULE main // // comment: A useful tool for selecting object colors for use in // comment: various lighting situations. // page assignment: color order=2, windowed=0, showing=1 // workspace: width = 1689, height = 915 // layout: snap = 0, width = 50, height = 50, align = NN // macro main( ) -> ( ) { // // node Selector[24]: x = 1378, y = 196, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_24" // input[2]: defaulting = 0, visible = 0, type = 32, value = "Color set 1" // input[3]: defaulting = 0, visible = 0, type = 29, value = 1 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "Color set 1" "Color set 2" "Color set 3" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 2 3 } // output[1]: visible = 1, type = 29, value = 1 // output[2]: visible = 1, type = 32, value = "Color set 1" // page group: color // // // node Selector[23]: x = 1449, y = 183, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_23" // input[2]: defaulting = 0, visible = 0, type = 32, value = "white" // input[3]: defaulting = 0, visible = 0, type = 29, value = 7 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "red" "green" "blue" "yellow" "orange" "purple" "black" "white" "cyan" "magenta" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 } // output[1]: visible = 1, type = 29, value = 7 // output[2]: visible = 1, type = 32, value = "white" // page group: color // // // node Selector[21]: x = 1541, y = 199, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_21" // input[2]: defaulting = 0, visible = 0, type = 32, value = "dodger blue" // input[3]: defaulting = 0, visible = 0, type = 29, value = 86 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "aliceblue" "antiquewhite" "antiquewhite1" "antiquewhite2" "antiquewhite3" "antiquewhite4" "aquamarine" "aquamarine1" "aquamarine2" "aquamarine3" "aquamarine4" "azure" "azure1" "azure2" "azure3" "azure4" "beige" "bisque" "bisque1" "bisque2" "bisque3" "bisque4" "black" "blanchedalmond" "blue" "blue1" "blue2" "blue3" "blue4" "blueviolet" "brown" "brown1" "brown2" "brown3" "brown4" "burlywood" "burlywood1" "burlywood2" "burlywood3" "burlywood4" "cadetblue" "cadetblue1" "cadetblue2" "cadetblue3" "cadetblue4" "chartreuse" "chartreuse1" "chartreuse2" "chartreuse3" "chartreuse4" "chocolate1" "chocolate2" "chocolate3" "chocolate4" "coral" "coral1" "coral2" "coral3" "coral4" "cornflowerblue" "cornsilk" "cornsilk1" "cornsilk2" "cornsilk3" "cornsilk4" "cyan" "cyan1" "cyan2" "cyan3" "cyan4" "deep pink" "deeppink1" "deeppink2" "deeppink3" "deeppink4" "deep sky blue" "deepskyblue1" "deepskyblue2" "deepskyblue3" "deepskyblue4" "dodger blue" "dodgerblue1" "dodgerblue2" "dodgerblue3" "dodgerblue4" "firebrick" "firebrick1" "firebrick2" "firebrick3" "firebrick4" "floral white" "forest green" "gainsboro" "ghost white" "gold" "gold1" "gold2" "gold3" "gold4" "goldenrod" "goldenrod1" "goldenrod2" "goldenrod3" "goldenrod4" "gray" "gray1" "gray2" "gray3" "gray4" "gray5" "gray6" "gray7" "gray8" "gray9" "gray10" "gray20" "gray30" "gray40" "gray50" "gray60" "gray70" "gray80" "gray90" "gray100" "green" "green1" "green2" "green3" "green4" "greenyellow" "honeydew" "honeydew1" "honeydew2" "honeydew3" "honeydew4" "hot pink" "hotpink1" "hotpink2" "hotpink3" "hotpink4" "indianred" "indianred1" "indianred2" "indianred3" "indianred4" "khaki" "khaki1" "khaki2" "khaki3" "khaki4" "lavender" "lavender blush" "lavenderblush1" "lavenderblush2" "lavenderblush3" "lavenderblush4" "lawn green" "lemon chiffon" "lemonchiffon1" "lemonchiffon2" "lemonchiffon3" "lemonchiffon4" "light blue" "light coral" "light cyan" "light goldenrod" "light goldenrod yellow" "light green" "light pink" "lightpink1" "lightpink2" "lightpink3" "lightpink4" "lightsalmon" "lightsalmon1" "lightsalmon2" "lightsalmon3" "lightsalmon4" "lightskyblue" "lightskyblue1" "lightskyblue2" "lightskyblue3" "lightskyblue4" "lightslateblue" "lightslategray" "lightyellow" "lightyellow1" "lightyellow2" "lightyellow3" "lightyellow4" "lime green" "linen" "magenta" "magenta1" "magenta2" "magenta3" "magenta4" "maroon" "maroon1" "maroon2" "maroon3" "maroon4" "medium aquamarine" "medium blue" "medium orchid" "medium purple" "medium sea green" "medium slate blue" "medium spring green" "medium turquoise" "medium violet red" "midnight blue" "mint cream" "mistyrose" "mistyrose" "mistyrose1" "mistyrose2" "mistyrose3" "moccasin" "navajo white" "navajowhite1" "navajowhite2" "navajowhite3" "navajowhite4" "navy" "navy blue" "old lace" "olive drab" "olivedrab1" "olivedrab2" "olivedrab3" "olivedrab4" "orange" "orange1" "orange2" "orange3" "orange4" "orange red" "orangered1" "orangered2" "orangered3" "orangered4" "orchid" "orchid1" "orchid2" "orchid3" "pale goldenrod" "pale green" "pale turquoise" "palevioletred" "palevioletred1" "palevioletred2" "palevioletred3" "palevioletred4" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 176 77 78 79 80 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 112 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 } // output[1]: visible = 1, type = 29, value = 86 // output[2]: visible = 1, type = 32, value = "dodger blue" // page group: color // // // node Selector[22]: x = 1625, y = 204, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_22" // input[2]: defaulting = 0, visible = 0, type = 32, value = "tomato" // input[3]: defaulting = 0, visible = 0, type = 29, value = 353 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "papaya whip" "peachpuff" "peachpuff1" "peachpuff2" "peachpuff3" "peachpuff4" "peru" "pink" "pink1" "pink2" "pink3" "pink4" "plum" "plum1" "plum2" "plum3" "plum4" "powder blue" "purple" "purple1" "purple2" "purple3" "purple4" "red" "red1" "red2" "red3" "red4" "rosy brown" "rosybrown1" "rosybrown" "rosybrown2" "rosybrown3" "rosybrown4" "royal blue" "royalblue1" "royalblue2" "royalblue3" "royalblue4" "saddle brown" "salmon" "salmon1" "salmon2" "salmon3" "salmon4" "sandy brown" "sea green" "seagreen1" "seagreen2" "seagreen3" "seagreen4" "seashell" "seashell1" "seashell2" "seashell3" "seashell4" "sienna" "sienna1" "sienna2" "sienna3" "sienna4" "sky blue" "skyblue1" "skyblue2" "skyblue3" "skyblue4" "slate blue" "slateblue1" "slateblue2" "slateblue3" "slateblue4" "snow" "snow1" "snow2" "snow3" "snow4" "spring green" "springgreen1" "springgreen2" "springgreen3" "springgreen4" "steel blue" "steelblue1" "steelblue2" "steelblue3" "steelblue4" "tan" "tan1" "tan2" "tan3" "tan4" "thistle" "thistle1" "thistle2" "thistle3" "thistle4" "tomato" "tomato1" "tomato2" "tomato3" "tomato4" "violet" "violet1" "violet2" "violet3" "violet4" "violet red" "violetred1" "violetred2" "violetred3" "violetred4" "wheat" "wheat1" "wheat2" "wheat3" "wheat4" "white" "white smoke" "yellow" "yellow1" "yellow2" "yellow3" "yellow4" "yellow green" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 } // output[1]: visible = 1, type = 29, value = 353 // output[2]: visible = 1, type = 32, value = "tomato" // page group: color // // // node Switch[4]: x = 1479, y = 335, inputs = 4, label = Switch // page group: color // main_Switch_4_out_1 = Switch( main_Selector_24_out_1, main_Selector_23_out_2, main_Selector_21_out_2, main_Selector_22_out_2 ) [instance: 4, cache: 1]; // // node AmbientLight[4]: x = 1400, y = 590, inputs = 1, label = AmbientLight // page group: color // main_AmbientLight_4_out_1 = AmbientLight( main_Switch_4_out_1 ) [instance: 4, cache: 1]; // // node Toggle[10]: x = 393, y = 228, inputs = 6, label = Toggle // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_10" // input[2]: defaulting = 0, visible = 0, type = 29, value = 1 // input[3]: defaulting = 0, visible = 0, type = 3, value = 1 // input[4]: defaulting = 1, visible = 1, type = 29, value = 1 // input[5]: defaulting = 1, visible = 1, type = 29, value = 0 // output[1]: visible = 1, type = 29, value = 1 // page group: color // toggle : 1 // // // node Compute[52]: x = 113, y = 428, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1" // page group: color // expression: value = a+1 // name[2]: value = a // name[3]: value = b // main_Compute_52_out_1 = Compute( main_Compute_52_in_1, main_Toggle_10_out_1, main_Compute_52_in_3 ) [instance: 52, cache: 1]; // // node Construct[5]: x = 41, y = 18, inputs = 4, label = Construct // input[1]: defaulting = 0, visible = 1, type = 16777224, value = {[-1 -1 -1]} // input[2]: defaulting = 0, visible = 1, type = 16777224, value = {[0.1 0.1 0.1]} // input[3]: defaulting = 0, visible = 1, type = 8, value = [42 42 42] // page group: color // main_Construct_5_out_1 = Construct( main_Construct_5_in_1, main_Construct_5_in_2, main_Construct_5_in_3, main_Construct_5_in_4 ) [instance: 5, cache: 1]; // // node Replace[1]: x = 40, y = 91, inputs = 4, label = Replace // input[3]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: color // main_Replace_1_out_1 = Replace( main_Construct_5_out_1, main_Construct_5_out_1, main_Replace_1_in_3, main_Replace_1_in_4 ) [instance: 1, cache: 1]; // // node Compute[51]: x = 54, y = 171, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "mag($0)" // page group: color // expression: value = mag(a) // name[2]: value = a // name[3]: value = b // main_Compute_51_out_1 = Compute( main_Compute_51_in_1, main_Replace_1_out_1, main_Compute_51_in_3 ) [instance: 51, cache: 1]; // // node Isosurface[19]: x = 55, y = 243, inputs = 6, label = Isosurface // input[2]: defaulting = 0, visible = 1, type = 5, value = 1.0 // page group: color // main_Isosurface_19_out_1 = Isosurface( main_Compute_51_out_1, main_Isosurface_19_in_2, main_Isosurface_19_in_3, main_Isosurface_19_in_4, main_Isosurface_19_in_5, main_Isosurface_19_in_6 ) [instance: 19, cache: 1]; // // node Color[2]: x = 11, y = 408, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "orange" // input[3]: defaulting = 1, visible = 1, type = 5, value = 0.5 // page group: color // main_Color_2_out_1 = Color( main_Isosurface_19_out_1, main_Color_2_in_2, main_Color_2_in_3, main_Color_2_in_4, main_Color_2_in_5 ) [instance: 2, cache: 1]; // // node Transmitter[13]: x = 0, y = 499, inputs = 1, label = Source_OBJECT // page group: color // Source_OBJECT = main_Color_2_out_1; // // node Receiver[25]: x = 215, y = 244, inputs = 1, label = Source_OBJECT // page group: color // main_Receiver_25_out_1[cache: 0] = Source_OBJECT; // // node Selector[12]: x = 391, y = 54, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_12" // input[2]: defaulting = 0, visible = 0, type = 32, value = "Color set 2" // input[3]: defaulting = 0, visible = 0, type = 29, value = 2 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "Color set 1" "Color set 2" "Color set 3" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 2 3 } // output[1]: visible = 1, type = 29, value = 2 // output[2]: visible = 1, type = 32, value = "Color set 2" // page group: color // // // node Selector[10]: x = 480, y = 50, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_10" // input[2]: defaulting = 0, visible = 0, type = 32, value = "magenta" // input[3]: defaulting = 0, visible = 0, type = 29, value = 9 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "red" "green" "blue" "yellow" "orange" "purple" "black" "white" "cyan" "magenta" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 } // output[1]: visible = 1, type = 29, value = 9 // output[2]: visible = 1, type = 32, value = "magenta" // page group: color // // // node Selector[1]: x = 573, y = 52, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_1" // input[2]: defaulting = 0, visible = 0, type = 32, value = "cornflowerblue" // input[3]: defaulting = 0, visible = 0, type = 29, value = 59 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "aliceblue" "antiquewhite" "antiquewhite1" "antiquewhite2" "antiquewhite3" "antiquewhite4" "aquamarine" "aquamarine1" "aquamarine2" "aquamarine3" "aquamarine4" "azure" "azure1" "azure2" "azure3" "azure4" "beige" "bisque" "bisque1" "bisque2" "bisque3" "bisque4" "black" "blanchedalmond" "blue" "blue1" "blue2" "blue3" "blue4" "blueviolet" "brown" "brown1" "brown2" "brown3" "brown4" "burlywood" "burlywood1" "burlywood2" "burlywood3" "burlywood4" "cadetblue" "cadetblue1" "cadetblue2" "cadetblue3" "cadetblue4" "chartreuse" "chartreuse1" "chartreuse2" "chartreuse3" "chartreuse4" "chocolate1" "chocolate2" "chocolate3" "chocolate4" "coral" "coral1" "coral2" "coral3" "coral4" "cornflowerblue" "cornsilk" "cornsilk1" "cornsilk2" "cornsilk3" "cornsilk4" "cyan" "cyan1" "cyan2" "cyan3" "cyan4" "deep pink" "deeppink1" "deeppink2" "deeppink3" "deeppink4" "deep sky blue" "deepskyblue1" "deepskyblue2" "deepskyblue3" "deepskyblue4" "dodger blue" "dodgerblue1" "dodgerblue2" "dodgerblue3" "dodgerblue4" "firebrick" "firebrick1" "firebrick2" "firebrick3" "firebrick4" "floral white" "forest green" "gainsboro" "ghost white" "gold" "gold1" "gold2" "gold3" "gold4" "goldenrod" "goldenrod1" "goldenrod2" "goldenrod3" "goldenrod4" "gray" "gray1" "gray2" "gray3" "gray4" "gray5" "gray6" "gray7" "gray8" "gray9" "gray10" "gray20" "gray30" "gray40" "gray50" "gray60" "gray70" "gray80" "gray90" "gray100" "green" "green1" "green2" "green3" "green4" "greenyellow" "honeydew" "honeydew1" "honeydew2" "honeydew3" "honeydew4" "hot pink" "hotpink1" "hotpink2" "hotpink3" "hotpink4" "indianred" "indianred1" "indianred2" "indianred3" "indianred4" "khaki" "khaki1" "khaki2" "khaki3" "khaki4" "lavender" "lavender blush" "lavenderblush1" "lavenderblush2" "lavenderblush3" "lavenderblush4" "lawn green" "lemon chiffon" "lemonchiffon1" "lemonchiffon2" "lemonchiffon3" "lemonchiffon4" "light blue" "light coral" "light cyan" "light goldenrod" "light goldenrod yellow" "light green" "light pink" "lightpink1" "lightpink2" "lightpink3" "lightpink4" "lightsalmon" "lightsalmon1" "lightsalmon2" "lightsalmon3" "lightsalmon4" "lightskyblue" "lightskyblue1" "lightskyblue2" "lightskyblue3" "lightskyblue4" "lightslateblue" "lightslategray" "lightyellow" "lightyellow1" "lightyellow2" "lightyellow3" "lightyellow4" "lime green" "linen" "magenta" "magenta1" "magenta2" "magenta3" "magenta4" "maroon" "maroon1" "maroon2" "maroon3" "maroon4" "medium aquamarine" "medium blue" "medium orchid" "medium purple" "medium sea green" "medium slate blue" "medium spring green" "medium turquoise" "medium violet red" "midnight blue" "mint cream" "mistyrose" "mistyrose" "mistyrose1" "mistyrose2" "mistyrose3" "moccasin" "navajo white" "navajowhite1" "navajowhite2" "navajowhite3" "navajowhite4" "navy" "navy blue" "old lace" "olive drab" "olivedrab1" "olivedrab2" "olivedrab3" "olivedrab4" "orange" "orange1" "orange2" "orange3" "orange4" "orange red" "orangered1" "orangered2" "orangered3" "orangered4" "orchid" "orchid1" "orchid2" "orchid3" "pale goldenrod" "pale green" "pale turquoise" "palevioletred" "palevioletred1" "palevioletred2" "palevioletred3" "palevioletred4" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 176 77 78 79 80 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 112 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 } // output[1]: visible = 1, type = 29, value = 59 // output[2]: visible = 1, type = 32, value = "cornflowerblue" // page group: color // // // node Selector[9]: x = 663, y = 59, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_9" // input[2]: defaulting = 0, visible = 0, type = 32, value = "violet4" // input[3]: defaulting = 0, visible = 0, type = 29, value = 367 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "papaya whip" "peachpuff" "peachpuff1" "peachpuff2" "peachpuff3" "peachpuff4" "peru" "pink" "pink1" "pink2" "pink3" "pink4" "plum" "plum1" "plum2" "plum3" "plum4" "powder blue" "purple" "purple1" "purple2" "purple3" "purple4" "red" "red1" "red2" "red3" "red4" "rosy brown" "rosybrown1" "rosybrown" "rosybrown2" "rosybrown3" "rosybrown4" "royal blue" "royalblue1" "royalblue2" "royalblue3" "royalblue4" "saddle brown" "salmon" "salmon1" "salmon2" "salmon3" "salmon4" "sandy brown" "sea green" "seagreen1" "seagreen2" "seagreen3" "seagreen4" "seashell" "seashell1" "seashell2" "seashell3" "seashell4" "sienna" "sienna1" "sienna2" "sienna3" "sienna4" "sky blue" "skyblue1" "skyblue2" "skyblue3" "skyblue4" "slate blue" "slateblue1" "slateblue2" "slateblue3" "slateblue4" "snow" "snow1" "snow2" "snow3" "snow4" "spring green" "springgreen1" "springgreen2" "springgreen3" "springgreen4" "steel blue" "steelblue1" "steelblue2" "steelblue3" "steelblue4" "tan" "tan1" "tan2" "tan3" "tan4" "thistle" "thistle1" "thistle2" "thistle3" "thistle4" "tomato" "tomato1" "tomato2" "tomato3" "tomato4" "violet" "violet1" "violet2" "violet3" "violet4" "violet red" "violetred1" "violetred2" "violetred3" "violetred4" "wheat" "wheat1" "wheat2" "wheat3" "wheat4" "white" "white smoke" "yellow" "yellow1" "yellow2" "yellow3" "yellow4" "yellow green" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 } // output[1]: visible = 1, type = 29, value = 367 // output[2]: visible = 1, type = 32, value = "violet4" // page group: color // // // node Switch[1]: x = 498, y = 179, inputs = 4, label = Switch // page group: color // main_Switch_1_out_1 = Switch( main_Selector_12_out_1, main_Selector_10_out_2, main_Selector_1_out_2, main_Selector_9_out_2 ) [instance: 1, cache: 1]; // // node Route[10]: x = 466, y = 329, inputs = 2, outputs = 2, label = Route // page group: color // main_Route_10_out_1, main_Route_10_out_2 = Route( main_Toggle_10_out_1, main_Switch_1_out_1 ) [instance: 10, cache: 1]; // // node Color[1]: x = 347, y = 457, inputs = 5, label = Color // input[2]: defaulting = 1, visible = 1, type = 32, value = "magenta" // page group: color // main_Color_1_out_1 = Color( main_Receiver_25_out_1, main_Route_10_out_1, main_Color_1_in_3, main_Color_1_in_4, main_Color_1_in_5 ) [instance: 1, cache: 1]; // // node Switch[5]: x = 196, y = 567, inputs = 3, label = Switch // page group: color // main_Switch_5_out_1 = Switch( main_Compute_52_out_1, main_Receiver_25_out_1, main_Color_1_out_1 ) [instance: 5, cache: 1]; // // node Normals[5]: x = 353, y = 545, inputs = 2, label = Normals // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: color // main_Normals_5_out_1 = Normals( main_Switch_5_out_1, main_Normals_5_in_2 ) [instance: 5, cache: 1]; // // node Transmitter[12]: x = 341, y = 648, inputs = 1, label = Colored_object // page group: color // Colored_object = main_Normals_5_out_1; // // node Receiver[24]: x = 479, y = 686, inputs = 1, label = Colored_object // page group: color // main_Receiver_24_out_1[cache: 0] = Colored_object; // // node Toggle[7]: x = 695, y = 542, inputs = 6, label = Toggle // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_7" // input[2]: defaulting = 0, visible = 0, type = 29, value = 0 // input[3]: defaulting = 0, visible = 0, type = 3, value = 0 // input[4]: defaulting = 1, visible = 1, type = 29, value = 1 // input[5]: defaulting = 1, visible = 1, type = 29, value = 0 // output[1]: visible = 1, type = 29, value = 0 // page group: color // toggle : 0 // // // node Selector[16]: x = 654, y = 214, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_16" // input[2]: defaulting = 0, visible = 0, type = 32, value = "Color set 1" // input[3]: defaulting = 0, visible = 0, type = 29, value = 1 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "Color set 1" "Color set 2" "Color set 3" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 2 3 } // output[1]: visible = 1, type = 29, value = 1 // output[2]: visible = 1, type = 32, value = "Color set 1" // page group: color // // // node Selector[15]: x = 739, y = 210, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_15" // input[2]: defaulting = 0, visible = 0, type = 32, value = "white" // input[3]: defaulting = 0, visible = 0, type = 29, value = 7 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "red" "green" "blue" "yellow" "orange" "purple" "black" "white" "cyan" "magenta" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 } // output[1]: visible = 1, type = 29, value = 7 // output[2]: visible = 1, type = 32, value = "white" // page group: color // // // node Selector[13]: x = 835, y = 219, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_13" // input[2]: defaulting = 0, visible = 0, type = 32, value = "beige" // input[3]: defaulting = 0, visible = 0, type = 29, value = 16 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "aliceblue" "antiquewhite" "antiquewhite1" "antiquewhite2" "antiquewhite3" "antiquewhite4" "aquamarine" "aquamarine1" "aquamarine2" "aquamarine3" "aquamarine4" "azure" "azure1" "azure2" "azure3" "azure4" "beige" "bisque" "bisque1" "bisque2" "bisque3" "bisque4" "black" "blanchedalmond" "blue" "blue1" "blue2" "blue3" "blue4" "blueviolet" "brown" "brown1" "brown2" "brown3" "brown4" "burlywood" "burlywood1" "burlywood2" "burlywood3" "burlywood4" "cadetblue" "cadetblue1" "cadetblue2" "cadetblue3" "cadetblue4" "chartreuse" "chartreuse1" "chartreuse2" "chartreuse3" "chartreuse4" "chocolate1" "chocolate2" "chocolate3" "chocolate4" "coral" "coral1" "coral2" "coral3" "coral4" "cornflowerblue" "cornsilk" "cornsilk1" "cornsilk2" "cornsilk3" "cornsilk4" "cyan" "cyan1" "cyan2" "cyan3" "cyan4" "deep pink" "deeppink1" "deeppink2" "deeppink3" "deeppink4" "deep sky blue" "deepskyblue1" "deepskyblue2" "deepskyblue3" "deepskyblue4" "dodger blue" "dodgerblue1" "dodgerblue2" "dodgerblue3" "dodgerblue4" "firebrick" "firebrick1" "firebrick2" "firebrick3" "firebrick4" "floral white" "forest green" "gainsboro" "ghost white" "gold" "gold1" "gold2" "gold3" "gold4" "goldenrod" "goldenrod1" "goldenrod2" "goldenrod3" "goldenrod4" "gray" "gray1" "gray2" "gray3" "gray4" "gray5" "gray6" "gray7" "gray8" "gray9" "gray10" "gray20" "gray30" "gray40" "gray50" "gray60" "gray70" "gray80" "gray90" "gray100" "green" "green1" "green2" "green3" "green4" "greenyellow" "honeydew" "honeydew1" "honeydew2" "honeydew3" "honeydew4" "hot pink" "hotpink1" "hotpink2" "hotpink3" "hotpink4" "indianred" "indianred1" "indianred2" "indianred3" "indianred4" "khaki" "khaki1" "khaki2" "khaki3" "khaki4" "lavender" "lavender blush" "lavenderblush1" "lavenderblush2" "lavenderblush3" "lavenderblush4" "lawn green" "lemon chiffon" "lemonchiffon1" "lemonchiffon2" "lemonchiffon3" "lemonchiffon4" "light blue" "light coral" "light cyan" "light goldenrod" "light goldenrod yellow" "light green" "light pink" "lightpink1" "lightpink2" "lightpink3" "lightpink4" "lightsalmon" "lightsalmon1" "lightsalmon2" "lightsalmon3" "lightsalmon4" "lightskyblue" "lightskyblue1" "lightskyblue2" "lightskyblue3" "lightskyblue4" "lightslateblue" "lightslategray" "lightyellow" "lightyellow1" "lightyellow2" "lightyellow3" "lightyellow4" "lime green" "linen" "magenta" "magenta1" "magenta2" "magenta3" "magenta4" "maroon" "maroon1" "maroon2" "maroon3" "maroon4" "medium aquamarine" "medium blue" "medium orchid" "medium purple" "medium sea green" "medium slate blue" "medium spring green" "medium turquoise" "medium violet red" "midnight blue" "mint cream" "mistyrose" "mistyrose" "mistyrose1" "mistyrose2" "mistyrose3" "moccasin" "navajo white" "navajowhite1" "navajowhite2" "navajowhite3" "navajowhite4" "navy" "navy blue" "old lace" "olive drab" "olivedrab1" "olivedrab2" "olivedrab3" "olivedrab4" "orange" "orange1" "orange2" "orange3" "orange4" "orange red" "orangered1" "orangered2" "orangered3" "orangered4" "orchid" "orchid1" "orchid2" "orchid3" "pale goldenrod" "pale green" "pale turquoise" "palevioletred" "palevioletred1" "palevioletred2" "palevioletred3" "palevioletred4" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 176 77 78 79 80 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 112 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 } // output[1]: visible = 1, type = 29, value = 16 // output[2]: visible = 1, type = 32, value = "beige" // page group: color // // // node Selector[14]: x = 928, y = 222, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_14" // input[2]: defaulting = 0, visible = 0, type = 32, value = "sienna" // input[3]: defaulting = 0, visible = 0, type = 29, value = 314 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "papaya whip" "peachpuff" "peachpuff1" "peachpuff2" "peachpuff3" "peachpuff4" "peru" "pink" "pink1" "pink2" "pink3" "pink4" "plum" "plum1" "plum2" "plum3" "plum4" "powder blue" "purple" "purple1" "purple2" "purple3" "purple4" "red" "red1" "red2" "red3" "red4" "rosy brown" "rosybrown1" "rosybrown" "rosybrown2" "rosybrown3" "rosybrown4" "royal blue" "royalblue1" "royalblue2" "royalblue3" "royalblue4" "saddle brown" "salmon" "salmon1" "salmon2" "salmon3" "salmon4" "sandy brown" "sea green" "seagreen1" "seagreen2" "seagreen3" "seagreen4" "seashell" "seashell1" "seashell2" "seashell3" "seashell4" "sienna" "sienna1" "sienna2" "sienna3" "sienna4" "sky blue" "skyblue1" "skyblue2" "skyblue3" "skyblue4" "slate blue" "slateblue1" "slateblue2" "slateblue3" "slateblue4" "snow" "snow1" "snow2" "snow3" "snow4" "spring green" "springgreen1" "springgreen2" "springgreen3" "springgreen4" "steel blue" "steelblue1" "steelblue2" "steelblue3" "steelblue4" "tan" "tan1" "tan2" "tan3" "tan4" "thistle" "thistle1" "thistle2" "thistle3" "thistle4" "tomato" "tomato1" "tomato2" "tomato3" "tomato4" "violet" "violet1" "violet2" "violet3" "violet4" "violet red" "violetred1" "violetred2" "violetred3" "violetred4" "wheat" "wheat1" "wheat2" "wheat3" "wheat4" "white" "white smoke" "yellow" "yellow1" "yellow2" "yellow3" "yellow4" "yellow green" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 } // output[1]: visible = 1, type = 29, value = 314 // output[2]: visible = 1, type = 32, value = "sienna" // page group: color // // // node Switch[2]: x = 755, y = 353, inputs = 4, label = Switch // page group: color // main_Switch_2_out_1 = Switch( main_Selector_16_out_1, main_Selector_15_out_2, main_Selector_13_out_2, main_Selector_14_out_2 ) [instance: 2, cache: 1]; // // node Light[8]: x = 779, y = 489, inputs = 3, label = Light // input[1]: defaulting = 0, visible = 1, type = 8, value = [0 0 5] // input[2]: defaulting = 1, visible = 1, type = 32, value = "blue" // page group: color // main_Light_8_out_1 = Light( main_Light_8_in_1, main_Switch_2_out_1, main_Light_8_in_3 ) [instance: 8, cache: 1]; // // node Route[7]: x = 820, y = 591, inputs = 2, outputs = 2, label = Route // page group: color // main_Route_7_out_1, main_Route_7_out_2 = Route( main_Toggle_7_out_1, main_Light_8_out_1 ) [instance: 7, cache: 1]; // // node Toggle[8]: x = 998, y = 482, inputs = 6, label = Toggle // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_8" // input[2]: defaulting = 0, visible = 0, type = 29, value = 0 // input[3]: defaulting = 0, visible = 0, type = 3, value = 0 // input[4]: defaulting = 1, visible = 1, type = 29, value = 1 // input[5]: defaulting = 1, visible = 1, type = 29, value = 0 // output[1]: visible = 1, type = 29, value = 0 // page group: color // toggle : 0 // // // node Selector[20]: x = 1028, y = 226, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_20" // input[2]: defaulting = 0, visible = 0, type = 32, value = "Color set 1" // input[3]: defaulting = 0, visible = 0, type = 29, value = 1 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "Color set 1" "Color set 2" "Color set 3" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 2 3 } // output[1]: visible = 1, type = 29, value = 1 // output[2]: visible = 1, type = 32, value = "Color set 1" // page group: color // // // node Selector[19]: x = 1113, y = 222, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_19" // input[2]: defaulting = 0, visible = 0, type = 32, value = "red" // input[3]: defaulting = 0, visible = 0, type = 29, value = 0 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "red" "green" "blue" "yellow" "orange" "purple" "black" "white" "cyan" "magenta" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 } // output[1]: visible = 1, type = 29, value = 0 // output[2]: visible = 1, type = 32, value = "red" // page group: color // // // node Selector[17]: x = 1209, y = 231, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_17" // input[2]: defaulting = 0, visible = 0, type = 32, value = "bisque4" // input[3]: defaulting = 0, visible = 0, type = 29, value = 21 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "aliceblue" "antiquewhite" "antiquewhite1" "antiquewhite2" "antiquewhite3" "antiquewhite4" "aquamarine" "aquamarine1" "aquamarine2" "aquamarine3" "aquamarine4" "azure" "azure1" "azure2" "azure3" "azure4" "beige" "bisque" "bisque1" "bisque2" "bisque3" "bisque4" "black" "blanchedalmond" "blue" "blue1" "blue2" "blue3" "blue4" "blueviolet" "brown" "brown1" "brown2" "brown3" "brown4" "burlywood" "burlywood1" "burlywood2" "burlywood3" "burlywood4" "cadetblue" "cadetblue1" "cadetblue2" "cadetblue3" "cadetblue4" "chartreuse" "chartreuse1" "chartreuse2" "chartreuse3" "chartreuse4" "chocolate1" "chocolate2" "chocolate3" "chocolate4" "coral" "coral1" "coral2" "coral3" "coral4" "cornflowerblue" "cornsilk" "cornsilk1" "cornsilk2" "cornsilk3" "cornsilk4" "cyan" "cyan1" "cyan2" "cyan3" "cyan4" "deep pink" "deeppink1" "deeppink2" "deeppink3" "deeppink4" "deep sky blue" "deepskyblue1" "deepskyblue2" "deepskyblue3" "deepskyblue4" "dodger blue" "dodgerblue1" "dodgerblue2" "dodgerblue3" "dodgerblue4" "firebrick" "firebrick1" "firebrick2" "firebrick3" "firebrick4" "floral white" "forest green" "gainsboro" "ghost white" "gold" "gold1" "gold2" "gold3" "gold4" "goldenrod" "goldenrod1" "goldenrod2" "goldenrod3" "goldenrod4" "gray" "gray1" "gray2" "gray3" "gray4" "gray5" "gray6" "gray7" "gray8" "gray9" "gray10" "gray20" "gray30" "gray40" "gray50" "gray60" "gray70" "gray80" "gray90" "gray100" "green" "green1" "green2" "green3" "green4" "greenyellow" "honeydew" "honeydew1" "honeydew2" "honeydew3" "honeydew4" "hot pink" "hotpink1" "hotpink2" "hotpink3" "hotpink4" "indianred" "indianred1" "indianred2" "indianred3" "indianred4" "khaki" "khaki1" "khaki2" "khaki3" "khaki4" "lavender" "lavender blush" "lavenderblush1" "lavenderblush2" "lavenderblush3" "lavenderblush4" "lawn green" "lemon chiffon" "lemonchiffon1" "lemonchiffon2" "lemonchiffon3" "lemonchiffon4" "light blue" "light coral" "light cyan" "light goldenrod" "light goldenrod yellow" "light green" "light pink" "lightpink1" "lightpink2" "lightpink3" "lightpink4" "lightsalmon" "lightsalmon1" "lightsalmon2" "lightsalmon3" "lightsalmon4" "lightskyblue" "lightskyblue1" "lightskyblue2" "lightskyblue3" "lightskyblue4" "lightslateblue" "lightslategray" "lightyellow" "lightyellow1" "lightyellow2" "lightyellow3" "lightyellow4" "lime green" "linen" "magenta" "magenta1" "magenta2" "magenta3" "magenta4" "maroon" "maroon1" "maroon2" "maroon3" "maroon4" "medium aquamarine" "medium blue" "medium orchid" "medium purple" "medium sea green" "medium slate blue" "medium spring green" "medium turquoise" "medium violet red" "midnight blue" "mint cream" "mistyrose" "mistyrose" "mistyrose1" "mistyrose2" "mistyrose3" "moccasin" "navajo white" "navajowhite1" "navajowhite2" "navajowhite3" "navajowhite4" "navy" "navy blue" "old lace" "olive drab" "olivedrab1" "olivedrab2" "olivedrab3" "olivedrab4" "orange" "orange1" "orange2" "orange3" "orange4" "orange red" "orangered1" "orangered2" "orangered3" "orangered4" "orchid" "orchid1" "orchid2" "orchid3" "pale goldenrod" "pale green" "pale turquoise" "palevioletred" "palevioletred1" "palevioletred2" "palevioletred3" "palevioletred4" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 176 77 78 79 80 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 112 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 } // output[1]: visible = 1, type = 29, value = 21 // output[2]: visible = 1, type = 32, value = "bisque4" // page group: color // // // node Selector[18]: x = 1302, y = 234, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_18" // input[2]: defaulting = 0, visible = 0, type = 32, value = "salmon1" // input[3]: defaulting = 0, visible = 0, type = 29, value = 299 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "papaya whip" "peachpuff" "peachpuff1" "peachpuff2" "peachpuff3" "peachpuff4" "peru" "pink" "pink1" "pink2" "pink3" "pink4" "plum" "plum1" "plum2" "plum3" "plum4" "powder blue" "purple" "purple1" "purple2" "purple3" "purple4" "red" "red1" "red2" "red3" "red4" "rosy brown" "rosybrown1" "rosybrown" "rosybrown2" "rosybrown3" "rosybrown4" "royal blue" "royalblue1" "royalblue2" "royalblue3" "royalblue4" "saddle brown" "salmon" "salmon1" "salmon2" "salmon3" "salmon4" "sandy brown" "sea green" "seagreen1" "seagreen2" "seagreen3" "seagreen4" "seashell" "seashell1" "seashell2" "seashell3" "seashell4" "sienna" "sienna1" "sienna2" "sienna3" "sienna4" "sky blue" "skyblue1" "skyblue2" "skyblue3" "skyblue4" "slate blue" "slateblue1" "slateblue2" "slateblue3" "slateblue4" "snow" "snow1" "snow2" "snow3" "snow4" "spring green" "springgreen1" "springgreen2" "springgreen3" "springgreen4" "steel blue" "steelblue1" "steelblue2" "steelblue3" "steelblue4" "tan" "tan1" "tan2" "tan3" "tan4" "thistle" "thistle1" "thistle2" "thistle3" "thistle4" "tomato" "tomato1" "tomato2" "tomato3" "tomato4" "violet" "violet1" "violet2" "violet3" "violet4" "violet red" "violetred1" "violetred2" "violetred3" "violetred4" "wheat" "wheat1" "wheat2" "wheat3" "wheat4" "white" "white smoke" "yellow" "yellow1" "yellow2" "yellow3" "yellow4" "yellow green" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 } // output[1]: visible = 1, type = 29, value = 299 // output[2]: visible = 1, type = 32, value = "salmon1" // page group: color // // // node Switch[3]: x = 1129, y = 365, inputs = 4, label = Switch // page group: color // main_Switch_3_out_1 = Switch( main_Selector_20_out_1, main_Selector_19_out_2, main_Selector_17_out_2, main_Selector_18_out_2 ) [instance: 3, cache: 1]; // // node Light[7]: x = 1115, y = 478, inputs = 3, label = Light // input[1]: defaulting = 0, visible = 1, type = 8, value = [0 0 -10] // input[2]: defaulting = 1, visible = 1, type = 32, value = "blue" // page group: color // main_Light_7_out_1 = Light( main_Light_7_in_1, main_Switch_3_out_1, main_Light_7_in_3 ) [instance: 7, cache: 1]; // // node Route[8]: x = 1028, y = 569, inputs = 2, outputs = 2, label = Route // page group: color // main_Route_8_out_1, main_Route_8_out_2 = Route( main_Toggle_8_out_1, main_Light_7_out_1 ) [instance: 8, cache: 1]; // // node Toggle[9]: x = 1281, y = 582, inputs = 6, label = Toggle // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_9" // input[2]: defaulting = 0, visible = 0, type = 29, value = 0 // input[3]: defaulting = 0, visible = 0, type = 3, value = 0 // input[4]: defaulting = 1, visible = 1, type = 29, value = 1 // input[5]: defaulting = 1, visible = 1, type = 29, value = 0 // output[1]: visible = 1, type = 29, value = 0 // page group: color // toggle : 0 // // // node Route[9]: x = 1311, y = 669, inputs = 2, outputs = 2, label = Route // page group: color // main_Route_9_out_1, main_Route_9_out_2 = Route( main_Toggle_9_out_1, main_AmbientLight_4_out_1 ) [instance: 9, cache: 1]; // // node Collect[33]: x = 1013, y = 769, inputs = 3, label = Collect // page group: color // main_Collect_33_out_1 = Collect( main_Route_7_out_1, main_Route_8_out_1, main_Route_9_out_1 ) [instance: 33, cache: 1]; // // node Transmitter[11]: x = 1030, y = 853, inputs = 1, label = Ligjts // page group: color // Ligjts = main_Collect_33_out_1; // // node Receiver[23]: x = 618, y = 675, inputs = 1, label = Ligjts // page group: color // main_Receiver_23_out_1[cache: 0] = Ligjts; // // node Collect[32]: x = 539, y = 765, inputs = 3, label = Collect // page group: color // main_Collect_32_out_1 = Collect( main_Receiver_24_out_1, main_Receiver_23_out_1, main_Collect_32_in_3 ) [instance: 32, cache: 1]; // // node Image[20]: x = 536, y = 827, inputs = 49, label = Image // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_20" // input[4]: defaulting = 0, visible = 0, type = 1, value = 1 // input[5]: defaulting = 0, visible = 0, type = 8, value = [0 0 0] // input[6]: defaulting = 0, visible = 0, type = 8, value = [1.97437 -7.36385 1.97437] // input[7]: defaulting = 1, visible = 0, type = 5, value = 4.22043 // input[8]: defaulting = 0, visible = 0, type = 1, value = 811 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.946 // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 0 1] // input[11]: defaulting = 0, visible = 0, type = 5, value = 30.0 // input[12]: defaulting = 0, visible = 0, type = 1, value = 1 // input[14]: defaulting = 0, visible = 0, type = 1, value = 1 // input[15]: defaulting = 1, visible = 0, type = 32, value = "none" // input[16]: defaulting = 1, visible = 0, type = 32, value = "none" // input[17]: defaulting = 1, visible = 0, type = 1, value = 1 // input[18]: defaulting = 1, visible = 0, type = 1, value = 1 // input[19]: defaulting = 0, visible = 0, type = 3, value = 0 // input[25]: defaulting = 0, visible = 0, type = 32, value = "cut3.tiff" // input[26]: defaulting = 0, visible = 0, type = 32, value = "tiff" // input[29]: defaulting = 0, visible = 0, type = 3, value = 1 // input[33]: defaulting = 0, visible = 0, type = 3, value = 0 // input[36]: defaulting = 0, visible = 0, type = 3, value = 1 // input[41]: defaulting = 0, visible = 0, type = 32, value = "none" // page group: color // depth: value = 16 // window: position = (0.4369,0.0000), size = 0.5156x0.6336 // internal caching: 1 // main_Image_20_out_1, main_Image_20_out_2, main_Image_20_out_3 = Image( main_Image_20_in_1, main_Collect_32_out_1, main_Image_20_in_3, main_Image_20_in_4, main_Image_20_in_5, main_Image_20_in_6, main_Image_20_in_7, main_Image_20_in_8, main_Image_20_in_9, main_Image_20_in_10, main_Image_20_in_11, main_Image_20_in_12, main_Image_20_in_13, main_Image_20_in_14, main_Image_20_in_15, main_Image_20_in_16, main_Image_20_in_17, main_Image_20_in_18, main_Image_20_in_19, main_Image_20_in_20, main_Image_20_in_21, main_Image_20_in_22, main_Image_20_in_23, main_Image_20_in_24, main_Image_20_in_25, main_Image_20_in_26, main_Image_20_in_27, main_Image_20_in_28, main_Image_20_in_29, main_Image_20_in_30, main_Image_20_in_31, main_Image_20_in_32, main_Image_20_in_33, main_Image_20_in_34, main_Image_20_in_35, main_Image_20_in_36, main_Image_20_in_37, main_Image_20_in_38, main_Image_20_in_39, main_Image_20_in_40, main_Image_20_in_41, main_Image_20_in_42, main_Image_20_in_43, main_Image_20_in_44, main_Image_20_in_45, main_Image_20_in_46, main_Image_20_in_47, main_Image_20_in_48, main_Image_20_in_49 ) [instance: 20, cache: 1]; // // decorator Annotate pos=(382,179) size=70x44 style(Label), value = // annotation user_begin: 12 // annotation user: OBJECT // annotation user: COLOR // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_CENTER // resource *decorator.foreground:#0021ff // page group: color // // decorator Annotate pos=(684,485) size=63x44 style(Label), value = // annotation user_begin: 11 // annotation user: FRONT // annotation user: LIGHT // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_CENTER // resource *decorator.foreground:#0021ff // page group: color // // decorator Annotate pos=(984,434) size=53x44 style(Label), value = // annotation user_begin: 10 // annotation user: BACK // annotation user: LIGHT // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_CENTER // resource *decorator.foreground:#0021ff // page group: color // // decorator Annotate pos=(1274,525) size=77x44 style(Label), value = // annotation user_begin: 13 // annotation user: AMBIENT // annotation user: LIGHT // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_CENTER // resource *decorator.foreground:#0021ff // page group: color // network: end of macro body CacheScene(main_Image_20_in_1, main_Image_20_out_1, main_Image_20_out_2); } main_Selector_24_in_1 = "Selector_24"; main_Selector_24_in_2 = "Color set 1" ; main_Selector_24_in_3 = 1 ; main_Selector_24_in_4 = NULL; main_Selector_24_in_5 = NULL; main_Selector_24_in_6 = NULL; main_Selector_24_in_7 = NULL; main_Selector_24_out_1 = 1 ; main_Selector_23_in_1 = "Selector_23"; main_Selector_23_in_2 = "white" ; main_Selector_23_in_3 = 7 ; main_Selector_23_in_4 = NULL; main_Selector_23_in_5 = NULL; main_Selector_23_in_6 = NULL; main_Selector_23_in_7 = NULL; main_Selector_23_out_2 = "white" ; main_Selector_21_in_1 = "Selector_21"; main_Selector_21_in_2 = "dodger blue" ; main_Selector_21_in_3 = 86 ; main_Selector_21_in_4 = NULL; main_Selector_21_in_5 = NULL; main_Selector_21_in_6 = NULL; main_Selector_21_in_7 = NULL; main_Selector_21_out_2 = "dodger blue" ; main_Selector_22_in_1 = "Selector_22"; main_Selector_22_in_2 = "tomato" ; main_Selector_22_in_3 = 353 ; main_Selector_22_in_4 = NULL; main_Selector_22_in_5 = NULL; main_Selector_22_in_6 = NULL; main_Selector_22_in_7 = NULL; main_Selector_22_out_2 = "tomato" ; main_Switch_4_out_1 = NULL; main_AmbientLight_4_out_1 = NULL; main_Toggle_10_in_1 = "Toggle_10"; main_Toggle_10_in_2 = 1; main_Toggle_10_in_3 = 1; main_Toggle_10_in_4 = NULL; main_Toggle_10_in_5 = NULL; main_Toggle_10_in_6 = NULL; main_Toggle_10_out_1 = 1; main_Compute_52_in_1 = "$0+1"; main_Compute_52_in_3 = NULL; main_Compute_52_out_1 = NULL; main_Construct_5_in_1 = {[-1 -1 -1]}; main_Construct_5_in_2 = {[0.1 0.1 0.1]}; main_Construct_5_in_3 = [42 42 42]; main_Construct_5_in_4 = NULL; main_Construct_5_out_1 = NULL; main_Replace_1_in_3 = "positions"; main_Replace_1_in_4 = NULL; main_Replace_1_out_1 = NULL; main_Compute_51_in_1 = "mag($0)"; main_Compute_51_in_3 = NULL; main_Compute_51_out_1 = NULL; main_Isosurface_19_in_2 = 1.0; main_Isosurface_19_in_3 = NULL; main_Isosurface_19_in_4 = NULL; main_Isosurface_19_in_5 = NULL; main_Isosurface_19_in_6 = NULL; main_Isosurface_19_out_1 = NULL; main_Color_2_in_2 = "orange"; main_Color_2_in_3 = NULL; main_Color_2_in_4 = NULL; main_Color_2_in_5 = NULL; main_Color_2_out_1 = NULL; main_Transmitter_13_out_1 = NULL; main_Receiver_25_out_1 = NULL; main_Selector_12_in_1 = "Selector_12"; main_Selector_12_in_2 = "Color set 2" ; main_Selector_12_in_3 = 2 ; main_Selector_12_in_4 = NULL; main_Selector_12_in_5 = NULL; main_Selector_12_in_6 = NULL; main_Selector_12_in_7 = NULL; main_Selector_12_out_1 = 2 ; main_Selector_10_in_1 = "Selector_10"; main_Selector_10_in_2 = "magenta" ; main_Selector_10_in_3 = 9 ; main_Selector_10_in_4 = NULL; main_Selector_10_in_5 = NULL; main_Selector_10_in_6 = NULL; main_Selector_10_in_7 = NULL; main_Selector_10_out_2 = "magenta" ; main_Selector_1_in_1 = "Selector_1"; main_Selector_1_in_2 = "cornflowerblue" ; main_Selector_1_in_3 = 59 ; main_Selector_1_in_4 = NULL; main_Selector_1_in_5 = NULL; main_Selector_1_in_6 = NULL; main_Selector_1_in_7 = NULL; main_Selector_1_out_2 = "cornflowerblue" ; main_Selector_9_in_1 = "Selector_9"; main_Selector_9_in_2 = "violet4" ; main_Selector_9_in_3 = 367 ; main_Selector_9_in_4 = NULL; main_Selector_9_in_5 = NULL; main_Selector_9_in_6 = NULL; main_Selector_9_in_7 = NULL; main_Selector_9_out_2 = "violet4" ; main_Switch_1_out_1 = NULL; main_Route_10_out_1 = NULL; main_Color_1_in_3 = NULL; main_Color_1_in_4 = NULL; main_Color_1_in_5 = NULL; main_Color_1_out_1 = NULL; main_Switch_5_out_1 = NULL; main_Normals_5_in_2 = "positions"; main_Normals_5_out_1 = NULL; main_Transmitter_12_out_1 = NULL; main_Receiver_24_out_1 = NULL; main_Toggle_7_in_1 = "Toggle_7"; main_Toggle_7_in_2 = 0; main_Toggle_7_in_3 = 0; main_Toggle_7_in_4 = NULL; main_Toggle_7_in_5 = NULL; main_Toggle_7_in_6 = NULL; main_Toggle_7_out_1 = 0; main_Selector_16_in_1 = "Selector_16"; main_Selector_16_in_2 = "Color set 1" ; main_Selector_16_in_3 = 1 ; main_Selector_16_in_4 = NULL; main_Selector_16_in_5 = NULL; main_Selector_16_in_6 = NULL; main_Selector_16_in_7 = NULL; main_Selector_16_out_1 = 1 ; main_Selector_15_in_1 = "Selector_15"; main_Selector_15_in_2 = "white" ; main_Selector_15_in_3 = 7 ; main_Selector_15_in_4 = NULL; main_Selector_15_in_5 = NULL; main_Selector_15_in_6 = NULL; main_Selector_15_in_7 = NULL; main_Selector_15_out_2 = "white" ; main_Selector_13_in_1 = "Selector_13"; main_Selector_13_in_2 = "beige" ; main_Selector_13_in_3 = 16 ; main_Selector_13_in_4 = NULL; main_Selector_13_in_5 = NULL; main_Selector_13_in_6 = NULL; main_Selector_13_in_7 = NULL; main_Selector_13_out_2 = "beige" ; main_Selector_14_in_1 = "Selector_14"; main_Selector_14_in_2 = "sienna" ; main_Selector_14_in_3 = 314 ; main_Selector_14_in_4 = NULL; main_Selector_14_in_5 = NULL; main_Selector_14_in_6 = NULL; main_Selector_14_in_7 = NULL; main_Selector_14_out_2 = "sienna" ; main_Switch_2_out_1 = NULL; main_Light_8_in_1 = [0 0 5]; main_Light_8_in_3 = NULL; main_Light_8_out_1 = NULL; main_Route_7_out_1 = NULL; main_Toggle_8_in_1 = "Toggle_8"; main_Toggle_8_in_2 = 0; main_Toggle_8_in_3 = 0; main_Toggle_8_in_4 = NULL; main_Toggle_8_in_5 = NULL; main_Toggle_8_in_6 = NULL; main_Toggle_8_out_1 = 0; main_Selector_20_in_1 = "Selector_20"; main_Selector_20_in_2 = "Color set 1" ; main_Selector_20_in_3 = 1 ; main_Selector_20_in_4 = NULL; main_Selector_20_in_5 = NULL; main_Selector_20_in_6 = NULL; main_Selector_20_in_7 = NULL; main_Selector_20_out_1 = 1 ; main_Selector_19_in_1 = "Selector_19"; main_Selector_19_in_2 = "red" ; main_Selector_19_in_3 = 0 ; main_Selector_19_in_4 = NULL; main_Selector_19_in_5 = NULL; main_Selector_19_in_6 = NULL; main_Selector_19_in_7 = NULL; main_Selector_19_out_2 = "red" ; main_Selector_17_in_1 = "Selector_17"; main_Selector_17_in_2 = "bisque4" ; main_Selector_17_in_3 = 21 ; main_Selector_17_in_4 = NULL; main_Selector_17_in_5 = NULL; main_Selector_17_in_6 = NULL; main_Selector_17_in_7 = NULL; main_Selector_17_out_2 = "bisque4" ; main_Selector_18_in_1 = "Selector_18"; main_Selector_18_in_2 = "salmon1" ; main_Selector_18_in_3 = 299 ; main_Selector_18_in_4 = NULL; main_Selector_18_in_5 = NULL; main_Selector_18_in_6 = NULL; main_Selector_18_in_7 = NULL; main_Selector_18_out_2 = "salmon1" ; main_Switch_3_out_1 = NULL; main_Light_7_in_1 = [0 0 -10]; main_Light_7_in_3 = NULL; main_Light_7_out_1 = NULL; main_Route_8_out_1 = NULL; main_Toggle_9_in_1 = "Toggle_9"; main_Toggle_9_in_2 = 0; main_Toggle_9_in_3 = 0; main_Toggle_9_in_4 = NULL; main_Toggle_9_in_5 = NULL; main_Toggle_9_in_6 = NULL; main_Toggle_9_out_1 = 0; main_Route_9_out_1 = NULL; main_Collect_33_out_1 = NULL; main_Transmitter_11_out_1 = NULL; main_Receiver_23_out_1 = NULL; main_Collect_32_in_3 = NULL; main_Collect_32_out_1 = NULL; macro Image( id, object, where, useVector, to, from, width, resolution, aspect, up, viewAngle, perspective, options, buttonState = 1, buttonUpApprox = "none", buttonDownApprox = "none", buttonUpDensity = 1, buttonDownDensity = 1, renderMode = 0, defaultCamera, reset, backgroundColor, throttle, RECenable = 0, RECfile, RECformat, RECresolution, RECaspect, AAenable = 0, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, interactionMode, title, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels, webOptions) -> ( object, camera, where) { ImageMessage( id, backgroundColor, throttle, RECenable, RECfile, RECformat, RECresolution, RECaspect, AAenable, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels, interactionMode, title, renderMode, buttonUpApprox, buttonDownApprox, buttonUpDensity, buttonDownDensity) [instance: 1, cache: 1]; autoCamera = AutoCamera( object, "front", object, resolution, aspect, [0,1,0], perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; realCamera = Camera( to, from, width, resolution, aspect, up, perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; coloredDefaultCamera = UpdateCamera(defaultCamera, background=backgroundColor) [instance: 1, cache: 1]; nullDefaultCamera = Inquire(defaultCamera, "is null + 1") [instance: 1, cache: 1]; resetCamera = Switch( nullDefaultCamera, coloredDefaultCamera, autoCamera) [instance: 1, cache: 1]; resetNull = Inquire( reset, "is null + 1") [instance: 2, cache: 1]; reset = Switch( resetNull, reset, 0) [instance: 2, cache: 1]; whichCamera = Compute( "($0 != 0 || $1 == 0) ? 1 : 2", reset, useVector) [instance: 1, cache: 1]; camera = Switch( whichCamera, resetCamera, realCamera) [instance: 3, cache: 1]; AAobject = AutoAxes( object, camera, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels) [instance: 1, cache: 1]; switchAAenable = Compute("$0+1", AAenable) [instance: 2, cache: 1]; object = Switch( switchAAenable, object, AAobject) [instance:4, cache: 1]; SWapproximation_options = Switch( buttonState, buttonUpApprox, buttonDownApprox) [instance: 5, cache: 1]; SWdensity_options = Switch( buttonState, buttonUpDensity, buttonDownDensity) [instance: 6, cache: 1]; HWapproximation_options = Format( "%s,%s", buttonDownApprox, buttonUpApprox) [instance: 1, cache: 1]; HWdensity_options = Format( "%d,%d", buttonDownDensity, buttonUpDensity) [instance: 2, cache: 1]; switchRenderMode = Compute( "$0+1", renderMode) [instance: 3, cache: 1]; approximation_options = Switch( switchRenderMode, SWapproximation_options, HWapproximation_options) [instance: 7, cache: 1]; density_options = Switch( switchRenderMode, SWdensity_options, HWdensity_options) [instance: 8, cache: 1]; renderModeString = Switch( switchRenderMode, "software", "hardware")[instance: 9, cache: 1]; object_tag = Inquire( object, "object tag")[instance: 3, cache: 1]; annoted_object = Options( object, "send boxes", 0, "cache", 1, "object tag", object_tag, "ddcamera", whichCamera, "rendering approximation", approximation_options, "render every", density_options, "button state", buttonState, "rendering mode", renderModeString) [instance: 1, cache: 1]; RECresNull = Inquire( RECresolution, "is null + 1") [instance: 4, cache: 1]; ImageResolution = Inquire( camera, "camera resolution") [instance: 5, cache: 1]; RECresolution = Switch( RECresNull, RECresolution, ImageResolution) [instance: 10, cache: 1]; RECaspectNull = Inquire( RECaspect, "is null + 1") [instance: 6, cache: 1]; ImageAspect = Inquire( camera, "camera aspect") [instance: 7, cache: 1]; RECaspect = Switch( RECaspectNull, RECaspect, ImageAspect) [instance: 11, cache: 1]; switchRECenable = Compute( "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4", RECenable, switchRenderMode, RECresolution, ImageResolution, RECaspect, ImageAspect) [instance: 4, cache: 1]; NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object); Display( NoRECobject, camera, where, throttle) [instance: 1, cache: 1]; image = Render( RECNoRerenderObject, camera) [instance: 1, cache: 1]; Display( image, NULL, where, throttle) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 1, cache: 1]; rec_where = Display( RECNoRerHW, camera, where, throttle) [instance: 1, cache: 0]; rec_image = ReadImageWindow( rec_where) [instance: 1, cache: 1]; WriteImage( rec_image, RECfile, RECformat) [instance: 1, cache: 1]; RECupdateCamera = UpdateCamera( camera, resolution=RECresolution, aspect=RECaspect) [instance: 2, cache: 1]; Display( RECRerenderObject, camera, where, throttle) [instance: 1, cache: 1]; RECRerenderObject = ScaleScreen( RECRerenderObject, NULL, RECresolution, camera) [instance: 1, cache: 1]; image = Render( RECRerenderObject, RECupdateCamera) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 2, cache: 1]; } main_Image_20_in_1 = "Image_20"; main_Image_20_in_3 = "X16,,"; main_Image_20_in_4 = 1; main_Image_20_in_5 = [0 0 0]; main_Image_20_in_6 = [1.97437 -7.36385 1.97437]; main_Image_20_in_7 = NULL; main_Image_20_in_8 = 811; main_Image_20_in_9 = 0.946; main_Image_20_in_10 = [0 0 1]; main_Image_20_in_11 = 30.0; main_Image_20_in_12 = 1; main_Image_20_in_13 = NULL; main_Image_20_in_14 = 1; main_Image_20_in_15 = NULL; main_Image_20_in_16 = NULL; main_Image_20_in_17 = NULL; main_Image_20_in_18 = NULL; main_Image_20_in_19 = 0; main_Image_20_in_20 = NULL; main_Image_20_in_21 = NULL; main_Image_20_in_22 = NULL; main_Image_20_in_23 = NULL; main_Image_20_in_25 = "cut3.tiff"; main_Image_20_in_26 = "tiff"; main_Image_20_in_27 = NULL; main_Image_20_in_28 = NULL; main_Image_20_in_29 = 1; main_Image_20_in_30 = NULL; main_Image_20_in_31 = NULL; main_Image_20_in_32 = NULL; main_Image_20_in_33 = 0; main_Image_20_in_34 = NULL; main_Image_20_in_35 = NULL; main_Image_20_in_36 = 1; main_Image_20_in_37 = NULL; main_Image_20_in_38 = NULL; main_Image_20_in_39 = NULL; main_Image_20_in_40 = NULL; main_Image_20_in_41 = "none"; main_Image_20_in_42 = NULL; main_Image_20_in_43 = NULL; main_Image_20_in_44 = NULL; main_Image_20_in_45 = NULL; main_Image_20_in_46 = NULL; main_Image_20_in_47 = NULL; main_Image_20_in_48 = NULL; main_Image_20_in_49 = NULL; Executive("product version 4 1 3"); $sync main();