Преглед изворни кода

cleaned identityControl in a subpatch

Etienne Landon пре 8 година
родитељ
комит
8501e36444
1 измењених фајлова са 144 додато и 114 уклоњено
  1. 144 114
      main.pd

+ 144 - 114
main.pd

@@ -172,8 +172,6 @@
 #X restore 100 98 pd listBones;
 #X msg 42 155 ---;
 #X obj 41 4 declare -path extra;
-#X obj 278 60 flatgui/popup 124 25 #ffffff poses tpose larm;
-#X obj 278 39 r poses-popup;
 #X obj 469 88 flatgui/popup 124 25 #ffffff bones head neck spine_base
 right_hip right_knee right_shoulder right_thumb right_wrist spine_mid
 spine_shoulder left_ankle left_elbow left_foot left_hand left_hand_tip
@@ -184,20 +182,10 @@ right_elbow right_foot right_hand right_hand_tip;
 #X floatatom 506 286 5 0 0 0 - - -, f 5;
 #X floatatom 531 311 5 0 0 0 - - -, f 5;
 #X floatatom 552 335 5 0 0 0 - - -, f 5;
-#N canvas 0 50 615 554 toUE4 1;
+#N canvas 454 290 767 554 toUE4 1;
 #X obj 19 211 list trim;
 #X obj 19 233 mrpeach/packOSC;
-#X msg 377 79 /sequence A;
 #X obj 138 214 loadbang;
-#X msg 300 53 /blend \$1;
-#X obj 316 -92 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
--1 -1 0 1;
-#X msg 324 113 /sequence/rate \$1;
-#X floatatom 323 92 5 0 0 0 - - -, f 5;
-#X floatatom 206 115 5 0 0 0 - - -, f 5;
-#X msg 205 135 /avatar0317/rate \$1;
-#X floatatom 206 155 5 0 0 0 - - -, f 5;
-#X msg 205 175 /avatar0317/pos \$1;
 #X obj 14 148 r toUE4;
 #X obj 37 407 list prepend set;
 #X obj 37 429 list trim;
@@ -225,57 +213,73 @@ right_elbow right_foot right_hand right_hand_tip;
 #X obj 307 374 r fromUE4;
 #X obj 18 282 == 0;
 #X obj 18 304 metro 500;
-#X msg 31 35 /avatar/blendPoses \$1;
-#X obj 54 -100 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
+#X msg 275 23 /avatar/blendPoses \$1;
+#X obj 298 -112 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
 -1 -1 12700 1;
 #X msg 138 234 disconnect \, connect 127.0.0.1 8001;
 #X obj 18 260 mrpeach/udpsend;
+#X msg 439 195 /avatar/idleWalkRun/speed \$1;
+#X obj 439 52 vsl 15 128 0 100 0 0 empty empty empty 0 -9 0 10 -262144
+-1 -1 1905 1;
+#X floatatom 471 -40 5 0 0 0 - - -, f 5;
+#X obj 620 -50 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X msg 620 -30 /scene/camera \$1;
+#X obj 472 -66 line;
+#X msg 469 11 /avatar/springCam/position \$1 \$2 \$3;
+#X obj 472 -15 pack f f f;
+#X msg 468 -104 -2000 \, 0 5000;
+#X msg 397 125 15;
 #X connect 0 0 1 0;
-#X connect 1 0 42 0;
-#X connect 2 0 1 0;
-#X connect 3 0 41 0;
-#X connect 4 0 1 0;
-#X connect 5 0 4 0;
-#X connect 6 0 1 0;
-#X connect 7 0 6 0;
-#X connect 8 0 9 0;
-#X connect 12 0 0 0;
-#X connect 13 0 14 0;
-#X connect 14 0 16 0;
-#X connect 15 0 18 0;
+#X connect 1 0 33 0;
+#X connect 2 0 32 0;
+#X connect 3 0 0 0;
+#X connect 4 0 5 0;
+#X connect 5 0 7 0;
+#X connect 6 0 9 0;
+#X connect 7 0 8 0;
+#X connect 7 1 9 0;
+#X connect 7 2 6 0;
+#X connect 9 0 14 0;
+#X connect 10 0 13 0;
+#X connect 10 0 14 0;
+#X connect 11 0 12 0;
+#X connect 11 1 9 1;
+#X connect 12 0 9 1;
+#X connect 13 0 11 0;
+#X connect 14 0 8 0;
+#X connect 15 0 4 0;
 #X connect 16 0 17 0;
-#X connect 16 1 18 0;
-#X connect 16 2 15 0;
-#X connect 18 0 23 0;
-#X connect 19 0 22 0;
-#X connect 19 0 23 0;
-#X connect 20 0 21 0;
-#X connect 20 1 18 1;
-#X connect 21 0 18 1;
-#X connect 22 0 20 0;
-#X connect 23 0 17 0;
-#X connect 24 0 13 0;
-#X connect 25 0 26 0;
-#X connect 26 0 28 0;
-#X connect 27 0 30 0;
+#X connect 17 0 19 0;
+#X connect 18 0 21 0;
+#X connect 19 0 20 0;
+#X connect 19 1 21 0;
+#X connect 19 2 18 0;
+#X connect 21 0 26 0;
+#X connect 22 0 25 0;
+#X connect 22 0 26 0;
+#X connect 23 0 24 0;
+#X connect 23 1 21 1;
+#X connect 24 0 21 1;
+#X connect 25 0 23 0;
+#X connect 26 0 20 0;
+#X connect 27 0 16 0;
 #X connect 28 0 29 0;
-#X connect 28 1 30 0;
-#X connect 28 2 27 0;
-#X connect 30 0 35 0;
-#X connect 31 0 34 0;
-#X connect 31 0 35 0;
+#X connect 29 0 32 0;
+#X connect 30 0 0 0;
+#X connect 31 0 30 0;
 #X connect 32 0 33 0;
-#X connect 32 1 30 1;
-#X connect 33 0 30 1;
-#X connect 34 0 32 0;
-#X connect 35 0 29 0;
-#X connect 36 0 25 0;
+#X connect 33 0 28 0;
+#X connect 34 0 1 0;
+#X connect 35 0 34 0;
+#X connect 36 0 41 0;
 #X connect 37 0 38 0;
-#X connect 38 0 41 0;
-#X connect 39 0 0 0;
-#X connect 40 0 39 0;
-#X connect 41 0 42 0;
-#X connect 42 0 37 0;
+#X connect 38 0 1 0;
+#X connect 39 0 36 0;
+#X connect 40 0 1 0;
+#X connect 41 0 40 0;
+#X connect 42 0 39 0;
+#X connect 43 0 35 0;
 #X restore 100 497 pd toUE4;
 #N canvas 0 50 450 300 todo 0;
 #X text 16 20 add gem rendering through spout for JA monitor with;
@@ -284,70 +288,96 @@ right_elbow right_foot right_hand right_hand_tip;
 #X obj 42 29 mrpeach/udpreceive 8000;
 #X obj 475 198 route bone;
 #X obj 475 260 unpack s f f f;
-#X obj 210 162 r poses-in;
-#X obj 210 184 route pose;
-#X obj 210 226 > 0.85;
-#X obj 210 248 route 1;
-#X floatatom 266 221 5 0 0 0 - - -, f 5;
-#X obj 214 277 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+#X msg 100 519 ---;
+#X msg 153 542 ---;
+#N canvas 0 50 817 738 identityControl 0;
+#X obj 101 119 cnv 15 328 90 empty identityControl-state empty 20 12
+0 14 -261689 -262144 0;
+#X obj 228 126 flatgui/popup 124 25 #ffffff poses tpose larm;
+#X obj 248 65 r poses-popup;
+#X obj 150 278 r poses-in;
+#X obj 150 300 route pose;
+#X obj 150 342 > 0.85;
+#X obj 150 364 route 1;
+#X floatatom 206 337 5 0 0 0 - - -, f 5;
+#X obj 154 393 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
 -1 -1;
-#X obj 315 165 r poses-in;
-#X obj 315 187 route pose;
-#X obj 315 229 > 0.85;
-#X floatatom 371 224 5 0 0 0 - - -, f 5;
-#X obj 319 280 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+#X obj 255 281 r poses-in;
+#X obj 255 303 route pose;
+#X obj 255 345 > 0.85;
+#X floatatom 311 340 5 0 0 0 - - -, f 5;
+#X obj 259 396 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
 -1 -1;
-#X obj 308 120 flatgui/popup 124 25 #ffffff poses tpose larm;
-#X obj 308 99 r poses-popup;
-#X msg 270 423 /avatar/blendPoses \$1;
-#X obj 293 288 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
+#X obj 228 166 flatgui/popup 124 25 #ffffff poses tpose larm;
+#X msg 210 539 /avatar/blendPoses \$1;
+#X obj 233 404 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
 -1 -1 0 1;
-#X obj 251 465 s toUE4;
-#X msg 239 273 1;
-#X msg 339 274 0;
-#X obj 364 304 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#X obj 191 581 s toUE4;
+#X msg 179 389 1;
+#X msg 279 390 0;
+#X obj 304 420 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
 1;
-#X obj 315 251 route 1;
-#X obj 364 324 change;
-#X msg 364 354 \$1 500;
-#X obj 364 376 line;
-#X msg 100 519 ---;
-#X msg 153 542;
+#X obj 255 367 route 1;
+#X obj 304 440 change;
+#X msg 304 470 \$1 500;
+#X obj 304 492 line;
+#X text 356 129 IN pose;
+#X text 354 170 OUT pose;
+#X floatatom 169 124 5 0 0 0 threshold - -, f 5;
+#X obj 168 55 loadbang;
+#X msg 168 77 0.83;
+#X obj 371 443 route 0 1;
+#X obj 375 516 s identityControl-state;
+#X obj 370 421 loadbang;
+#X msg 371 465 color 3;
+#X msg 399 485 color 6;
+#X connect 1 1 4 1;
+#X connect 2 0 1 0;
+#X connect 2 0 14 0;
+#X connect 3 0 4 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 8 0;
+#X connect 6 0 18 0;
+#X connect 7 0 5 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 0;
+#X connect 11 0 21 0;
+#X connect 12 0 11 1;
+#X connect 14 1 10 1;
+#X connect 15 0 17 0;
+#X connect 16 0 15 0;
+#X connect 18 0 20 0;
+#X connect 19 0 20 0;
+#X connect 20 0 22 0;
+#X connect 20 0 30 0;
+#X connect 21 0 13 0;
+#X connect 21 0 19 0;
+#X connect 22 0 23 0;
+#X connect 23 0 24 0;
+#X connect 24 0 16 0;
+#X connect 27 0 5 1;
+#X connect 27 0 11 1;
+#X connect 28 0 29 0;
+#X connect 29 0 27 0;
+#X connect 30 0 33 0;
+#X connect 30 1 34 0;
+#X connect 32 0 33 0;
+#X connect 33 0 31 0;
+#X connect 34 0 31 0;
+#X coords 0 -1 1 1 330 110 1 100 100;
+#X restore 26 214 pd identityControl;
 #X connect 0 0 2 0;
 #X connect 0 1 3 0;
 #X connect 1 0 0 0;
 #X connect 2 0 4 0;
-#X connect 6 1 20 1;
+#X connect 6 1 15 1;
 #X connect 7 0 6 0;
-#X connect 8 1 17 1;
-#X connect 9 0 8 0;
-#X connect 10 0 17 0;
-#X connect 14 0 42 0;
-#X connect 14 1 43 0;
-#X connect 16 0 1 0;
-#X connect 17 0 18 0;
-#X connect 18 1 11 0;
-#X connect 18 2 12 0;
-#X connect 18 3 13 0;
-#X connect 19 0 20 0;
-#X connect 20 0 21 0;
-#X connect 21 0 22 0;
-#X connect 22 0 24 0;
-#X connect 22 0 35 0;
-#X connect 23 0 21 1;
-#X connect 25 0 26 0;
-#X connect 26 0 27 0;
-#X connect 27 0 38 0;
-#X connect 28 0 27 1;
-#X connect 30 1 26 1;
-#X connect 31 0 30 0;
-#X connect 32 0 34 0;
-#X connect 33 0 32 0;
-#X connect 35 0 37 0;
-#X connect 36 0 37 0;
-#X connect 37 0 39 0;
-#X connect 38 0 29 0;
-#X connect 38 0 36 0;
-#X connect 39 0 40 0;
-#X connect 40 0 41 0;
-#X connect 41 0 33 0;
+#X connect 8 0 15 0;
+#X connect 12 0 17 0;
+#X connect 12 1 18 0;
+#X connect 14 0 1 0;
+#X connect 15 0 16 0;
+#X connect 16 1 9 0;
+#X connect 16 2 10 0;
+#X connect 16 3 11 0;