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

changed default port of KinectPoseDetector to 7000
changed default port of pd to unreal to 8000 (unreal default)
started making modes as externals objects with $0 locality parameters

Etienne Landon пре 8 година
родитељ
комит
88f0457b11

+ 1 - 1
KinectPoseDetectorv2/Start-displayAll.bat

@@ -1 +1 @@
-start KinectPose.exe --display-all
+start KinectPose.exe --display-all --port 7000

+ 1 - 1
KinectPoseDetectorv2/Start-reset.bat

@@ -1 +1 @@
-start KinectPose.exe --display-all --reset
+start KinectPose.exe --display-all --reset --port 7000

Разлика између датотеке није приказан због своје велике величине
+ 2 - 0
KinectPoseDetectorv2/poses-old.xml


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
KinectPoseDetectorv2/poses.xml


+ 100 - 101
extra/animPlayer.pd

@@ -1,14 +1,13 @@
-#N canvas 10 130 875 883 10;
+#N canvas 10 115 875 883 10;
 #X obj 101 119 cnv 15 218 218 empty \$0-cnv empty 20 12 0 14 -261689
 -262144 0;
-#X obj 129 150 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
+#X obj 129 150 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
 #X obj 69 35 r poses-popup;
 #X obj 490 202 r poses-in;
 #X obj 490 224 route pose;
-#X obj 490 246 > 0.85;
-#X obj 490 288 route 1;
-#X floatatom 546 241 5 0 0 0 - - -, f 5;
+#X obj 490 266 > 0.85;
+#X obj 490 308 route 1;
 #X obj 268 375 s toUE4;
 #X obj 480 73 tgl 15 0 empty \$0-state On/Off -40 7 0 10 -262144 -1
 -1 0 1;
@@ -22,37 +21,36 @@ ZO;
 #X obj 778 190 s \$0-cnv;
 #X msg 268 343 /avatar/animIndex \$1;
 #X text 107 154 0;
-#X msg 490 310 0;
-#X obj 490 332 s \$0-animIndex;
-#X obj 129 184 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
-#X obj 620 336 r poses-in;
-#X obj 620 358 route pose;
-#X obj 620 422 route 1;
-#X obj 620 466 s \$0-animIndex;
-#X obj 129 220 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
-#X obj 490 392 r poses-in;
-#X obj 490 414 route pose;
-#X obj 490 478 route 1;
-#X obj 490 522 s \$0-animIndex;
-#X obj 129 254 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
-#X obj 620 526 r poses-in;
-#X obj 620 548 route pose;
-#X obj 620 612 route 1;
-#X obj 620 656 s \$0-animIndex;
-#X msg 620 444 1;
-#X msg 490 500 2;
-#X msg 620 634 3;
-#X obj 129 290 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
-#X obj 490 562 r poses-in;
-#X obj 490 584 route pose;
-#X obj 490 648 route 1;
-#X floatatom 546 621 5 0 0 0 - - -, f 5;
-#X obj 490 692 s \$0-animIndex;
-#X msg 490 670 4;
+#X msg 490 330 0;
+#X obj 490 352 s \$0-animIndex;
+#X obj 129 184 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
+#X obj 650 356 r poses-in;
+#X obj 650 378 route pose;
+#X obj 650 462 route 1;
+#X obj 650 506 s \$0-animIndex;
+#X obj 129 220 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
+#X obj 490 432 r poses-in;
+#X obj 490 454 route pose;
+#X obj 490 538 route 1;
+#X obj 490 582 s \$0-animIndex;
+#X obj 129 254 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
+#X obj 650 586 r poses-in;
+#X obj 650 608 route pose;
+#X obj 650 692 route 1;
+#X obj 650 736 s \$0-animIndex;
+#X msg 650 484 1;
+#X msg 490 560 2;
+#X msg 650 714 3;
+#X obj 129 290 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
+#X obj 490 642 r poses-in;
+#X obj 490 664 route pose;
+#X obj 490 748 route 1;
+#X obj 490 792 s \$0-animIndex;
+#X msg 490 770 4;
 #X obj 268 149 vradio 33 1 0 5 empty empty empty 0 -8 0 10 -262144
 -1 -1 0;
 #X obj 278 67 r \$0-animIndex;
@@ -60,73 +58,74 @@ ZO;
 #X text 107 224 2;
 #X text 107 258 3;
 #X text 107 294 4;
-#X obj 490 268 change;
-#X obj 620 379 > 0.85;
-#X floatatom 676 374 5 0 0 0 - - -, f 5;
-#X obj 620 401 change;
-#X obj 490 436 > 0.85;
-#X floatatom 546 431 5 0 0 0 - - -, f 5;
-#X obj 490 458 change;
-#X obj 620 568 > 0.85;
-#X floatatom 676 563 5 0 0 0 - - -, f 5;
-#X obj 620 590 change;
-#X obj 490 606 > 0.85;
-#X floatatom 546 601 5 0 0 0 - - -, f 5;
-#X obj 490 628 change;
+#X obj 490 288 change;
+#X obj 650 419 > 0.85;
+#X obj 650 441 change;
+#X obj 490 496 > 0.85;
+#X obj 490 518 change;
+#X obj 650 648 > 0.85;
+#X obj 650 670 change;
+#X obj 490 706 > 0.85;
+#X obj 490 728 change;
+#X obj 529 245 r \$0-threshold;
+#X obj 689 399 r \$0-threshold;
+#X obj 529 476 r \$0-threshold;
+#X obj 529 686 r \$0-threshold;
+#X obj 689 628 r \$0-threshold;
 #X connect 1 1 4 1;
 #X connect 2 0 1 0;
-#X connect 2 0 22 0;
-#X connect 2 0 27 0;
-#X connect 2 0 32 0;
-#X connect 2 0 40 0;
+#X connect 2 0 21 0;
+#X connect 2 0 26 0;
+#X connect 2 0 31 0;
+#X connect 2 0 39 0;
 #X connect 3 0 4 0;
 #X connect 4 0 5 0;
-#X connect 5 0 53 0;
-#X connect 6 0 20 0;
-#X connect 7 0 5 1;
-#X connect 9 0 13 0;
-#X connect 11 0 12 0;
-#X connect 12 0 10 0;
-#X connect 13 0 15 0;
-#X connect 13 1 16 0;
-#X connect 14 0 15 0;
-#X connect 15 0 17 0;
-#X connect 16 0 17 0;
-#X connect 18 0 8 0;
-#X connect 20 0 21 0;
-#X connect 22 1 24 1;
-#X connect 23 0 24 0;
-#X connect 24 0 54 0;
-#X connect 25 0 37 0;
-#X connect 27 1 29 1;
-#X connect 28 0 29 0;
-#X connect 29 0 57 0;
-#X connect 30 0 38 0;
-#X connect 32 1 34 1;
-#X connect 33 0 34 0;
-#X connect 34 0 60 0;
-#X connect 35 0 39 0;
-#X connect 37 0 26 0;
-#X connect 38 0 31 0;
-#X connect 39 0 36 0;
-#X connect 40 1 42 1;
-#X connect 41 0 42 0;
-#X connect 42 0 63 0;
-#X connect 43 0 46 0;
+#X connect 5 0 51 0;
+#X connect 6 0 19 0;
+#X connect 8 0 12 0;
+#X connect 10 0 11 0;
+#X connect 11 0 9 0;
+#X connect 12 0 14 0;
+#X connect 12 1 15 0;
+#X connect 13 0 14 0;
+#X connect 14 0 16 0;
+#X connect 15 0 16 0;
+#X connect 17 0 7 0;
+#X connect 19 0 20 0;
+#X connect 21 1 23 1;
+#X connect 22 0 23 0;
+#X connect 23 0 52 0;
+#X connect 24 0 36 0;
+#X connect 26 1 28 1;
+#X connect 27 0 28 0;
+#X connect 28 0 54 0;
+#X connect 29 0 37 0;
+#X connect 31 1 33 1;
+#X connect 32 0 33 0;
+#X connect 33 0 56 0;
+#X connect 34 0 38 0;
+#X connect 36 0 25 0;
+#X connect 37 0 30 0;
+#X connect 38 0 35 0;
+#X connect 39 1 41 1;
+#X connect 40 0 41 0;
+#X connect 41 0 58 0;
+#X connect 42 0 44 0;
+#X connect 44 0 43 0;
+#X connect 45 0 17 0;
 #X connect 46 0 45 0;
-#X connect 47 0 18 0;
-#X connect 48 0 47 0;
-#X connect 53 0 6 0;
-#X connect 54 0 56 0;
-#X connect 55 0 54 1;
-#X connect 56 0 25 0;
-#X connect 57 0 59 0;
-#X connect 58 0 57 1;
-#X connect 59 0 30 0;
-#X connect 60 0 62 0;
-#X connect 61 0 60 1;
-#X connect 62 0 35 0;
-#X connect 63 0 65 0;
-#X connect 64 0 63 1;
-#X connect 65 0 43 0;
+#X connect 51 0 6 0;
+#X connect 52 0 53 0;
+#X connect 53 0 24 0;
+#X connect 54 0 55 0;
+#X connect 55 0 29 0;
+#X connect 56 0 57 0;
+#X connect 57 0 34 0;
+#X connect 58 0 59 0;
+#X connect 59 0 42 0;
+#X connect 60 0 5 1;
+#X connect 61 0 52 1;
+#X connect 62 0 54 1;
+#X connect 63 0 58 1;
+#X connect 64 0 56 1;
 #X coords 0 -1 1 1 220 240 1 100 100;

+ 270 - 0
extra/zoomControl.pd

@@ -0,0 +1,270 @@
+#N canvas 0 50 1401 998 10;
+#X obj 100 120 cnv 15 328 130 empty \$0-cnv empty 20 12 0 14 -261689
+-262144 0;
+#X obj 242 127 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
+#X obj 242 96 r poses-popup;
+#X obj 393 -52 r poses-in;
+#X obj 393 -30 route pose;
+#X obj 393 12 > 0.85;
+#X obj 393 34 route 1;
+#X obj 384 60 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X msg 422 59 1;
+#X obj 406 104 tgl 15 0 empty empty on/off -40 7 0 10 -262144 -1 -1
+0 1;
+#X obj 287 438 change;
+#X text 370 130 IN pose;
+#X floatatom 194 125 5 0 0 0 threshold - #0-pose_threshold, f 5;
+#X obj 194 52 loadbang;
+#X msg 194 74 0.83;
+#X obj 610 32 route 0 1;
+#X obj 609 10 loadbang;
+#X msg 610 54 color 3;
+#X msg 638 74 color 6;
+#X obj 619 156 r bones-in;
+#X obj 619 178 route left_hand right_hand;
+#X obj 650 260 -;
+#X floatatom 759 313 5 0 0 0 - - -, f 5;
+#X obj 619 200 unpack s f f f;
+#X obj 708 222 unpack s f f f;
+#X obj 650 282 abs;
+#X floatatom 194 155 5 0 0 0 hand-dist_in - -, f 5;
+#X obj 32 538 f;
+#X obj 369 420 f;
+#X floatatom 194 175 5 0 0 0 hand-dist_out - -, f 5;
+#X text -2 141 hand distance;
+#X text -62 157 at time of activation;
+#X text -58 175 and of desactivation;
+#X text -52 193 in order to scale;
+#X obj 183 788 s toUE4;
+#X obj 173 490 spigot;
+#X obj 343 166 nbx 5 20 -1e+037 1e+037 0 0 empty empty empty 0 -8 0
+15 -262144 -1 -1 0 256;
+#X obj 559 565 route 1 0;
+#X text 0 769 scaling is here;
+#X text -27 789 minus hand dist in;
+#X text -44 813 comment;
+#X floatatom 106 218 5 0 0 2 max - -, f 5;
+#X floatatom 166 218 5 0 0 2 min - -, f 5;
+#X floatatom 226 218 5 0 0 2 far - -, f 5;
+#X floatatom 286 218 5 0 0 2 close - -, f 5;
+#X obj -193 159 loadbang;
+#N canvas 0 50 536 300 pack 0;
+#X obj 59 47 inlet;
+#X obj 139 47 inlet;
+#X obj 229 47 inlet;
+#X obj 309 47 inlet;
+#X obj 53 212 outlet;
+#X obj 84 116 t b f;
+#X obj 124 136 t b f;
+#X obj 164 156 t b f;
+#X obj 389 47 inlet;
+#X obj 244 156 t b f;
+#X obj 53 191 pack f f f f f;
+#X connect 0 0 10 0;
+#X connect 1 0 5 0;
+#X connect 2 0 6 0;
+#X connect 3 0 7 0;
+#X connect 5 0 10 0;
+#X connect 5 1 10 1;
+#X connect 6 0 10 0;
+#X connect 6 1 10 2;
+#X connect 7 0 10 0;
+#X connect 7 1 10 3;
+#X connect 8 0 9 0;
+#X connect 9 0 10 0;
+#X connect 9 1 10 4;
+#X connect 10 0 4 0;
+#X restore 106 260 pd pack;
+#X text 132 234 HANDS;
+#X text 252 234 CAMERA;
+#X msg -193 179 0.65 0.2 -6000 100;
+#X msg 591 613 /scene/camera 2;
+#X obj 559 587 t b b;
+#X obj 577 640 r /toUE4;
+#X obj 577 662 route /avatar/springCam/position;
+#X obj 577 684 unpack f f f;
+#X text 654 642 when entering control \, take current camera position
+;
+#X obj 533 759 -;
+#X obj 492 442 change;
+#X obj 546 443 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 492 393 abs;
+#X obj 650 304 s hand-dist2;
+#X obj 491 324 r hand-dist2;
+#X obj 492 369 -;
+#X obj 916 242 f;
+#X obj 916 269 -;
+#X obj 938 343 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 916 313 abs;
+#X floatatom 964 323 5 0 0 0 - - -, f 5;
+#X obj 728 345 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X obj 981 225;
+#X floatatom 981 247 5 0 0 0 - - -, f 5;
+#X obj 916 291 t f f;
+#X obj 491 346 t f f;
+#X text 478 283 quit control if;
+#X text 485 301 no move on distance;
+#X obj 492 464 route 0 1;
+#X msg 492 486 stop;
+#X obj 492 508 delay;
+#X msg 532 485 1500;
+#X obj 173 431 r hand-dist2;
+#X obj 47 377 r hand-dist2;
+#X obj 287 460 t f f;
+#X obj 268 515 spigot;
+#X obj 268 537 t f b;
+#X msg 300 559 0;
+#X obj 173 453 t f f;
+#X obj 173 512 -;
+#X msg 492 530 0;
+#X obj 360 373 r hand-dist2;
+#X text 70 574 scaling;
+#X floatatom 533 811 5 0 0 0 - - -, f 5;
+#X obj 559 710 f 300;
+#X obj 533 781 * -1;
+#X obj 492 420 < 0.003;
+#X obj 366 813 clip 6000 30;
+#X obj 166 663 * 6000;
+#X floatatom 181 723 5 0 0 0 - - -, f 5;
+#X msg 181 761 list /avatar/springCam/position \$1 0 0;
+#X msg 166 591 1 \$1;
+#X obj 166 613 -;
+#X floatatom 554 423 5 0 0 0 - - -, f 5;
+#X floatatom 110 690 5 0 0 0 - - -, f 5;
+#X obj 166 694 clip 30 6000;
+#X obj 166 641 pow 6;
+#X obj 166 569 * -2;
+#X obj 889 808 clip -4000 0;
+#X text 862 848 hand dist \, hand dist in \, hand dist out \, camdist
+max \, camdist min;
+#X floatatom 901 697 5 0 0 0 - - -, f 5;
+#X obj 889 830 t f f;
+#X floatatom 990 828 57 0 0 0 - - -, f 57;
+#X obj 614 105 s \$0-cnv;
+#X obj 595 902 expr;
+#X obj 748 747 expr pow(($f3-$f1)/($f3-$f2) \, $f6) * ($f4-$f5) + $f5
+\; $f4 \; $f5;
+#X obj 1031 605 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144
+-1 -1 0;
+#X obj 431 -8 r \$0-pose_threshold;
+#X obj 106 284 s \$0-scaling;
+#X obj 976 693 r \$0-scaling;
+#X obj 976 715 unpack f f f f f;
+#X floatatom 346 218 5 0 0 2 pow - -, f 5;
+#X obj -194 201 unpack f f f f f;
+#X connect 1 1 4 1;
+#X connect 2 0 1 0;
+#X connect 3 0 4 0;
+#X connect 4 0 5 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 6 0 8 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 0;
+#X connect 9 0 15 0;
+#X connect 10 0 37 0;
+#X connect 10 0 81 0;
+#X connect 13 0 14 0;
+#X connect 14 0 12 0;
+#X connect 15 0 17 0;
+#X connect 15 1 18 0;
+#X connect 16 0 17 0;
+#X connect 17 0 110 0;
+#X connect 18 0 110 0;
+#X connect 19 0 20 0;
+#X connect 20 0 23 0;
+#X connect 20 1 24 0;
+#X connect 21 0 25 0;
+#X connect 23 1 21 0;
+#X connect 23 1 70 0;
+#X connect 24 1 21 1;
+#X connect 25 0 22 0;
+#X connect 25 0 60 0;
+#X connect 25 0 68 0;
+#X connect 27 0 26 0;
+#X connect 28 0 29 0;
+#X connect 35 0 86 0;
+#X connect 37 0 27 0;
+#X connect 37 0 51 0;
+#X connect 37 1 28 0;
+#X connect 41 0 46 0;
+#X connect 42 0 46 1;
+#X connect 43 0 46 2;
+#X connect 44 0 46 3;
+#X connect 45 0 49 0;
+#X connect 46 0 115 0;
+#X connect 49 0 119 0;
+#X connect 50 0 34 0;
+#X connect 51 0 91 0;
+#X connect 51 1 50 0;
+#X connect 52 0 53 0;
+#X connect 53 0 54 0;
+#X connect 54 0 91 1;
+#X connect 56 0 92 0;
+#X connect 57 0 75 0;
+#X connect 57 0 58 0;
+#X connect 59 0 93 0;
+#X connect 59 0 100 0;
+#X connect 61 0 72 0;
+#X connect 62 0 59 0;
+#X connect 63 0 64 0;
+#X connect 66 0 65 0;
+#X connect 66 0 67 0;
+#X connect 69 0 70 0;
+#X connect 72 0 62 1;
+#X connect 72 1 62 0;
+#X connect 75 0 76 0;
+#X connect 75 1 78 0;
+#X connect 76 0 77 0;
+#X connect 77 0 87 0;
+#X connect 78 0 77 0;
+#X connect 79 0 85 0;
+#X connect 80 0 27 1;
+#X connect 81 0 35 1;
+#X connect 81 1 82 1;
+#X connect 82 0 83 0;
+#X connect 83 0 86 1;
+#X connect 83 1 84 0;
+#X connect 84 0 82 1;
+#X connect 85 0 35 0;
+#X connect 85 1 82 0;
+#X connect 86 0 104 0;
+#X connect 87 0 9 0;
+#X connect 88 0 28 1;
+#X connect 91 0 56 1;
+#X connect 92 0 90 0;
+#X connect 92 0 94 0;
+#X connect 93 0 57 0;
+#X connect 95 0 102 0;
+#X connect 96 0 97 0;
+#X connect 97 0 34 0;
+#X connect 98 0 99 0;
+#X connect 99 0 103 0;
+#X connect 102 0 97 0;
+#X connect 102 0 101 0;
+#X connect 103 0 95 0;
+#X connect 104 0 98 0;
+#X connect 105 0 108 0;
+#X connect 107 0 112 0;
+#X connect 108 1 109 0;
+#X connect 112 0 105 0;
+#X connect 112 1 105 1;
+#X connect 112 2 105 2;
+#X connect 113 0 112 5;
+#X connect 114 0 5 1;
+#X connect 116 0 117 0;
+#X connect 117 0 112 1;
+#X connect 117 1 112 2;
+#X connect 117 2 112 3;
+#X connect 117 3 112 4;
+#X connect 117 4 112 5;
+#X connect 119 0 41 0;
+#X connect 119 1 42 0;
+#X connect 119 2 43 0;
+#X connect 119 3 44 0;
+#X coords 0 -1 1 1 330 150 1 100 100;

+ 338 - 315
main.pd

@@ -1,4 +1,4 @@
-#N canvas 552 221 1070 577 10;
+#N canvas 102 108 1070 577 10;
 #X declare -path extra;
 #X obj 42 73 route /pose /bone;
 #X obj 42 51 mrpeach/unpackOSC;
@@ -39,7 +39,7 @@
 #X msg 463 115 0;
 #X obj 457 158 + 1;
 #X obj 235 51 text define -k poses;
-#A set tpose \; larm \; ZI \; ZO \;;
+#A set rarm \; tpose \; front \; circle \; larm \; ZI \;;
 #X msg 409 202 append \$1;
 #X obj 443 37 loadbang;
 #X msg 235 8 clear;
@@ -49,6 +49,7 @@
 #X obj 110 217 t b s b s;
 #X obj 235 30 t b a;
 #X msg 487 202 options \, name poses \, append none;
+#X obj 395 8 inlet;
 #X connect 0 0 38 0;
 #X connect 1 0 7 0;
 #X connect 2 0 3 0;
@@ -102,7 +103,8 @@
 #X connect 41 0 24 0;
 #X connect 41 1 33 0;
 #X connect 42 0 37 0;
-#X restore 42 133 pd listPoses;
+#X connect 43 0 36 0;
+#X restore 42 143 pd listPoses;
 #N canvas 146 449 795 300 listBones 0;
 #X obj 110 10 inlet;
 #X obj 110 144 select -1;
@@ -170,7 +172,7 @@
 #X connect 26 0 4 0;
 #X connect 27 0 21 0;
 #X restore 100 98 pd listBones;
-#X msg 42 155 ---;
+#X msg 42 165 ---;
 #X obj 41 4 declare -path extra;
 #X obj 559 30 flatgui/popup 124 25 #ffffff bones none head neck spine_base
 right_hip right_knee right_shoulder right_thumb right_wrist spine_mid
@@ -182,7 +184,7 @@ right_elbow right_foot right_hand right_hand_tip;
 #X floatatom 596 138 5 0 0 0 - - -, f 5;
 #X floatatom 621 163 5 0 0 0 - - -, f 5;
 #X floatatom 642 187 5 0 0 0 - - -, f 5;
-#N canvas 504 269 767 700 toUE4 1;
+#N canvas 210 216 767 782 toUE4 0;
 #X obj 19 211 list trim;
 #X obj 19 233 mrpeach/packOSC;
 #X obj 138 214 loadbang;
@@ -214,14 +216,12 @@ right_elbow right_foot right_hand right_hand_tip;
 #X obj 18 282 == 0;
 #X obj 18 304 metro 500;
 #X msg 62 -44 /avatar/blendPoses \$1;
-#X msg 138 234 disconnect \, connect 127.0.0.1 8001;
 #X obj 18 260 mrpeach/udpsend;
 #X msg 62 40 /avatar/idleWalkRun/speed \$1;
 #X floatatom 471 -40 5 0 0 0 - - -, f 5;
 #X msg 596 -57 /scene/camera \$1;
 #X obj 472 -66 line;
 #X obj 472 -15 pack f f f;
-#X msg 468 -104 -2000 \, 0 5000;
 #X msg 62 90 /avatar/animIndex \$1;
 #X obj 62 69 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144 -1
 -1 1;
@@ -239,7 +239,7 @@ right_elbow right_foot right_hand right_hand_tip;
 #X obj 281 -54 t b f;
 #X msg 469 11 /avatar/springCam/position \$1 \$2 \$3;
 #X obj 596 -105 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144
--1 -1 2;
+-1 -1 0;
 #X text 616 -107 player;
 #X text 615 -92 fixed;
 #X text 615 -75 relative;
@@ -250,9 +250,11 @@ right_elbow right_foot right_hand right_hand_tip;
 #X obj 530 108 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
 -1 -1 0 1;
 #X floatatom 592 -15 5 0 0 0 - - -, f 5;
+#X msg 138 234 disconnect \, connect 127.0.0.1 8000;
+#X msg 468 -104 6000 \, 300 5000;
 #X connect 0 0 1 0;
-#X connect 1 0 32 0;
-#X connect 2 0 31 0;
+#X connect 1 0 31 0;
+#X connect 2 0 57 0;
 #X connect 3 0 0 0;
 #X connect 4 0 5 0;
 #X connect 5 0 7 0;
@@ -285,38 +287,37 @@ right_elbow right_foot right_hand right_hand_tip;
 #X connect 26 0 20 0;
 #X connect 27 0 16 0;
 #X connect 28 0 29 0;
-#X connect 29 0 31 0;
-#X connect 30 0 43 0;
-#X connect 31 0 32 0;
-#X connect 32 0 28 0;
-#X connect 33 0 43 0;
-#X connect 34 0 37 0;
-#X connect 35 0 1 0;
-#X connect 36 0 34 0;
-#X connect 37 0 49 0;
-#X connect 38 0 36 0;
-#X connect 39 0 43 0;
+#X connect 29 0 57 0;
+#X connect 30 0 41 0;
+#X connect 31 0 28 0;
+#X connect 32 0 41 0;
+#X connect 33 0 36 0;
+#X connect 34 0 1 0;
+#X connect 35 0 33 0;
+#X connect 36 0 47 0;
+#X connect 37 0 41 0;
+#X connect 38 0 37 0;
+#X connect 39 0 41 0;
 #X connect 40 0 39 0;
-#X connect 41 0 43 0;
-#X connect 42 0 41 0;
-#X connect 44 0 30 0;
-#X connect 45 0 33 0;
-#X connect 46 0 42 0;
-#X connect 47 0 48 0;
-#X connect 48 0 42 0;
-#X connect 48 1 42 1;
-#X connect 49 0 1 0;
-#X connect 50 0 35 0;
-#X connect 55 0 54 0;
-#X connect 56 0 55 0;
-#X connect 57 0 55 0;
-#X connect 58 0 37 0;
+#X connect 42 0 30 0;
+#X connect 43 0 32 0;
+#X connect 44 0 40 0;
+#X connect 45 0 46 0;
+#X connect 46 0 40 0;
+#X connect 46 1 40 1;
+#X connect 47 0 1 0;
+#X connect 48 0 34 0;
+#X connect 53 0 52 0;
+#X connect 54 0 53 0;
+#X connect 55 0 53 0;
+#X connect 56 0 36 0;
+#X connect 57 0 31 0;
+#X connect 58 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;
 #X text 38 40 UI elements (show in control etc);
 #X restore 184 4 pd todo;
-#X obj 42 29 mrpeach/udpreceive 8000;
 #X obj 565 90 route bone;
 #X obj 565 112 unpack s f f f;
 #X msg 100 519 ---;
@@ -324,8 +325,8 @@ right_elbow right_foot right_hand right_hand_tip;
 #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 none tpose larm ZI
-ZO;
+#X obj 228 126 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
 #X obj 248 65 r poses-popup;
 #X obj 150 278 r poses-in;
 #X obj 150 300 route pose;
@@ -340,8 +341,8 @@ ZO;
 #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 228 159 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
+#X obj 228 159 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
 #X msg 226 573 /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;
@@ -415,191 +416,11 @@ ZO;
 #X connect 39 1 36 1;
 #X coords 0 -1 1 1 330 110 1 100 100;
 #X restore 26 214 pd identityControl;
-#N canvas 498 56 1008 860 cameraZoomControl 0;
-#X obj 151 119 cnv 15 328 130 empty zoom-state empty 20 12 0 14 -261689
--262144 0;
-#X obj 293 126 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
-#X obj 298 65 r poses-popup;
-#X obj 200 278 r poses-in;
-#X obj 200 300 route pose;
-#X obj 200 342 > 0.85;
-#X obj 200 364 route 1;
-#X floatatom 256 337 5 0 0 0 - - -, f 5;
-#X obj 204 393 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 305 281 r poses-in;
-#X obj 305 303 route pose;
-#X obj 305 345 > 0.85;
-#X floatatom 361 340 5 0 0 0 - - -, f 5;
-#X obj 309 396 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 293 166 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
-#X msg 229 389 1;
-#X msg 329 390 0;
-#X obj 457 103 tgl 15 0 empty empty on/off -40 7 0 10 -262144 -1 -1
-0 1;
-#X obj 305 367 route 1;
-#X obj 264 463 change;
-#X text 421 129 IN pose;
-#X text 419 170 OUT pose;
-#X floatatom 245 124 5 0 0 0 threshold - -, f 5;
-#X obj 218 55 loadbang;
-#X msg 218 77 0.83;
-#X obj 501 441 route 0 1;
-#X obj 500 419 loadbang;
-#X msg 501 463 color 3;
-#X msg 529 483 color 6;
-#X obj 670 155 r bones-in;
-#X obj 670 177 route left_hand right_hand;
-#X obj 701 259 -;
-#X floatatom 586 341 5 0 0 0 - - -, f 5;
-#X obj 670 199 unpack s f f f;
-#X obj 759 221 unpack s f f f;
-#X obj 701 281 abs;
-#X floatatom 245 154 5 0 0 0 hand-dist_in - -, f 5;
-#X obj 701 303 s hand-dist;
-#X obj 107 423 f;
-#X obj 98 376 r hand-dist;
-#X obj 420 419 f;
-#X obj 411 372 r hand-dist;
-#X floatatom 245 174 5 0 0 0 hand-dist_out - -, f 5;
-#X text 49 140 hand distance;
-#X text -11 156 at time of activation;
-#X text -7 174 and of desactivation;
-#X text -1 192 in order to scale;
-#X obj 234 787 s toUE4;
-#X msg 232 760 /avatar/springCam/position \$1 0 0;
-#X obj 224 519 spigot;
-#X obj 158 480 r hand-dist;
-#X msg 302 535 /scene/camera 0;
-#X obj 394 225 nbx 5 20 -1e+037 1e+037 0 0 empty empty empty 0 -8 0
-15 -262144 -1 -1 0 256;
-#X obj 230 726 clip -4000 0;
-#X obj 302 513 route 1 0;
-#X text 89 579 scaling is here;
-#X text 62 599 minus hand dist in;
-#X text 45 623 comment;
-#X text 524 664 hand dist \, hand dist in \, hand dist out \, camdist
-max \, camdist min;
-#X obj 230 666 expr ($f3-$f1)/($f3-$f2)*($f4-$f5) + $f5 \; $f4 \; $f5
-;
-#X floatatom 242 615 5 0 0 0 - - -, f 5;
-#X floatatom 157 217 5 0 0 2 max - -, f 5;
-#X floatatom 217 217 5 0 0 2 min - -, f 5;
-#X floatatom 277 217 5 0 0 2 far - -, f 5;
-#X floatatom 337 217 5 0 0 2 close - -, f 5;
-#X obj 499 108 loadbang;
-#X obj 499 150 unpack f f f f;
-#X obj 523 253 s zoom-scaling;
-#N canvas 0 50 450 300 pack 0;
-#X obj 59 47 inlet;
-#X obj 139 47 inlet;
-#X obj 229 47 inlet;
-#X obj 309 47 inlet;
-#X obj 53 190 pack f f f f;
-#X obj 53 212 outlet;
-#X obj 84 116 t b f;
-#X obj 124 136 t b f;
-#X obj 164 156 t b f;
-#X connect 0 0 4 0;
-#X connect 1 0 6 0;
-#X connect 2 0 7 0;
-#X connect 3 0 8 0;
-#X connect 4 0 5 0;
-#X connect 6 0 4 0;
-#X connect 6 1 4 1;
-#X connect 7 0 4 0;
-#X connect 7 1 4 2;
-#X connect 8 0 4 0;
-#X connect 8 1 4 3;
-#X restore 522 229 pd pack;
-#X obj 317 591 r zoom-scaling;
-#X obj 317 613 unpack f f f f;
-#X text 183 233 HANDS;
-#X text 303 233 CAMERA;
-#X msg 499 128 0.65 0.2 -6000 100;
-#X obj 505 514 s zoom-state;
-#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 15 0;
-#X connect 7 0 5 1;
-#X connect 9 0 10 0;
-#X connect 10 0 11 0;
-#X connect 11 0 18 0;
-#X connect 12 0 11 1;
-#X connect 14 1 10 1;
-#X connect 15 0 17 0;
-#X connect 16 0 17 0;
-#X connect 17 0 19 0;
-#X connect 17 0 25 0;
-#X connect 18 0 13 0;
-#X connect 18 0 16 0;
-#X connect 19 0 49 1;
-#X connect 19 0 54 0;
-#X connect 22 0 5 1;
-#X connect 22 0 11 1;
-#X connect 23 0 24 0;
-#X connect 24 0 22 0;
-#X connect 25 0 27 0;
-#X connect 25 1 28 0;
-#X connect 26 0 27 0;
-#X connect 27 0 74 0;
-#X connect 28 0 74 0;
-#X connect 29 0 30 0;
-#X connect 30 0 33 0;
-#X connect 30 1 34 0;
-#X connect 31 0 35 0;
-#X connect 33 1 31 0;
-#X connect 34 1 31 1;
-#X connect 35 0 37 0;
-#X connect 35 0 32 0;
-#X connect 38 0 36 0;
-#X connect 39 0 38 1;
-#X connect 40 0 42 0;
-#X connect 41 0 40 1;
-#X connect 48 0 47 0;
-#X connect 49 0 59 0;
-#X connect 50 0 49 0;
-#X connect 51 0 47 0;
-#X connect 53 0 48 0;
-#X connect 53 0 52 0;
-#X connect 54 0 51 0;
-#X connect 54 0 38 0;
-#X connect 54 1 40 0;
-#X connect 59 0 53 0;
-#X connect 59 1 53 1;
-#X connect 59 2 53 2;
-#X connect 60 0 59 0;
-#X connect 61 0 68 0;
-#X connect 62 0 68 1;
-#X connect 63 0 68 2;
-#X connect 64 0 68 3;
-#X connect 65 0 73 0;
-#X connect 66 0 61 0;
-#X connect 66 1 62 0;
-#X connect 66 2 63 0;
-#X connect 66 3 64 0;
-#X connect 68 0 67 0;
-#X connect 69 0 70 0;
-#X connect 70 0 59 1;
-#X connect 70 1 59 2;
-#X connect 70 2 59 3;
-#X connect 70 3 59 4;
-#X connect 73 0 66 0;
-#X coords 0 -1 1 1 330 150 1 150 100;
-#X restore 361 214 pd cameraZoomControl;
-#N canvas 24 129 1259 860 cameraZoomControl2 1;
+#N canvas 42 83 1259 613 cameraZoomControl2 0;
 #X obj 151 119 cnv 15 328 130 empty zoom2-state empty 20 12 0 14 -261689
 -262144 0;
-#X obj 293 126 flatgui/popup 124 25 #ffffff poses none tpose larm ZI
-ZO;
+#X obj 293 126 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
 #X obj 298 65 r poses-popup;
 #X obj 200 278 r poses-in;
 #X obj 200 300 route pose;
@@ -637,7 +458,6 @@ ZO;
 #X text -7 174 and of desactivation;
 #X text -1 192 in order to scale;
 #X obj 234 787 s toUE4;
-#X msg 232 760 /avatar/springCam/position \$1 0 0;
 #X obj 224 489 spigot;
 #X obj 394 225 nbx 5 20 -1e+037 1e+037 0 0 empty empty empty 0 -8 0
 15 -262144 -1 -1 0 256;
@@ -703,7 +523,7 @@ ZO;
 #X obj 967 312 abs;
 #X floatatom 1015 322 5 0 0 0 - - -, f 5;
 #X obj 779 344 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
--1 -1 0 1;
+-1 -1 1380 1;
 #X obj 1032 224;
 #X floatatom 1032 246 5 0 0 0 - - -, f 5;
 #X obj 967 290 t f f;
@@ -736,7 +556,6 @@ max \, camdist min;
 #X obj 1027 692 r zoom2-scaling;
 #X obj 940 829 t f f;
 #X floatatom 1041 827 57 0 0 0 - - -, f 57;
-#X obj 549 724 *;
 #X text 161 534 scaling;
 #X floatatom 584 810 5 0 0 0 - - -, f 5;
 #X obj 610 709 f 300;
@@ -744,6 +563,17 @@ max \, camdist min;
 #X obj 224 533 * -2;
 #X obj 543 419 < 0.003;
 #X obj 417 812 clip 6000 30;
+#X obj 554 719 *;
+#X obj 217 662 * 6000;
+#X floatatom 232 722 5 0 0 0 - - -, f 5;
+#X msg 232 760 list /avatar/springCam/position \$1 0 0;
+#X msg 217 590 1 \$1;
+#X obj 217 612 -;
+#X floatatom 605 422 5 0 0 0 - - -, f 5;
+#X floatatom 161 689 5 0 0 0 - - -, f 5;
+#X obj 217 693 clip 30 6000;
+#X obj 217 640 pow 6;
+#X obj 217 568 * -2;
 #X connect 1 1 4 1;
 #X connect 2 0 1 0;
 #X connect 3 0 4 0;
@@ -755,110 +585,117 @@ max \, camdist min;
 #X connect 9 0 10 0;
 #X connect 10 0 11 0;
 #X connect 10 0 17 0;
-#X connect 11 0 40 0;
-#X connect 11 0 90 0;
+#X connect 11 0 39 0;
+#X connect 11 0 89 0;
 #X connect 14 0 5 1;
 #X connect 15 0 16 0;
 #X connect 16 0 14 0;
 #X connect 17 0 19 0;
 #X connect 17 1 20 0;
 #X connect 18 0 19 0;
-#X connect 19 0 87 0;
-#X connect 20 0 87 0;
+#X connect 19 0 86 0;
+#X connect 20 0 86 0;
 #X connect 21 0 22 0;
 #X connect 22 0 25 0;
 #X connect 22 1 26 0;
 #X connect 23 0 27 0;
 #X connect 25 1 23 0;
-#X connect 25 1 77 0;
+#X connect 25 1 76 0;
 #X connect 26 1 23 1;
 #X connect 27 0 24 0;
-#X connect 27 0 67 0;
-#X connect 27 0 75 0;
+#X connect 27 0 66 0;
+#X connect 27 0 74 0;
 #X connect 29 0 28 0;
 #X connect 30 0 31 0;
-#X connect 37 0 36 0;
-#X connect 38 0 95 0;
-#X connect 40 0 29 0;
-#X connect 40 0 55 0;
-#X connect 40 1 30 0;
-#X connect 44 0 50 0;
-#X connect 45 0 50 1;
-#X connect 46 0 50 2;
-#X connect 47 0 50 3;
-#X connect 48 0 53 0;
-#X connect 49 0 44 0;
-#X connect 49 1 45 0;
-#X connect 49 2 46 0;
-#X connect 49 3 47 0;
-#X connect 50 0 89 0;
-#X connect 53 0 49 0;
-#X connect 54 0 36 0;
-#X connect 55 0 109 0;
-#X connect 55 1 54 0;
+#X connect 37 0 94 0;
+#X connect 39 0 29 0;
+#X connect 39 0 54 0;
+#X connect 39 1 30 0;
+#X connect 43 0 49 0;
+#X connect 44 0 49 1;
+#X connect 45 0 49 2;
+#X connect 46 0 49 3;
+#X connect 47 0 52 0;
+#X connect 48 0 43 0;
+#X connect 48 1 44 0;
+#X connect 48 2 45 0;
+#X connect 48 3 46 0;
+#X connect 49 0 88 0;
+#X connect 52 0 48 0;
+#X connect 53 0 36 0;
+#X connect 54 0 107 0;
+#X connect 54 1 53 0;
+#X connect 55 0 56 0;
 #X connect 56 0 57 0;
-#X connect 57 0 58 0;
-#X connect 58 0 109 1;
-#X connect 60 0 110 0;
-#X connect 61 0 82 0;
-#X connect 61 0 62 0;
-#X connect 63 0 112 0;
-#X connect 65 0 66 0;
-#X connect 66 0 64 0;
-#X connect 68 0 79 0;
-#X connect 69 0 63 0;
-#X connect 70 0 71 0;
-#X connect 73 0 72 0;
-#X connect 73 0 74 0;
-#X connect 76 0 77 0;
-#X connect 79 0 69 1;
-#X connect 79 1 69 0;
+#X connect 57 0 107 1;
+#X connect 59 0 108 0;
+#X connect 60 0 81 0;
+#X connect 60 0 61 0;
+#X connect 62 0 110 0;
+#X connect 62 0 118 0;
+#X connect 64 0 65 0;
+#X connect 65 0 63 0;
+#X connect 67 0 78 0;
+#X connect 68 0 62 0;
+#X connect 69 0 70 0;
+#X connect 72 0 71 0;
+#X connect 72 0 73 0;
+#X connect 75 0 76 0;
+#X connect 78 0 68 1;
+#X connect 78 1 68 0;
+#X connect 81 0 82 0;
+#X connect 81 1 84 0;
 #X connect 82 0 83 0;
-#X connect 82 1 85 0;
-#X connect 83 0 84 0;
-#X connect 84 0 96 0;
-#X connect 85 0 84 0;
-#X connect 86 0 94 0;
-#X connect 88 0 29 1;
-#X connect 90 0 38 1;
-#X connect 90 1 91 1;
-#X connect 91 0 92 0;
-#X connect 92 0 95 1;
-#X connect 92 1 93 0;
-#X connect 93 0 91 1;
-#X connect 94 0 38 0;
-#X connect 94 1 91 0;
-#X connect 95 0 111 0;
-#X connect 96 0 10 0;
-#X connect 97 0 30 1;
-#X connect 98 0 104 0;
-#X connect 100 0 98 0;
-#X connect 100 1 98 1;
-#X connect 100 2 98 2;
-#X connect 101 0 100 0;
-#X connect 102 0 100 1;
-#X connect 102 1 100 2;
-#X connect 102 2 100 3;
-#X connect 102 3 100 4;
-#X connect 103 0 102 0;
-#X connect 104 1 105 0;
-#X connect 106 0 60 0;
-#X connect 109 0 60 1;
-#X connect 109 0 106 1;
-#X connect 110 0 108 0;
-#X connect 110 0 113 0;
-#X connect 111 0 106 0;
-#X connect 112 0 61 0;
-#X connect 113 0 37 0;
+#X connect 83 0 95 0;
+#X connect 84 0 83 0;
+#X connect 85 0 93 0;
+#X connect 87 0 29 1;
+#X connect 89 0 37 1;
+#X connect 89 1 90 1;
+#X connect 90 0 91 0;
+#X connect 91 0 94 1;
+#X connect 91 1 92 0;
+#X connect 92 0 90 1;
+#X connect 93 0 37 0;
+#X connect 93 1 90 0;
+#X connect 94 0 109 0;
+#X connect 94 0 122 0;
+#X connect 95 0 10 0;
+#X connect 96 0 30 1;
+#X connect 97 0 103 0;
+#X connect 99 0 97 0;
+#X connect 99 1 97 1;
+#X connect 99 2 97 2;
+#X connect 100 0 99 0;
+#X connect 101 0 99 1;
+#X connect 101 1 99 2;
+#X connect 101 2 99 3;
+#X connect 101 3 99 4;
+#X connect 102 0 101 0;
+#X connect 103 1 104 0;
+#X connect 107 0 59 1;
+#X connect 108 0 106 0;
+#X connect 108 0 111 0;
+#X connect 109 0 112 0;
+#X connect 110 0 60 0;
+#X connect 113 0 120 0;
+#X connect 114 0 115 0;
+#X connect 115 0 36 0;
+#X connect 116 0 117 0;
+#X connect 117 0 121 0;
+#X connect 120 0 115 0;
+#X connect 120 0 119 0;
+#X connect 121 0 113 0;
+#X connect 122 0 116 0;
 #X coords 0 -1 1 1 330 150 1 150 100;
-#X restore 360 373 pd cameraZoomControl2;
+#X restore 360 213 pd cameraZoomControl2;
 #X obj 711 216 animPlayer;
 #N canvas 0 50 827 514 cameraCtl 0;
 #X msg 103 296 /scene/camera \$1;
 #X obj 263 351 pack f f f;
 #X msg 260 377 /avatar/springCam/position \$1 \$2 \$3;
 #X obj 103 138 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144
--1 -1 2;
+-1 -1 0;
 #X text 123 136 player;
 #X text 122 151 fixed;
 #X text 122 168 relative;
@@ -881,17 +718,203 @@ max \, camdist min;
 #X connect 12 0 9 0;
 #X coords 0 -1 1 1 200 150 1 100 100;
 #X restore 807 27 pd cameraCtl;
+#N canvas 0 50 450 300 old 0;
+#N canvas 498 56 1008 860 cameraZoomControl 0;
+#X obj 151 119 cnv 15 328 130 empty zoom-state empty 20 12 0 14 -261689
+-262144 0;
+#X obj 293 126 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
+#X obj 298 65 r poses-popup;
+#X obj 200 278 r poses-in;
+#X obj 200 300 route pose;
+#X obj 200 342 > 0.85;
+#X obj 200 364 route 1;
+#X floatatom 256 337 5 0 0 0 - - -, f 5;
+#X obj 204 393 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 305 281 r poses-in;
+#X obj 305 303 route pose;
+#X obj 305 345 > 0.85;
+#X floatatom 361 340 5 0 0 0 - - -, f 5;
+#X obj 309 396 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 293 166 flatgui/popup 124 25 #ffffff poses none rarm tpose front
+circle larm ZI;
+#X msg 229 389 1;
+#X msg 329 390 0;
+#X obj 457 103 tgl 15 0 empty empty on/off -40 7 0 10 -262144 -1 -1
+0 1;
+#X obj 305 367 route 1;
+#X obj 264 463 change;
+#X text 421 129 IN pose;
+#X text 419 170 OUT pose;
+#X floatatom 245 124 5 0 0 0 threshold - -, f 5;
+#X obj 218 55 loadbang;
+#X msg 218 77 0.83;
+#X obj 501 441 route 0 1;
+#X obj 500 419 loadbang;
+#X msg 501 463 color 3;
+#X msg 529 483 color 6;
+#X obj 670 155 r bones-in;
+#X obj 670 177 route left_hand right_hand;
+#X obj 701 259 -;
+#X floatatom 586 341 5 0 0 0 - - -, f 5;
+#X obj 670 199 unpack s f f f;
+#X obj 759 221 unpack s f f f;
+#X obj 701 281 abs;
+#X floatatom 245 154 5 0 0 0 hand-dist_in - -, f 5;
+#X obj 701 303 s hand-dist;
+#X obj 107 423 f;
+#X obj 98 376 r hand-dist;
+#X obj 420 419 f;
+#X obj 411 372 r hand-dist;
+#X floatatom 245 174 5 0 0 0 hand-dist_out - -, f 5;
+#X text 49 140 hand distance;
+#X text -11 156 at time of activation;
+#X text -7 174 and of desactivation;
+#X text -1 192 in order to scale;
+#X obj 234 787 s toUE4;
+#X msg 232 760 /avatar/springCam/position \$1 0 0;
+#X obj 224 519 spigot;
+#X obj 158 480 r hand-dist;
+#X msg 302 535 /scene/camera 0;
+#X obj 394 225 nbx 5 20 -1e+037 1e+037 0 0 empty empty empty 0 -8 0
+15 -262144 -1 -1 0 256;
+#X obj 230 726 clip -4000 0;
+#X obj 302 513 route 1 0;
+#X text 89 579 scaling is here;
+#X text 62 599 minus hand dist in;
+#X text 45 623 comment;
+#X text 524 664 hand dist \, hand dist in \, hand dist out \, camdist
+max \, camdist min;
+#X obj 230 666 expr ($f3-$f1)/($f3-$f2)*($f4-$f5) + $f5 \; $f4 \; $f5
+;
+#X floatatom 242 615 5 0 0 0 - - -, f 5;
+#X floatatom 157 217 5 0 0 2 max - -, f 5;
+#X floatatom 217 217 5 0 0 2 min - -, f 5;
+#X floatatom 277 217 5 0 0 2 far - -, f 5;
+#X floatatom 337 217 5 0 0 2 close - -, f 5;
+#X obj 499 108 loadbang;
+#X obj 499 150 unpack f f f f;
+#X obj 523 253 s zoom-scaling;
+#N canvas 0 50 450 300 pack 0;
+#X obj 59 47 inlet;
+#X obj 139 47 inlet;
+#X obj 229 47 inlet;
+#X obj 309 47 inlet;
+#X obj 53 190 pack f f f f;
+#X obj 53 212 outlet;
+#X obj 84 116 t b f;
+#X obj 124 136 t b f;
+#X obj 164 156 t b f;
+#X connect 0 0 4 0;
+#X connect 1 0 6 0;
+#X connect 2 0 7 0;
+#X connect 3 0 8 0;
+#X connect 4 0 5 0;
+#X connect 6 0 4 0;
+#X connect 6 1 4 1;
+#X connect 7 0 4 0;
+#X connect 7 1 4 2;
+#X connect 8 0 4 0;
+#X connect 8 1 4 3;
+#X restore 522 229 pd pack;
+#X obj 317 591 r zoom-scaling;
+#X obj 317 613 unpack f f f f;
+#X text 183 233 HANDS;
+#X text 303 233 CAMERA;
+#X msg 499 128 0.65 0.2 -6000 100;
+#X obj 505 514 s zoom-state;
+#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 15 0;
+#X connect 7 0 5 1;
+#X connect 9 0 10 0;
+#X connect 10 0 11 0;
+#X connect 11 0 18 0;
+#X connect 12 0 11 1;
+#X connect 14 1 10 1;
+#X connect 15 0 17 0;
+#X connect 16 0 17 0;
+#X connect 17 0 19 0;
+#X connect 17 0 25 0;
+#X connect 18 0 13 0;
+#X connect 18 0 16 0;
+#X connect 19 0 49 1;
+#X connect 19 0 54 0;
+#X connect 22 0 5 1;
+#X connect 22 0 11 1;
+#X connect 23 0 24 0;
+#X connect 24 0 22 0;
+#X connect 25 0 27 0;
+#X connect 25 1 28 0;
+#X connect 26 0 27 0;
+#X connect 27 0 74 0;
+#X connect 28 0 74 0;
+#X connect 29 0 30 0;
+#X connect 30 0 33 0;
+#X connect 30 1 34 0;
+#X connect 31 0 35 0;
+#X connect 33 1 31 0;
+#X connect 34 1 31 1;
+#X connect 35 0 37 0;
+#X connect 35 0 32 0;
+#X connect 38 0 36 0;
+#X connect 39 0 38 1;
+#X connect 40 0 42 0;
+#X connect 41 0 40 1;
+#X connect 48 0 47 0;
+#X connect 49 0 59 0;
+#X connect 50 0 49 0;
+#X connect 51 0 47 0;
+#X connect 53 0 48 0;
+#X connect 53 0 52 0;
+#X connect 54 0 51 0;
+#X connect 54 0 38 0;
+#X connect 54 1 40 0;
+#X connect 59 0 53 0;
+#X connect 59 1 53 1;
+#X connect 59 2 53 2;
+#X connect 60 0 59 0;
+#X connect 61 0 68 0;
+#X connect 62 0 68 1;
+#X connect 63 0 68 2;
+#X connect 64 0 68 3;
+#X connect 65 0 73 0;
+#X connect 66 0 61 0;
+#X connect 66 1 62 0;
+#X connect 66 2 63 0;
+#X connect 66 3 64 0;
+#X connect 68 0 67 0;
+#X connect 69 0 70 0;
+#X connect 70 0 59 1;
+#X connect 70 1 59 2;
+#X connect 70 2 59 3;
+#X connect 70 3 59 4;
+#X connect 73 0 66 0;
+#X coords 0 -1 1 1 330 150 1 150 100;
+#X restore 44 40 pd cameraZoomControl;
+#X restore 242 4 pd old;
+#X obj 42 29 mrpeach/udpreceive 7000;
+#X obj 123 123 bng 15 250 50 0 empty empty clear_poses_list 17 7 0
+10 -262144 -1 -1;
 #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 15 1;
+#X connect 6 1 14 1;
 #X connect 7 0 6 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;
+#X connect 8 0 14 0;
+#X connect 12 0 16 0;
+#X connect 12 1 17 0;
+#X connect 14 0 15 0;
+#X connect 15 1 9 0;
+#X connect 15 2 10 0;
+#X connect 15 3 11 0;
+#X connect 23 0 1 0;
+#X connect 24 0 2 1;