distark-render 1.3.5 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2417 @@
1
+ {
2
+ "version": 1,
3
+ "description": "Scene draw-order cases (back to front). The input is the WorldEntity list given to computeWorldRenderOrder; `order` is the expected list of `id::part` / `id` keys. Every implementation of the layering model (distark-render, CAM, camr) must pass all of them. See docs/LAYERING.md.",
4
+ "cases": [
5
+ {
6
+ "name": "face moves with the head (Toby's rig)",
7
+ "why": "Toby's mouth is z 13 and his near hand z 12: sorted part by part, the mouth draws over a raised hand. His eyes (z 3-8) sit under the head and showed a far hand (z 3) through the eye holes. The face is one unit at the head's z.",
8
+ "entities": [
9
+ {
10
+ "id": "toby",
11
+ "worldZIndex": 0,
12
+ "parts": [
13
+ {
14
+ "name": "head",
15
+ "zIndex": 9
16
+ },
17
+ {
18
+ "name": "mouth",
19
+ "zIndex": 13
20
+ },
21
+ {
22
+ "name": "torso",
23
+ "zIndex": 8
24
+ },
25
+ {
26
+ "name": "leftEye",
27
+ "zIndex": 3
28
+ },
29
+ {
30
+ "name": "leftLeg",
31
+ "zIndex": 5
32
+ },
33
+ {
34
+ "name": "leftFoot",
35
+ "zIndex": 6
36
+ },
37
+ {
38
+ "name": "leftHand",
39
+ "zIndex": 3
40
+ },
41
+ {
42
+ "name": "leftIris",
43
+ "zIndex": 4
44
+ },
45
+ {
46
+ "name": "rightEye",
47
+ "zIndex": 6
48
+ },
49
+ {
50
+ "name": "rightLeg",
51
+ "zIndex": 7
52
+ },
53
+ {
54
+ "name": "leftThigh",
55
+ "zIndex": 4
56
+ },
57
+ {
58
+ "name": "rightFoot",
59
+ "zIndex": 8
60
+ },
61
+ {
62
+ "name": "rightHand",
63
+ "zIndex": 12
64
+ },
65
+ {
66
+ "name": "rightIris",
67
+ "zIndex": 7
68
+ },
69
+ {
70
+ "name": "leftEyeLid",
71
+ "zIndex": 5
72
+ },
73
+ {
74
+ "name": "rightThigh",
75
+ "zIndex": 6
76
+ },
77
+ {
78
+ "name": "leftForearm",
79
+ "zIndex": 2
80
+ },
81
+ {
82
+ "name": "rightEyeLid",
83
+ "zIndex": 8
84
+ },
85
+ {
86
+ "name": "leftUpperArm",
87
+ "zIndex": 1
88
+ },
89
+ {
90
+ "name": "rightForearm",
91
+ "zIndex": 11
92
+ },
93
+ {
94
+ "name": "rightUpperArm",
95
+ "zIndex": 10
96
+ }
97
+ ]
98
+ }
99
+ ],
100
+ "order": [
101
+ "toby::leftUpperArm",
102
+ "toby::leftForearm",
103
+ "toby::leftHand",
104
+ "toby::leftThigh",
105
+ "toby::leftLeg",
106
+ "toby::leftFoot",
107
+ "toby::rightThigh",
108
+ "toby::rightLeg",
109
+ "toby::torso",
110
+ "toby::rightFoot",
111
+ "toby::leftEye",
112
+ "toby::leftIris",
113
+ "toby::leftEyeLid",
114
+ "toby::rightEye",
115
+ "toby::rightIris",
116
+ "toby::rightEyeLid",
117
+ "toby::head",
118
+ "toby::mouth",
119
+ "toby::rightUpperArm",
120
+ "toby::rightForearm",
121
+ "toby::rightHand"
122
+ ]
123
+ },
124
+ {
125
+ "name": "face moves with the head (Papa's rig, faces left)",
126
+ "why": "Same rule on a rig whose near arm is the left one.",
127
+ "entities": [
128
+ {
129
+ "id": "papa",
130
+ "worldZIndex": 0,
131
+ "parts": [
132
+ {
133
+ "name": "head",
134
+ "zIndex": 9
135
+ },
136
+ {
137
+ "name": "mouth",
138
+ "zIndex": 13
139
+ },
140
+ {
141
+ "name": "torso",
142
+ "zIndex": 8
143
+ },
144
+ {
145
+ "name": "leftEye",
146
+ "zIndex": 3
147
+ },
148
+ {
149
+ "name": "leftLeg",
150
+ "zIndex": 6
151
+ },
152
+ {
153
+ "name": "leftFoot",
154
+ "zIndex": 5
155
+ },
156
+ {
157
+ "name": "leftHand",
158
+ "zIndex": 12
159
+ },
160
+ {
161
+ "name": "leftIris",
162
+ "zIndex": 4
163
+ },
164
+ {
165
+ "name": "rightEye",
166
+ "zIndex": 6
167
+ },
168
+ {
169
+ "name": "rightLeg",
170
+ "zIndex": 3
171
+ },
172
+ {
173
+ "name": "leftThigh",
174
+ "zIndex": 7
175
+ },
176
+ {
177
+ "name": "rightFoot",
178
+ "zIndex": 2
179
+ },
180
+ {
181
+ "name": "rightHand",
182
+ "zIndex": 3
183
+ },
184
+ {
185
+ "name": "rightIris",
186
+ "zIndex": 7
187
+ },
188
+ {
189
+ "name": "leftEyeLid",
190
+ "zIndex": 5
191
+ },
192
+ {
193
+ "name": "rightThigh",
194
+ "zIndex": 4
195
+ },
196
+ {
197
+ "name": "leftForearm",
198
+ "zIndex": 11
199
+ },
200
+ {
201
+ "name": "rightEyeLid",
202
+ "zIndex": 8
203
+ },
204
+ {
205
+ "name": "leftUpperArm",
206
+ "zIndex": 10
207
+ },
208
+ {
209
+ "name": "rightForearm",
210
+ "zIndex": 2
211
+ },
212
+ {
213
+ "name": "rightUpperArm",
214
+ "zIndex": 1
215
+ }
216
+ ]
217
+ }
218
+ ],
219
+ "order": [
220
+ "papa::rightUpperArm",
221
+ "papa::rightFoot",
222
+ "papa::rightForearm",
223
+ "papa::rightLeg",
224
+ "papa::rightHand",
225
+ "papa::rightThigh",
226
+ "papa::leftFoot",
227
+ "papa::leftLeg",
228
+ "papa::leftThigh",
229
+ "papa::torso",
230
+ "papa::leftEye",
231
+ "papa::leftIris",
232
+ "papa::leftEyeLid",
233
+ "papa::rightEye",
234
+ "papa::rightIris",
235
+ "papa::rightEyeLid",
236
+ "papa::head",
237
+ "papa::mouth",
238
+ "papa::leftUpperArm",
239
+ "papa::leftForearm",
240
+ "papa::leftHand"
241
+ ]
242
+ },
243
+ {
244
+ "name": "face anchors on a custom Head when there is no stock head",
245
+ "why": "A drawn character's eyes and mouth sit on its custom \"Head\" part.",
246
+ "entities": [
247
+ {
248
+ "id": "drawn",
249
+ "worldZIndex": 0,
250
+ "parts": [
251
+ {
252
+ "name": "body",
253
+ "zIndex": 1
254
+ },
255
+ {
256
+ "name": "mouth",
257
+ "zIndex": 9
258
+ },
259
+ {
260
+ "name": "Head",
261
+ "zIndex": 5
262
+ },
263
+ {
264
+ "name": "arm",
265
+ "zIndex": 7
266
+ }
267
+ ]
268
+ }
269
+ ],
270
+ "order": [
271
+ "drawn::body",
272
+ "drawn::Head",
273
+ "drawn::mouth",
274
+ "drawn::arm"
275
+ ]
276
+ },
277
+ {
278
+ "name": "faceAnchor names the part the face moves with",
279
+ "why": "The stock head is hidden (not drawn), and the face is placed on the custom head.",
280
+ "entities": [
281
+ {
282
+ "id": "drawn",
283
+ "worldZIndex": 0,
284
+ "faceAnchor": "Head2",
285
+ "parts": [
286
+ {
287
+ "name": "body",
288
+ "zIndex": 1
289
+ },
290
+ {
291
+ "name": "Head2",
292
+ "zIndex": 2
293
+ },
294
+ {
295
+ "name": "head",
296
+ "zIndex": 6
297
+ },
298
+ {
299
+ "name": "mouth",
300
+ "zIndex": 9
301
+ },
302
+ {
303
+ "name": "arm",
304
+ "zIndex": 4
305
+ }
306
+ ]
307
+ }
308
+ ],
309
+ "order": [
310
+ "drawn::body",
311
+ "drawn::Head2",
312
+ "drawn::mouth",
313
+ "drawn::arm",
314
+ "drawn::head"
315
+ ]
316
+ },
317
+ {
318
+ "name": "no head: parts in plain internal z order",
319
+ "why": "A rig without a head has no face unit.",
320
+ "entities": [
321
+ {
322
+ "id": "prop_rig",
323
+ "worldZIndex": 0,
324
+ "parts": [
325
+ {
326
+ "name": "lid",
327
+ "zIndex": 3
328
+ },
329
+ {
330
+ "name": "box",
331
+ "zIndex": 1
332
+ },
333
+ {
334
+ "name": "mouth",
335
+ "zIndex": 2
336
+ }
337
+ ]
338
+ }
339
+ ],
340
+ "order": [
341
+ "prop_rig::box",
342
+ "prop_rig::mouth",
343
+ "prop_rig::lid"
344
+ ]
345
+ },
346
+ {
347
+ "name": "characters with equal global z stay whole",
348
+ "why": "Papa and Tank both at global z 20 (adventure_launch output) used to be woven together part by part. Equal global z keeps list order: Papa whole, then Tank whole.",
349
+ "entities": [
350
+ {
351
+ "id": "papa",
352
+ "worldZIndex": 20,
353
+ "parts": [
354
+ {
355
+ "name": "head",
356
+ "zIndex": 9
357
+ },
358
+ {
359
+ "name": "mouth",
360
+ "zIndex": 13
361
+ },
362
+ {
363
+ "name": "torso",
364
+ "zIndex": 8
365
+ },
366
+ {
367
+ "name": "leftEye",
368
+ "zIndex": 3
369
+ },
370
+ {
371
+ "name": "leftLeg",
372
+ "zIndex": 6
373
+ },
374
+ {
375
+ "name": "leftFoot",
376
+ "zIndex": 5
377
+ },
378
+ {
379
+ "name": "leftHand",
380
+ "zIndex": 12
381
+ },
382
+ {
383
+ "name": "leftIris",
384
+ "zIndex": 4
385
+ },
386
+ {
387
+ "name": "rightEye",
388
+ "zIndex": 6
389
+ },
390
+ {
391
+ "name": "rightLeg",
392
+ "zIndex": 3
393
+ },
394
+ {
395
+ "name": "leftThigh",
396
+ "zIndex": 7
397
+ },
398
+ {
399
+ "name": "rightFoot",
400
+ "zIndex": 2
401
+ },
402
+ {
403
+ "name": "rightHand",
404
+ "zIndex": 3
405
+ },
406
+ {
407
+ "name": "rightIris",
408
+ "zIndex": 7
409
+ },
410
+ {
411
+ "name": "leftEyeLid",
412
+ "zIndex": 5
413
+ },
414
+ {
415
+ "name": "rightThigh",
416
+ "zIndex": 4
417
+ },
418
+ {
419
+ "name": "leftForearm",
420
+ "zIndex": 11
421
+ },
422
+ {
423
+ "name": "rightEyeLid",
424
+ "zIndex": 8
425
+ },
426
+ {
427
+ "name": "leftUpperArm",
428
+ "zIndex": 10
429
+ },
430
+ {
431
+ "name": "rightForearm",
432
+ "zIndex": 2
433
+ },
434
+ {
435
+ "name": "rightUpperArm",
436
+ "zIndex": 1
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "id": "tank",
442
+ "worldZIndex": 20,
443
+ "parts": [
444
+ {
445
+ "name": "head",
446
+ "zIndex": 9
447
+ },
448
+ {
449
+ "name": "mouth",
450
+ "zIndex": 13
451
+ },
452
+ {
453
+ "name": "torso",
454
+ "zIndex": 8
455
+ },
456
+ {
457
+ "name": "leftEye",
458
+ "zIndex": 4
459
+ },
460
+ {
461
+ "name": "leftLeg",
462
+ "zIndex": 8
463
+ },
464
+ {
465
+ "name": "leftFoot",
466
+ "zIndex": 7
467
+ },
468
+ {
469
+ "name": "leftHand",
470
+ "zIndex": 12
471
+ },
472
+ {
473
+ "name": "leftIris",
474
+ "zIndex": 6
475
+ },
476
+ {
477
+ "name": "rightEye",
478
+ "zIndex": 3
479
+ },
480
+ {
481
+ "name": "rightLeg",
482
+ "zIndex": 4
483
+ },
484
+ {
485
+ "name": "leftThigh",
486
+ "zIndex": 7
487
+ },
488
+ {
489
+ "name": "rightFoot",
490
+ "zIndex": 3
491
+ },
492
+ {
493
+ "name": "rightHand",
494
+ "zIndex": 3
495
+ },
496
+ {
497
+ "name": "rightIris",
498
+ "zIndex": 4
499
+ },
500
+ {
501
+ "name": "leftEyeLid",
502
+ "zIndex": 8
503
+ },
504
+ {
505
+ "name": "rightThigh",
506
+ "zIndex": 3
507
+ },
508
+ {
509
+ "name": "leftForearm",
510
+ "zIndex": 11
511
+ },
512
+ {
513
+ "name": "rightEyeLid",
514
+ "zIndex": 5
515
+ },
516
+ {
517
+ "name": "leftUpperArm",
518
+ "zIndex": 10
519
+ },
520
+ {
521
+ "name": "rightForearm",
522
+ "zIndex": 2
523
+ },
524
+ {
525
+ "name": "rightUpperArm",
526
+ "zIndex": 1
527
+ }
528
+ ]
529
+ }
530
+ ],
531
+ "order": [
532
+ "papa::rightUpperArm",
533
+ "papa::rightFoot",
534
+ "papa::rightForearm",
535
+ "papa::rightLeg",
536
+ "papa::rightHand",
537
+ "papa::rightThigh",
538
+ "papa::leftFoot",
539
+ "papa::leftLeg",
540
+ "papa::leftThigh",
541
+ "papa::torso",
542
+ "papa::leftEye",
543
+ "papa::leftIris",
544
+ "papa::leftEyeLid",
545
+ "papa::rightEye",
546
+ "papa::rightIris",
547
+ "papa::rightEyeLid",
548
+ "papa::head",
549
+ "papa::mouth",
550
+ "papa::leftUpperArm",
551
+ "papa::leftForearm",
552
+ "papa::leftHand",
553
+ "tank::rightUpperArm",
554
+ "tank::rightForearm",
555
+ "tank::rightFoot",
556
+ "tank::rightHand",
557
+ "tank::rightThigh",
558
+ "tank::rightLeg",
559
+ "tank::leftFoot",
560
+ "tank::leftThigh",
561
+ "tank::torso",
562
+ "tank::leftLeg",
563
+ "tank::rightEye",
564
+ "tank::leftEye",
565
+ "tank::rightIris",
566
+ "tank::rightEyeLid",
567
+ "tank::leftIris",
568
+ "tank::leftEyeLid",
569
+ "tank::head",
570
+ "tank::mouth",
571
+ "tank::leftUpperArm",
572
+ "tank::leftForearm",
573
+ "tank::leftHand"
574
+ ]
575
+ },
576
+ {
577
+ "name": "a free object sits between whole characters",
578
+ "why": "The block tower (global z 20) between Papa (18) and Toby (22) was drawn inside Papa's body.",
579
+ "entities": [
580
+ {
581
+ "id": "papa",
582
+ "worldZIndex": 18,
583
+ "parts": [
584
+ {
585
+ "name": "head",
586
+ "zIndex": 9
587
+ },
588
+ {
589
+ "name": "mouth",
590
+ "zIndex": 13
591
+ },
592
+ {
593
+ "name": "torso",
594
+ "zIndex": 8
595
+ },
596
+ {
597
+ "name": "leftEye",
598
+ "zIndex": 3
599
+ },
600
+ {
601
+ "name": "leftLeg",
602
+ "zIndex": 6
603
+ },
604
+ {
605
+ "name": "leftFoot",
606
+ "zIndex": 5
607
+ },
608
+ {
609
+ "name": "leftHand",
610
+ "zIndex": 12
611
+ },
612
+ {
613
+ "name": "leftIris",
614
+ "zIndex": 4
615
+ },
616
+ {
617
+ "name": "rightEye",
618
+ "zIndex": 6
619
+ },
620
+ {
621
+ "name": "rightLeg",
622
+ "zIndex": 3
623
+ },
624
+ {
625
+ "name": "leftThigh",
626
+ "zIndex": 7
627
+ },
628
+ {
629
+ "name": "rightFoot",
630
+ "zIndex": 2
631
+ },
632
+ {
633
+ "name": "rightHand",
634
+ "zIndex": 3
635
+ },
636
+ {
637
+ "name": "rightIris",
638
+ "zIndex": 7
639
+ },
640
+ {
641
+ "name": "leftEyeLid",
642
+ "zIndex": 5
643
+ },
644
+ {
645
+ "name": "rightThigh",
646
+ "zIndex": 4
647
+ },
648
+ {
649
+ "name": "leftForearm",
650
+ "zIndex": 11
651
+ },
652
+ {
653
+ "name": "rightEyeLid",
654
+ "zIndex": 8
655
+ },
656
+ {
657
+ "name": "leftUpperArm",
658
+ "zIndex": 10
659
+ },
660
+ {
661
+ "name": "rightForearm",
662
+ "zIndex": 2
663
+ },
664
+ {
665
+ "name": "rightUpperArm",
666
+ "zIndex": 1
667
+ }
668
+ ]
669
+ },
670
+ {
671
+ "id": "toby",
672
+ "worldZIndex": 22,
673
+ "parts": [
674
+ {
675
+ "name": "head",
676
+ "zIndex": 9
677
+ },
678
+ {
679
+ "name": "mouth",
680
+ "zIndex": 13
681
+ },
682
+ {
683
+ "name": "torso",
684
+ "zIndex": 8
685
+ },
686
+ {
687
+ "name": "leftEye",
688
+ "zIndex": 3
689
+ },
690
+ {
691
+ "name": "leftLeg",
692
+ "zIndex": 5
693
+ },
694
+ {
695
+ "name": "leftFoot",
696
+ "zIndex": 6
697
+ },
698
+ {
699
+ "name": "leftHand",
700
+ "zIndex": 3
701
+ },
702
+ {
703
+ "name": "leftIris",
704
+ "zIndex": 4
705
+ },
706
+ {
707
+ "name": "rightEye",
708
+ "zIndex": 6
709
+ },
710
+ {
711
+ "name": "rightLeg",
712
+ "zIndex": 7
713
+ },
714
+ {
715
+ "name": "leftThigh",
716
+ "zIndex": 4
717
+ },
718
+ {
719
+ "name": "rightFoot",
720
+ "zIndex": 8
721
+ },
722
+ {
723
+ "name": "rightHand",
724
+ "zIndex": 12
725
+ },
726
+ {
727
+ "name": "rightIris",
728
+ "zIndex": 7
729
+ },
730
+ {
731
+ "name": "leftEyeLid",
732
+ "zIndex": 5
733
+ },
734
+ {
735
+ "name": "rightThigh",
736
+ "zIndex": 6
737
+ },
738
+ {
739
+ "name": "leftForearm",
740
+ "zIndex": 2
741
+ },
742
+ {
743
+ "name": "rightEyeLid",
744
+ "zIndex": 8
745
+ },
746
+ {
747
+ "name": "leftUpperArm",
748
+ "zIndex": 1
749
+ },
750
+ {
751
+ "name": "rightForearm",
752
+ "zIndex": 11
753
+ },
754
+ {
755
+ "name": "rightUpperArm",
756
+ "zIndex": 10
757
+ }
758
+ ]
759
+ },
760
+ {
761
+ "id": "block_tower",
762
+ "worldZIndex": 20
763
+ }
764
+ ],
765
+ "order": [
766
+ "papa::rightUpperArm",
767
+ "papa::rightFoot",
768
+ "papa::rightForearm",
769
+ "papa::rightLeg",
770
+ "papa::rightHand",
771
+ "papa::rightThigh",
772
+ "papa::leftFoot",
773
+ "papa::leftLeg",
774
+ "papa::leftThigh",
775
+ "papa::torso",
776
+ "papa::leftEye",
777
+ "papa::leftIris",
778
+ "papa::leftEyeLid",
779
+ "papa::rightEye",
780
+ "papa::rightIris",
781
+ "papa::rightEyeLid",
782
+ "papa::head",
783
+ "papa::mouth",
784
+ "papa::leftUpperArm",
785
+ "papa::leftForearm",
786
+ "papa::leftHand",
787
+ "block_tower",
788
+ "toby::leftUpperArm",
789
+ "toby::leftForearm",
790
+ "toby::leftHand",
791
+ "toby::leftThigh",
792
+ "toby::leftLeg",
793
+ "toby::leftFoot",
794
+ "toby::rightThigh",
795
+ "toby::rightLeg",
796
+ "toby::torso",
797
+ "toby::rightFoot",
798
+ "toby::leftEye",
799
+ "toby::leftIris",
800
+ "toby::leftEyeLid",
801
+ "toby::rightEye",
802
+ "toby::rightIris",
803
+ "toby::rightEyeLid",
804
+ "toby::head",
805
+ "toby::mouth",
806
+ "toby::rightUpperArm",
807
+ "toby::rightForearm",
808
+ "toby::rightHand"
809
+ ]
810
+ },
811
+ {
812
+ "name": "a free object never enters a character, whatever its z",
813
+ "why": "Global z 3 is below Toby's global z 5: the cup is behind all of Toby, not between his parts.",
814
+ "entities": [
815
+ {
816
+ "id": "toby",
817
+ "worldZIndex": 5,
818
+ "parts": [
819
+ {
820
+ "name": "head",
821
+ "zIndex": 9
822
+ },
823
+ {
824
+ "name": "mouth",
825
+ "zIndex": 13
826
+ },
827
+ {
828
+ "name": "torso",
829
+ "zIndex": 8
830
+ },
831
+ {
832
+ "name": "leftEye",
833
+ "zIndex": 3
834
+ },
835
+ {
836
+ "name": "leftLeg",
837
+ "zIndex": 5
838
+ },
839
+ {
840
+ "name": "leftFoot",
841
+ "zIndex": 6
842
+ },
843
+ {
844
+ "name": "leftHand",
845
+ "zIndex": 3
846
+ },
847
+ {
848
+ "name": "leftIris",
849
+ "zIndex": 4
850
+ },
851
+ {
852
+ "name": "rightEye",
853
+ "zIndex": 6
854
+ },
855
+ {
856
+ "name": "rightLeg",
857
+ "zIndex": 7
858
+ },
859
+ {
860
+ "name": "leftThigh",
861
+ "zIndex": 4
862
+ },
863
+ {
864
+ "name": "rightFoot",
865
+ "zIndex": 8
866
+ },
867
+ {
868
+ "name": "rightHand",
869
+ "zIndex": 12
870
+ },
871
+ {
872
+ "name": "rightIris",
873
+ "zIndex": 7
874
+ },
875
+ {
876
+ "name": "leftEyeLid",
877
+ "zIndex": 5
878
+ },
879
+ {
880
+ "name": "rightThigh",
881
+ "zIndex": 6
882
+ },
883
+ {
884
+ "name": "leftForearm",
885
+ "zIndex": 2
886
+ },
887
+ {
888
+ "name": "rightEyeLid",
889
+ "zIndex": 8
890
+ },
891
+ {
892
+ "name": "leftUpperArm",
893
+ "zIndex": 1
894
+ },
895
+ {
896
+ "name": "rightForearm",
897
+ "zIndex": 11
898
+ },
899
+ {
900
+ "name": "rightUpperArm",
901
+ "zIndex": 10
902
+ }
903
+ ]
904
+ },
905
+ {
906
+ "id": "cup",
907
+ "worldZIndex": 3
908
+ }
909
+ ],
910
+ "order": [
911
+ "cup",
912
+ "toby::leftUpperArm",
913
+ "toby::leftForearm",
914
+ "toby::leftHand",
915
+ "toby::leftThigh",
916
+ "toby::leftLeg",
917
+ "toby::leftFoot",
918
+ "toby::rightThigh",
919
+ "toby::rightLeg",
920
+ "toby::torso",
921
+ "toby::rightFoot",
922
+ "toby::leftEye",
923
+ "toby::leftIris",
924
+ "toby::leftEyeLid",
925
+ "toby::rightEye",
926
+ "toby::rightIris",
927
+ "toby::rightEyeLid",
928
+ "toby::head",
929
+ "toby::mouth",
930
+ "toby::rightUpperArm",
931
+ "toby::rightForearm",
932
+ "toby::rightHand"
933
+ ]
934
+ },
935
+ {
936
+ "name": "an attached object stays inside its holder",
937
+ "why": "Papa's plate (anchored to his hand, internal z 13) was drawn over Tank, who stands in front of Papa. It now draws in front of Papa's parts and behind all of Tank.",
938
+ "entities": [
939
+ {
940
+ "id": "papa",
941
+ "worldZIndex": 18,
942
+ "parts": [
943
+ {
944
+ "name": "head",
945
+ "zIndex": 9
946
+ },
947
+ {
948
+ "name": "mouth",
949
+ "zIndex": 13
950
+ },
951
+ {
952
+ "name": "torso",
953
+ "zIndex": 8
954
+ },
955
+ {
956
+ "name": "leftEye",
957
+ "zIndex": 3
958
+ },
959
+ {
960
+ "name": "leftLeg",
961
+ "zIndex": 6
962
+ },
963
+ {
964
+ "name": "leftFoot",
965
+ "zIndex": 5
966
+ },
967
+ {
968
+ "name": "leftHand",
969
+ "zIndex": 12
970
+ },
971
+ {
972
+ "name": "leftIris",
973
+ "zIndex": 4
974
+ },
975
+ {
976
+ "name": "rightEye",
977
+ "zIndex": 6
978
+ },
979
+ {
980
+ "name": "rightLeg",
981
+ "zIndex": 3
982
+ },
983
+ {
984
+ "name": "leftThigh",
985
+ "zIndex": 7
986
+ },
987
+ {
988
+ "name": "rightFoot",
989
+ "zIndex": 2
990
+ },
991
+ {
992
+ "name": "rightHand",
993
+ "zIndex": 3
994
+ },
995
+ {
996
+ "name": "rightIris",
997
+ "zIndex": 7
998
+ },
999
+ {
1000
+ "name": "leftEyeLid",
1001
+ "zIndex": 5
1002
+ },
1003
+ {
1004
+ "name": "rightThigh",
1005
+ "zIndex": 4
1006
+ },
1007
+ {
1008
+ "name": "leftForearm",
1009
+ "zIndex": 11
1010
+ },
1011
+ {
1012
+ "name": "rightEyeLid",
1013
+ "zIndex": 8
1014
+ },
1015
+ {
1016
+ "name": "leftUpperArm",
1017
+ "zIndex": 10
1018
+ },
1019
+ {
1020
+ "name": "rightForearm",
1021
+ "zIndex": 2
1022
+ },
1023
+ {
1024
+ "name": "rightUpperArm",
1025
+ "zIndex": 1
1026
+ }
1027
+ ]
1028
+ },
1029
+ {
1030
+ "id": "tank",
1031
+ "worldZIndex": 24,
1032
+ "parts": [
1033
+ {
1034
+ "name": "head",
1035
+ "zIndex": 9
1036
+ },
1037
+ {
1038
+ "name": "mouth",
1039
+ "zIndex": 13
1040
+ },
1041
+ {
1042
+ "name": "torso",
1043
+ "zIndex": 8
1044
+ },
1045
+ {
1046
+ "name": "leftEye",
1047
+ "zIndex": 4
1048
+ },
1049
+ {
1050
+ "name": "leftLeg",
1051
+ "zIndex": 8
1052
+ },
1053
+ {
1054
+ "name": "leftFoot",
1055
+ "zIndex": 7
1056
+ },
1057
+ {
1058
+ "name": "leftHand",
1059
+ "zIndex": 12
1060
+ },
1061
+ {
1062
+ "name": "leftIris",
1063
+ "zIndex": 6
1064
+ },
1065
+ {
1066
+ "name": "rightEye",
1067
+ "zIndex": 3
1068
+ },
1069
+ {
1070
+ "name": "rightLeg",
1071
+ "zIndex": 4
1072
+ },
1073
+ {
1074
+ "name": "leftThigh",
1075
+ "zIndex": 7
1076
+ },
1077
+ {
1078
+ "name": "rightFoot",
1079
+ "zIndex": 3
1080
+ },
1081
+ {
1082
+ "name": "rightHand",
1083
+ "zIndex": 3
1084
+ },
1085
+ {
1086
+ "name": "rightIris",
1087
+ "zIndex": 4
1088
+ },
1089
+ {
1090
+ "name": "leftEyeLid",
1091
+ "zIndex": 8
1092
+ },
1093
+ {
1094
+ "name": "rightThigh",
1095
+ "zIndex": 3
1096
+ },
1097
+ {
1098
+ "name": "leftForearm",
1099
+ "zIndex": 11
1100
+ },
1101
+ {
1102
+ "name": "rightEyeLid",
1103
+ "zIndex": 5
1104
+ },
1105
+ {
1106
+ "name": "leftUpperArm",
1107
+ "zIndex": 10
1108
+ },
1109
+ {
1110
+ "name": "rightForearm",
1111
+ "zIndex": 2
1112
+ },
1113
+ {
1114
+ "name": "rightUpperArm",
1115
+ "zIndex": 1
1116
+ }
1117
+ ]
1118
+ },
1119
+ {
1120
+ "id": "plate",
1121
+ "worldZIndex": 13,
1122
+ "hostId": "papa"
1123
+ }
1124
+ ],
1125
+ "order": [
1126
+ "papa::rightUpperArm",
1127
+ "papa::rightFoot",
1128
+ "papa::rightForearm",
1129
+ "papa::rightLeg",
1130
+ "papa::rightHand",
1131
+ "papa::rightThigh",
1132
+ "papa::leftFoot",
1133
+ "papa::leftLeg",
1134
+ "papa::leftThigh",
1135
+ "papa::torso",
1136
+ "papa::leftEye",
1137
+ "papa::leftIris",
1138
+ "papa::leftEyeLid",
1139
+ "papa::rightEye",
1140
+ "papa::rightIris",
1141
+ "papa::rightEyeLid",
1142
+ "papa::head",
1143
+ "papa::mouth",
1144
+ "papa::leftUpperArm",
1145
+ "papa::leftForearm",
1146
+ "papa::leftHand",
1147
+ "plate",
1148
+ "tank::rightUpperArm",
1149
+ "tank::rightForearm",
1150
+ "tank::rightFoot",
1151
+ "tank::rightHand",
1152
+ "tank::rightThigh",
1153
+ "tank::rightLeg",
1154
+ "tank::leftFoot",
1155
+ "tank::leftThigh",
1156
+ "tank::torso",
1157
+ "tank::leftLeg",
1158
+ "tank::rightEye",
1159
+ "tank::leftEye",
1160
+ "tank::rightIris",
1161
+ "tank::rightEyeLid",
1162
+ "tank::leftIris",
1163
+ "tank::leftEyeLid",
1164
+ "tank::head",
1165
+ "tank::mouth",
1166
+ "tank::leftUpperArm",
1167
+ "tank::leftForearm",
1168
+ "tank::leftHand"
1169
+ ]
1170
+ },
1171
+ {
1172
+ "name": "an attached object layers between its holder's parts",
1173
+ "why": "Toby's sword (internal z 4) in his far hand (z 3) is behind his torso (z 8). Ties draw the object in front: it goes after leftThigh (z 4). Tank, in front of Toby, is untouched.",
1174
+ "entities": [
1175
+ {
1176
+ "id": "toby",
1177
+ "worldZIndex": 0,
1178
+ "parts": [
1179
+ {
1180
+ "name": "head",
1181
+ "zIndex": 9
1182
+ },
1183
+ {
1184
+ "name": "mouth",
1185
+ "zIndex": 13
1186
+ },
1187
+ {
1188
+ "name": "torso",
1189
+ "zIndex": 8
1190
+ },
1191
+ {
1192
+ "name": "leftEye",
1193
+ "zIndex": 3
1194
+ },
1195
+ {
1196
+ "name": "leftLeg",
1197
+ "zIndex": 5
1198
+ },
1199
+ {
1200
+ "name": "leftFoot",
1201
+ "zIndex": 6
1202
+ },
1203
+ {
1204
+ "name": "leftHand",
1205
+ "zIndex": 3
1206
+ },
1207
+ {
1208
+ "name": "leftIris",
1209
+ "zIndex": 4
1210
+ },
1211
+ {
1212
+ "name": "rightEye",
1213
+ "zIndex": 6
1214
+ },
1215
+ {
1216
+ "name": "rightLeg",
1217
+ "zIndex": 7
1218
+ },
1219
+ {
1220
+ "name": "leftThigh",
1221
+ "zIndex": 4
1222
+ },
1223
+ {
1224
+ "name": "rightFoot",
1225
+ "zIndex": 8
1226
+ },
1227
+ {
1228
+ "name": "rightHand",
1229
+ "zIndex": 12
1230
+ },
1231
+ {
1232
+ "name": "rightIris",
1233
+ "zIndex": 7
1234
+ },
1235
+ {
1236
+ "name": "leftEyeLid",
1237
+ "zIndex": 5
1238
+ },
1239
+ {
1240
+ "name": "rightThigh",
1241
+ "zIndex": 6
1242
+ },
1243
+ {
1244
+ "name": "leftForearm",
1245
+ "zIndex": 2
1246
+ },
1247
+ {
1248
+ "name": "rightEyeLid",
1249
+ "zIndex": 8
1250
+ },
1251
+ {
1252
+ "name": "leftUpperArm",
1253
+ "zIndex": 1
1254
+ },
1255
+ {
1256
+ "name": "rightForearm",
1257
+ "zIndex": 11
1258
+ },
1259
+ {
1260
+ "name": "rightUpperArm",
1261
+ "zIndex": 10
1262
+ }
1263
+ ]
1264
+ },
1265
+ {
1266
+ "id": "tank",
1267
+ "worldZIndex": 1,
1268
+ "parts": [
1269
+ {
1270
+ "name": "head",
1271
+ "zIndex": 9
1272
+ },
1273
+ {
1274
+ "name": "mouth",
1275
+ "zIndex": 13
1276
+ },
1277
+ {
1278
+ "name": "torso",
1279
+ "zIndex": 8
1280
+ },
1281
+ {
1282
+ "name": "leftEye",
1283
+ "zIndex": 4
1284
+ },
1285
+ {
1286
+ "name": "leftLeg",
1287
+ "zIndex": 8
1288
+ },
1289
+ {
1290
+ "name": "leftFoot",
1291
+ "zIndex": 7
1292
+ },
1293
+ {
1294
+ "name": "leftHand",
1295
+ "zIndex": 12
1296
+ },
1297
+ {
1298
+ "name": "leftIris",
1299
+ "zIndex": 6
1300
+ },
1301
+ {
1302
+ "name": "rightEye",
1303
+ "zIndex": 3
1304
+ },
1305
+ {
1306
+ "name": "rightLeg",
1307
+ "zIndex": 4
1308
+ },
1309
+ {
1310
+ "name": "leftThigh",
1311
+ "zIndex": 7
1312
+ },
1313
+ {
1314
+ "name": "rightFoot",
1315
+ "zIndex": 3
1316
+ },
1317
+ {
1318
+ "name": "rightHand",
1319
+ "zIndex": 3
1320
+ },
1321
+ {
1322
+ "name": "rightIris",
1323
+ "zIndex": 4
1324
+ },
1325
+ {
1326
+ "name": "leftEyeLid",
1327
+ "zIndex": 8
1328
+ },
1329
+ {
1330
+ "name": "rightThigh",
1331
+ "zIndex": 3
1332
+ },
1333
+ {
1334
+ "name": "leftForearm",
1335
+ "zIndex": 11
1336
+ },
1337
+ {
1338
+ "name": "rightEyeLid",
1339
+ "zIndex": 5
1340
+ },
1341
+ {
1342
+ "name": "leftUpperArm",
1343
+ "zIndex": 10
1344
+ },
1345
+ {
1346
+ "name": "rightForearm",
1347
+ "zIndex": 2
1348
+ },
1349
+ {
1350
+ "name": "rightUpperArm",
1351
+ "zIndex": 1
1352
+ }
1353
+ ]
1354
+ },
1355
+ {
1356
+ "id": "sword",
1357
+ "worldZIndex": 4,
1358
+ "hostId": "toby"
1359
+ }
1360
+ ],
1361
+ "order": [
1362
+ "toby::leftUpperArm",
1363
+ "toby::leftForearm",
1364
+ "toby::leftHand",
1365
+ "toby::leftThigh",
1366
+ "sword",
1367
+ "toby::leftLeg",
1368
+ "toby::leftFoot",
1369
+ "toby::rightThigh",
1370
+ "toby::rightLeg",
1371
+ "toby::torso",
1372
+ "toby::rightFoot",
1373
+ "toby::leftEye",
1374
+ "toby::leftIris",
1375
+ "toby::leftEyeLid",
1376
+ "toby::rightEye",
1377
+ "toby::rightIris",
1378
+ "toby::rightEyeLid",
1379
+ "toby::head",
1380
+ "toby::mouth",
1381
+ "toby::rightUpperArm",
1382
+ "toby::rightForearm",
1383
+ "toby::rightHand",
1384
+ "tank::rightUpperArm",
1385
+ "tank::rightForearm",
1386
+ "tank::rightFoot",
1387
+ "tank::rightHand",
1388
+ "tank::rightThigh",
1389
+ "tank::rightLeg",
1390
+ "tank::leftFoot",
1391
+ "tank::leftThigh",
1392
+ "tank::torso",
1393
+ "tank::leftLeg",
1394
+ "tank::rightEye",
1395
+ "tank::leftEye",
1396
+ "tank::rightIris",
1397
+ "tank::rightEyeLid",
1398
+ "tank::leftIris",
1399
+ "tank::leftEyeLid",
1400
+ "tank::head",
1401
+ "tank::mouth",
1402
+ "tank::leftUpperArm",
1403
+ "tank::leftForearm",
1404
+ "tank::leftHand"
1405
+ ]
1406
+ },
1407
+ {
1408
+ "name": "an attached object at the head's z goes in front of the whole face",
1409
+ "why": "The face is one slot at the head's z (9); a hat at 9 draws after the mouth, before the near arm.",
1410
+ "entities": [
1411
+ {
1412
+ "id": "toby",
1413
+ "worldZIndex": 0,
1414
+ "parts": [
1415
+ {
1416
+ "name": "head",
1417
+ "zIndex": 9
1418
+ },
1419
+ {
1420
+ "name": "mouth",
1421
+ "zIndex": 13
1422
+ },
1423
+ {
1424
+ "name": "torso",
1425
+ "zIndex": 8
1426
+ },
1427
+ {
1428
+ "name": "leftEye",
1429
+ "zIndex": 3
1430
+ },
1431
+ {
1432
+ "name": "leftLeg",
1433
+ "zIndex": 5
1434
+ },
1435
+ {
1436
+ "name": "leftFoot",
1437
+ "zIndex": 6
1438
+ },
1439
+ {
1440
+ "name": "leftHand",
1441
+ "zIndex": 3
1442
+ },
1443
+ {
1444
+ "name": "leftIris",
1445
+ "zIndex": 4
1446
+ },
1447
+ {
1448
+ "name": "rightEye",
1449
+ "zIndex": 6
1450
+ },
1451
+ {
1452
+ "name": "rightLeg",
1453
+ "zIndex": 7
1454
+ },
1455
+ {
1456
+ "name": "leftThigh",
1457
+ "zIndex": 4
1458
+ },
1459
+ {
1460
+ "name": "rightFoot",
1461
+ "zIndex": 8
1462
+ },
1463
+ {
1464
+ "name": "rightHand",
1465
+ "zIndex": 12
1466
+ },
1467
+ {
1468
+ "name": "rightIris",
1469
+ "zIndex": 7
1470
+ },
1471
+ {
1472
+ "name": "leftEyeLid",
1473
+ "zIndex": 5
1474
+ },
1475
+ {
1476
+ "name": "rightThigh",
1477
+ "zIndex": 6
1478
+ },
1479
+ {
1480
+ "name": "leftForearm",
1481
+ "zIndex": 2
1482
+ },
1483
+ {
1484
+ "name": "rightEyeLid",
1485
+ "zIndex": 8
1486
+ },
1487
+ {
1488
+ "name": "leftUpperArm",
1489
+ "zIndex": 1
1490
+ },
1491
+ {
1492
+ "name": "rightForearm",
1493
+ "zIndex": 11
1494
+ },
1495
+ {
1496
+ "name": "rightUpperArm",
1497
+ "zIndex": 10
1498
+ }
1499
+ ]
1500
+ },
1501
+ {
1502
+ "id": "hat",
1503
+ "worldZIndex": 9,
1504
+ "hostId": "toby"
1505
+ }
1506
+ ],
1507
+ "order": [
1508
+ "toby::leftUpperArm",
1509
+ "toby::leftForearm",
1510
+ "toby::leftHand",
1511
+ "toby::leftThigh",
1512
+ "toby::leftLeg",
1513
+ "toby::leftFoot",
1514
+ "toby::rightThigh",
1515
+ "toby::rightLeg",
1516
+ "toby::torso",
1517
+ "toby::rightFoot",
1518
+ "toby::leftEye",
1519
+ "toby::leftIris",
1520
+ "toby::leftEyeLid",
1521
+ "toby::rightEye",
1522
+ "toby::rightIris",
1523
+ "toby::rightEyeLid",
1524
+ "toby::head",
1525
+ "toby::mouth",
1526
+ "hat",
1527
+ "toby::rightUpperArm",
1528
+ "toby::rightForearm",
1529
+ "toby::rightHand"
1530
+ ]
1531
+ },
1532
+ {
1533
+ "name": "an attached object below every part goes behind the holder",
1534
+ "entities": [
1535
+ {
1536
+ "id": "toby",
1537
+ "worldZIndex": 0,
1538
+ "parts": [
1539
+ {
1540
+ "name": "head",
1541
+ "zIndex": 9
1542
+ },
1543
+ {
1544
+ "name": "mouth",
1545
+ "zIndex": 13
1546
+ },
1547
+ {
1548
+ "name": "torso",
1549
+ "zIndex": 8
1550
+ },
1551
+ {
1552
+ "name": "leftEye",
1553
+ "zIndex": 3
1554
+ },
1555
+ {
1556
+ "name": "leftLeg",
1557
+ "zIndex": 5
1558
+ },
1559
+ {
1560
+ "name": "leftFoot",
1561
+ "zIndex": 6
1562
+ },
1563
+ {
1564
+ "name": "leftHand",
1565
+ "zIndex": 3
1566
+ },
1567
+ {
1568
+ "name": "leftIris",
1569
+ "zIndex": 4
1570
+ },
1571
+ {
1572
+ "name": "rightEye",
1573
+ "zIndex": 6
1574
+ },
1575
+ {
1576
+ "name": "rightLeg",
1577
+ "zIndex": 7
1578
+ },
1579
+ {
1580
+ "name": "leftThigh",
1581
+ "zIndex": 4
1582
+ },
1583
+ {
1584
+ "name": "rightFoot",
1585
+ "zIndex": 8
1586
+ },
1587
+ {
1588
+ "name": "rightHand",
1589
+ "zIndex": 12
1590
+ },
1591
+ {
1592
+ "name": "rightIris",
1593
+ "zIndex": 7
1594
+ },
1595
+ {
1596
+ "name": "leftEyeLid",
1597
+ "zIndex": 5
1598
+ },
1599
+ {
1600
+ "name": "rightThigh",
1601
+ "zIndex": 6
1602
+ },
1603
+ {
1604
+ "name": "leftForearm",
1605
+ "zIndex": 2
1606
+ },
1607
+ {
1608
+ "name": "rightEyeLid",
1609
+ "zIndex": 8
1610
+ },
1611
+ {
1612
+ "name": "leftUpperArm",
1613
+ "zIndex": 1
1614
+ },
1615
+ {
1616
+ "name": "rightForearm",
1617
+ "zIndex": 11
1618
+ },
1619
+ {
1620
+ "name": "rightUpperArm",
1621
+ "zIndex": 10
1622
+ }
1623
+ ]
1624
+ },
1625
+ {
1626
+ "id": "cape",
1627
+ "worldZIndex": -1,
1628
+ "hostId": "toby"
1629
+ }
1630
+ ],
1631
+ "why": "Internal z -1 is below every part.",
1632
+ "order": [
1633
+ "cape",
1634
+ "toby::leftUpperArm",
1635
+ "toby::leftForearm",
1636
+ "toby::leftHand",
1637
+ "toby::leftThigh",
1638
+ "toby::leftLeg",
1639
+ "toby::leftFoot",
1640
+ "toby::rightThigh",
1641
+ "toby::rightLeg",
1642
+ "toby::torso",
1643
+ "toby::rightFoot",
1644
+ "toby::leftEye",
1645
+ "toby::leftIris",
1646
+ "toby::leftEyeLid",
1647
+ "toby::rightEye",
1648
+ "toby::rightIris",
1649
+ "toby::rightEyeLid",
1650
+ "toby::head",
1651
+ "toby::mouth",
1652
+ "toby::rightUpperArm",
1653
+ "toby::rightForearm",
1654
+ "toby::rightHand"
1655
+ ]
1656
+ },
1657
+ {
1658
+ "name": "several attached objects keep internal z, then list order",
1659
+ "why": "Two props at the same internal z keep list order; a lower one goes first.",
1660
+ "entities": [
1661
+ {
1662
+ "id": "toby",
1663
+ "worldZIndex": 0,
1664
+ "parts": [
1665
+ {
1666
+ "name": "head",
1667
+ "zIndex": 9
1668
+ },
1669
+ {
1670
+ "name": "mouth",
1671
+ "zIndex": 13
1672
+ },
1673
+ {
1674
+ "name": "torso",
1675
+ "zIndex": 8
1676
+ },
1677
+ {
1678
+ "name": "leftEye",
1679
+ "zIndex": 3
1680
+ },
1681
+ {
1682
+ "name": "leftLeg",
1683
+ "zIndex": 5
1684
+ },
1685
+ {
1686
+ "name": "leftFoot",
1687
+ "zIndex": 6
1688
+ },
1689
+ {
1690
+ "name": "leftHand",
1691
+ "zIndex": 3
1692
+ },
1693
+ {
1694
+ "name": "leftIris",
1695
+ "zIndex": 4
1696
+ },
1697
+ {
1698
+ "name": "rightEye",
1699
+ "zIndex": 6
1700
+ },
1701
+ {
1702
+ "name": "rightLeg",
1703
+ "zIndex": 7
1704
+ },
1705
+ {
1706
+ "name": "leftThigh",
1707
+ "zIndex": 4
1708
+ },
1709
+ {
1710
+ "name": "rightFoot",
1711
+ "zIndex": 8
1712
+ },
1713
+ {
1714
+ "name": "rightHand",
1715
+ "zIndex": 12
1716
+ },
1717
+ {
1718
+ "name": "rightIris",
1719
+ "zIndex": 7
1720
+ },
1721
+ {
1722
+ "name": "leftEyeLid",
1723
+ "zIndex": 5
1724
+ },
1725
+ {
1726
+ "name": "rightThigh",
1727
+ "zIndex": 6
1728
+ },
1729
+ {
1730
+ "name": "leftForearm",
1731
+ "zIndex": 2
1732
+ },
1733
+ {
1734
+ "name": "rightEyeLid",
1735
+ "zIndex": 8
1736
+ },
1737
+ {
1738
+ "name": "leftUpperArm",
1739
+ "zIndex": 1
1740
+ },
1741
+ {
1742
+ "name": "rightForearm",
1743
+ "zIndex": 11
1744
+ },
1745
+ {
1746
+ "name": "rightUpperArm",
1747
+ "zIndex": 10
1748
+ }
1749
+ ]
1750
+ },
1751
+ {
1752
+ "id": "b",
1753
+ "worldZIndex": 12,
1754
+ "hostId": "toby"
1755
+ },
1756
+ {
1757
+ "id": "a",
1758
+ "worldZIndex": 12,
1759
+ "hostId": "toby"
1760
+ },
1761
+ {
1762
+ "id": "c",
1763
+ "worldZIndex": 11,
1764
+ "hostId": "toby"
1765
+ }
1766
+ ],
1767
+ "order": [
1768
+ "toby::leftUpperArm",
1769
+ "toby::leftForearm",
1770
+ "toby::leftHand",
1771
+ "toby::leftThigh",
1772
+ "toby::leftLeg",
1773
+ "toby::leftFoot",
1774
+ "toby::rightThigh",
1775
+ "toby::rightLeg",
1776
+ "toby::torso",
1777
+ "toby::rightFoot",
1778
+ "toby::leftEye",
1779
+ "toby::leftIris",
1780
+ "toby::leftEyeLid",
1781
+ "toby::rightEye",
1782
+ "toby::rightIris",
1783
+ "toby::rightEyeLid",
1784
+ "toby::head",
1785
+ "toby::mouth",
1786
+ "toby::rightUpperArm",
1787
+ "toby::rightForearm",
1788
+ "c",
1789
+ "toby::rightHand",
1790
+ "b",
1791
+ "a"
1792
+ ]
1793
+ },
1794
+ {
1795
+ "name": "a hidden holder hides its attached objects",
1796
+ "why": "Tank hidden in the Timeline: his sword used to float in mid-air.",
1797
+ "entities": [
1798
+ {
1799
+ "id": "toby",
1800
+ "worldZIndex": 0,
1801
+ "parts": [
1802
+ {
1803
+ "name": "head",
1804
+ "zIndex": 9
1805
+ },
1806
+ {
1807
+ "name": "mouth",
1808
+ "zIndex": 13
1809
+ },
1810
+ {
1811
+ "name": "torso",
1812
+ "zIndex": 8
1813
+ },
1814
+ {
1815
+ "name": "leftEye",
1816
+ "zIndex": 3
1817
+ },
1818
+ {
1819
+ "name": "leftLeg",
1820
+ "zIndex": 5
1821
+ },
1822
+ {
1823
+ "name": "leftFoot",
1824
+ "zIndex": 6
1825
+ },
1826
+ {
1827
+ "name": "leftHand",
1828
+ "zIndex": 3
1829
+ },
1830
+ {
1831
+ "name": "leftIris",
1832
+ "zIndex": 4
1833
+ },
1834
+ {
1835
+ "name": "rightEye",
1836
+ "zIndex": 6
1837
+ },
1838
+ {
1839
+ "name": "rightLeg",
1840
+ "zIndex": 7
1841
+ },
1842
+ {
1843
+ "name": "leftThigh",
1844
+ "zIndex": 4
1845
+ },
1846
+ {
1847
+ "name": "rightFoot",
1848
+ "zIndex": 8
1849
+ },
1850
+ {
1851
+ "name": "rightHand",
1852
+ "zIndex": 12
1853
+ },
1854
+ {
1855
+ "name": "rightIris",
1856
+ "zIndex": 7
1857
+ },
1858
+ {
1859
+ "name": "leftEyeLid",
1860
+ "zIndex": 5
1861
+ },
1862
+ {
1863
+ "name": "rightThigh",
1864
+ "zIndex": 6
1865
+ },
1866
+ {
1867
+ "name": "leftForearm",
1868
+ "zIndex": 2
1869
+ },
1870
+ {
1871
+ "name": "rightEyeLid",
1872
+ "zIndex": 8
1873
+ },
1874
+ {
1875
+ "name": "leftUpperArm",
1876
+ "zIndex": 1
1877
+ },
1878
+ {
1879
+ "name": "rightForearm",
1880
+ "zIndex": 11
1881
+ },
1882
+ {
1883
+ "name": "rightUpperArm",
1884
+ "zIndex": 10
1885
+ }
1886
+ ]
1887
+ },
1888
+ {
1889
+ "id": "tank",
1890
+ "worldZIndex": 1,
1891
+ "parts": [
1892
+ {
1893
+ "name": "head",
1894
+ "zIndex": 9
1895
+ },
1896
+ {
1897
+ "name": "mouth",
1898
+ "zIndex": 13
1899
+ },
1900
+ {
1901
+ "name": "torso",
1902
+ "zIndex": 8
1903
+ },
1904
+ {
1905
+ "name": "leftEye",
1906
+ "zIndex": 4
1907
+ },
1908
+ {
1909
+ "name": "leftLeg",
1910
+ "zIndex": 8
1911
+ },
1912
+ {
1913
+ "name": "leftFoot",
1914
+ "zIndex": 7
1915
+ },
1916
+ {
1917
+ "name": "leftHand",
1918
+ "zIndex": 12
1919
+ },
1920
+ {
1921
+ "name": "leftIris",
1922
+ "zIndex": 6
1923
+ },
1924
+ {
1925
+ "name": "rightEye",
1926
+ "zIndex": 3
1927
+ },
1928
+ {
1929
+ "name": "rightLeg",
1930
+ "zIndex": 4
1931
+ },
1932
+ {
1933
+ "name": "leftThigh",
1934
+ "zIndex": 7
1935
+ },
1936
+ {
1937
+ "name": "rightFoot",
1938
+ "zIndex": 3
1939
+ },
1940
+ {
1941
+ "name": "rightHand",
1942
+ "zIndex": 3
1943
+ },
1944
+ {
1945
+ "name": "rightIris",
1946
+ "zIndex": 4
1947
+ },
1948
+ {
1949
+ "name": "leftEyeLid",
1950
+ "zIndex": 8
1951
+ },
1952
+ {
1953
+ "name": "rightThigh",
1954
+ "zIndex": 3
1955
+ },
1956
+ {
1957
+ "name": "leftForearm",
1958
+ "zIndex": 11
1959
+ },
1960
+ {
1961
+ "name": "rightEyeLid",
1962
+ "zIndex": 5
1963
+ },
1964
+ {
1965
+ "name": "leftUpperArm",
1966
+ "zIndex": 10
1967
+ },
1968
+ {
1969
+ "name": "rightForearm",
1970
+ "zIndex": 2
1971
+ },
1972
+ {
1973
+ "name": "rightUpperArm",
1974
+ "zIndex": 1
1975
+ }
1976
+ ],
1977
+ "hidden": true
1978
+ },
1979
+ {
1980
+ "id": "tank_sword",
1981
+ "worldZIndex": 12,
1982
+ "hostId": "tank"
1983
+ },
1984
+ {
1985
+ "id": "tree",
1986
+ "worldZIndex": -5
1987
+ }
1988
+ ],
1989
+ "order": [
1990
+ "tree",
1991
+ "toby::leftUpperArm",
1992
+ "toby::leftForearm",
1993
+ "toby::leftHand",
1994
+ "toby::leftThigh",
1995
+ "toby::leftLeg",
1996
+ "toby::leftFoot",
1997
+ "toby::rightThigh",
1998
+ "toby::rightLeg",
1999
+ "toby::torso",
2000
+ "toby::rightFoot",
2001
+ "toby::leftEye",
2002
+ "toby::leftIris",
2003
+ "toby::leftEyeLid",
2004
+ "toby::rightEye",
2005
+ "toby::rightIris",
2006
+ "toby::rightEyeLid",
2007
+ "toby::head",
2008
+ "toby::mouth",
2009
+ "toby::rightUpperArm",
2010
+ "toby::rightForearm",
2011
+ "toby::rightHand"
2012
+ ]
2013
+ },
2014
+ {
2015
+ "name": "a hidden attached object is not drawn",
2016
+ "why": "Hidden objects are skipped like hidden characters.",
2017
+ "entities": [
2018
+ {
2019
+ "id": "toby",
2020
+ "worldZIndex": 0,
2021
+ "parts": [
2022
+ {
2023
+ "name": "head",
2024
+ "zIndex": 9
2025
+ },
2026
+ {
2027
+ "name": "mouth",
2028
+ "zIndex": 13
2029
+ },
2030
+ {
2031
+ "name": "torso",
2032
+ "zIndex": 8
2033
+ },
2034
+ {
2035
+ "name": "leftEye",
2036
+ "zIndex": 3
2037
+ },
2038
+ {
2039
+ "name": "leftLeg",
2040
+ "zIndex": 5
2041
+ },
2042
+ {
2043
+ "name": "leftFoot",
2044
+ "zIndex": 6
2045
+ },
2046
+ {
2047
+ "name": "leftHand",
2048
+ "zIndex": 3
2049
+ },
2050
+ {
2051
+ "name": "leftIris",
2052
+ "zIndex": 4
2053
+ },
2054
+ {
2055
+ "name": "rightEye",
2056
+ "zIndex": 6
2057
+ },
2058
+ {
2059
+ "name": "rightLeg",
2060
+ "zIndex": 7
2061
+ },
2062
+ {
2063
+ "name": "leftThigh",
2064
+ "zIndex": 4
2065
+ },
2066
+ {
2067
+ "name": "rightFoot",
2068
+ "zIndex": 8
2069
+ },
2070
+ {
2071
+ "name": "rightHand",
2072
+ "zIndex": 12
2073
+ },
2074
+ {
2075
+ "name": "rightIris",
2076
+ "zIndex": 7
2077
+ },
2078
+ {
2079
+ "name": "leftEyeLid",
2080
+ "zIndex": 5
2081
+ },
2082
+ {
2083
+ "name": "rightThigh",
2084
+ "zIndex": 6
2085
+ },
2086
+ {
2087
+ "name": "leftForearm",
2088
+ "zIndex": 2
2089
+ },
2090
+ {
2091
+ "name": "rightEyeLid",
2092
+ "zIndex": 8
2093
+ },
2094
+ {
2095
+ "name": "leftUpperArm",
2096
+ "zIndex": 1
2097
+ },
2098
+ {
2099
+ "name": "rightForearm",
2100
+ "zIndex": 11
2101
+ },
2102
+ {
2103
+ "name": "rightUpperArm",
2104
+ "zIndex": 10
2105
+ }
2106
+ ]
2107
+ },
2108
+ {
2109
+ "id": "sword",
2110
+ "worldZIndex": 4,
2111
+ "hostId": "toby",
2112
+ "hidden": true
2113
+ }
2114
+ ],
2115
+ "order": [
2116
+ "toby::leftUpperArm",
2117
+ "toby::leftForearm",
2118
+ "toby::leftHand",
2119
+ "toby::leftThigh",
2120
+ "toby::leftLeg",
2121
+ "toby::leftFoot",
2122
+ "toby::rightThigh",
2123
+ "toby::rightLeg",
2124
+ "toby::torso",
2125
+ "toby::rightFoot",
2126
+ "toby::leftEye",
2127
+ "toby::leftIris",
2128
+ "toby::leftEyeLid",
2129
+ "toby::rightEye",
2130
+ "toby::rightIris",
2131
+ "toby::rightEyeLid",
2132
+ "toby::head",
2133
+ "toby::mouth",
2134
+ "toby::rightUpperArm",
2135
+ "toby::rightForearm",
2136
+ "toby::rightHand"
2137
+ ]
2138
+ },
2139
+ {
2140
+ "name": "an attachment to a missing character is a free object",
2141
+ "why": "hostId names no entity (the character was deleted): the object keeps its z as a global z.",
2142
+ "entities": [
2143
+ {
2144
+ "id": "toby",
2145
+ "worldZIndex": 5,
2146
+ "parts": [
2147
+ {
2148
+ "name": "head",
2149
+ "zIndex": 9
2150
+ },
2151
+ {
2152
+ "name": "mouth",
2153
+ "zIndex": 13
2154
+ },
2155
+ {
2156
+ "name": "torso",
2157
+ "zIndex": 8
2158
+ },
2159
+ {
2160
+ "name": "leftEye",
2161
+ "zIndex": 3
2162
+ },
2163
+ {
2164
+ "name": "leftLeg",
2165
+ "zIndex": 5
2166
+ },
2167
+ {
2168
+ "name": "leftFoot",
2169
+ "zIndex": 6
2170
+ },
2171
+ {
2172
+ "name": "leftHand",
2173
+ "zIndex": 3
2174
+ },
2175
+ {
2176
+ "name": "leftIris",
2177
+ "zIndex": 4
2178
+ },
2179
+ {
2180
+ "name": "rightEye",
2181
+ "zIndex": 6
2182
+ },
2183
+ {
2184
+ "name": "rightLeg",
2185
+ "zIndex": 7
2186
+ },
2187
+ {
2188
+ "name": "leftThigh",
2189
+ "zIndex": 4
2190
+ },
2191
+ {
2192
+ "name": "rightFoot",
2193
+ "zIndex": 8
2194
+ },
2195
+ {
2196
+ "name": "rightHand",
2197
+ "zIndex": 12
2198
+ },
2199
+ {
2200
+ "name": "rightIris",
2201
+ "zIndex": 7
2202
+ },
2203
+ {
2204
+ "name": "leftEyeLid",
2205
+ "zIndex": 5
2206
+ },
2207
+ {
2208
+ "name": "rightThigh",
2209
+ "zIndex": 6
2210
+ },
2211
+ {
2212
+ "name": "leftForearm",
2213
+ "zIndex": 2
2214
+ },
2215
+ {
2216
+ "name": "rightEyeLid",
2217
+ "zIndex": 8
2218
+ },
2219
+ {
2220
+ "name": "leftUpperArm",
2221
+ "zIndex": 1
2222
+ },
2223
+ {
2224
+ "name": "rightForearm",
2225
+ "zIndex": 11
2226
+ },
2227
+ {
2228
+ "name": "rightUpperArm",
2229
+ "zIndex": 10
2230
+ }
2231
+ ]
2232
+ },
2233
+ {
2234
+ "id": "sword",
2235
+ "worldZIndex": 4,
2236
+ "hostId": "ghost"
2237
+ }
2238
+ ],
2239
+ "order": [
2240
+ "sword",
2241
+ "toby::leftUpperArm",
2242
+ "toby::leftForearm",
2243
+ "toby::leftHand",
2244
+ "toby::leftThigh",
2245
+ "toby::leftLeg",
2246
+ "toby::leftFoot",
2247
+ "toby::rightThigh",
2248
+ "toby::rightLeg",
2249
+ "toby::torso",
2250
+ "toby::rightFoot",
2251
+ "toby::leftEye",
2252
+ "toby::leftIris",
2253
+ "toby::leftEyeLid",
2254
+ "toby::rightEye",
2255
+ "toby::rightIris",
2256
+ "toby::rightEyeLid",
2257
+ "toby::head",
2258
+ "toby::mouth",
2259
+ "toby::rightUpperArm",
2260
+ "toby::rightForearm",
2261
+ "toby::rightHand"
2262
+ ]
2263
+ },
2264
+ {
2265
+ "name": "ties between a character and an object keep list order",
2266
+ "why": "Equal global z: list order decides, for any mix of characters and objects.",
2267
+ "entities": [
2268
+ {
2269
+ "id": "rug",
2270
+ "worldZIndex": 5
2271
+ },
2272
+ {
2273
+ "id": "toby",
2274
+ "worldZIndex": 5,
2275
+ "parts": [
2276
+ {
2277
+ "name": "head",
2278
+ "zIndex": 9
2279
+ },
2280
+ {
2281
+ "name": "mouth",
2282
+ "zIndex": 13
2283
+ },
2284
+ {
2285
+ "name": "torso",
2286
+ "zIndex": 8
2287
+ },
2288
+ {
2289
+ "name": "leftEye",
2290
+ "zIndex": 3
2291
+ },
2292
+ {
2293
+ "name": "leftLeg",
2294
+ "zIndex": 5
2295
+ },
2296
+ {
2297
+ "name": "leftFoot",
2298
+ "zIndex": 6
2299
+ },
2300
+ {
2301
+ "name": "leftHand",
2302
+ "zIndex": 3
2303
+ },
2304
+ {
2305
+ "name": "leftIris",
2306
+ "zIndex": 4
2307
+ },
2308
+ {
2309
+ "name": "rightEye",
2310
+ "zIndex": 6
2311
+ },
2312
+ {
2313
+ "name": "rightLeg",
2314
+ "zIndex": 7
2315
+ },
2316
+ {
2317
+ "name": "leftThigh",
2318
+ "zIndex": 4
2319
+ },
2320
+ {
2321
+ "name": "rightFoot",
2322
+ "zIndex": 8
2323
+ },
2324
+ {
2325
+ "name": "rightHand",
2326
+ "zIndex": 12
2327
+ },
2328
+ {
2329
+ "name": "rightIris",
2330
+ "zIndex": 7
2331
+ },
2332
+ {
2333
+ "name": "leftEyeLid",
2334
+ "zIndex": 5
2335
+ },
2336
+ {
2337
+ "name": "rightThigh",
2338
+ "zIndex": 6
2339
+ },
2340
+ {
2341
+ "name": "leftForearm",
2342
+ "zIndex": 2
2343
+ },
2344
+ {
2345
+ "name": "rightEyeLid",
2346
+ "zIndex": 8
2347
+ },
2348
+ {
2349
+ "name": "leftUpperArm",
2350
+ "zIndex": 1
2351
+ },
2352
+ {
2353
+ "name": "rightForearm",
2354
+ "zIndex": 11
2355
+ },
2356
+ {
2357
+ "name": "rightUpperArm",
2358
+ "zIndex": 10
2359
+ }
2360
+ ]
2361
+ },
2362
+ {
2363
+ "id": "ball",
2364
+ "worldZIndex": 5
2365
+ }
2366
+ ],
2367
+ "order": [
2368
+ "rug",
2369
+ "toby::leftUpperArm",
2370
+ "toby::leftForearm",
2371
+ "toby::leftHand",
2372
+ "toby::leftThigh",
2373
+ "toby::leftLeg",
2374
+ "toby::leftFoot",
2375
+ "toby::rightThigh",
2376
+ "toby::rightLeg",
2377
+ "toby::torso",
2378
+ "toby::rightFoot",
2379
+ "toby::leftEye",
2380
+ "toby::leftIris",
2381
+ "toby::leftEyeLid",
2382
+ "toby::rightEye",
2383
+ "toby::rightIris",
2384
+ "toby::rightEyeLid",
2385
+ "toby::head",
2386
+ "toby::mouth",
2387
+ "toby::rightUpperArm",
2388
+ "toby::rightForearm",
2389
+ "toby::rightHand",
2390
+ "ball"
2391
+ ]
2392
+ },
2393
+ {
2394
+ "name": "negative and fractional global z",
2395
+ "why": "Global z is any number.",
2396
+ "entities": [
2397
+ {
2398
+ "id": "a",
2399
+ "worldZIndex": 0.5
2400
+ },
2401
+ {
2402
+ "id": "b",
2403
+ "worldZIndex": -2
2404
+ },
2405
+ {
2406
+ "id": "c",
2407
+ "worldZIndex": 0.25
2408
+ }
2409
+ ],
2410
+ "order": [
2411
+ "b",
2412
+ "c",
2413
+ "a"
2414
+ ]
2415
+ }
2416
+ ]
2417
+ }