forked from jekyllt/jasper2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgdc2019-tools-for-marvels-spider-man-editing-with-immutable-data.html
894 lines (621 loc) · 40.6 KB
/
gdc2019-tools-for-marvels-spider-man-editing-with-immutable-data.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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
113
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
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
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
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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
<!DOCTYPE html>
<html>
<head>
<!-- Document Settings -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Base Meta -->
<!-- dynamically fixing the title for tag/author pages -->
<title>Notes for "Tools for 'Marvel's Spider-Man' Editing with Immutable Data" GDC2019</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Styles'n'Scripts -->
<link rel="stylesheet" type="text/css" href="https://tools.engineer/assets/built/screen.css" />
<link rel="stylesheet" type="text/css" href="https://tools.engineer/assets/built/screen.edited.css" />
<!-- highlight.js -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
<style>.hljs { background: none; }</style>
<!-- This tag outputs SEO meta+structured data and other important settings -->
<meta name="description" content="Passionate about making game developers more productive" />
<link rel="shortcut icon" href="https://tools.engineer/assets/images/favicon.png" type="image/png" />
<link rel="canonical" href="https://tools.engineer/gdc2019-tools-for-marvels-spider-man-editing-with-immutable-data" />
<meta name="referrer" content="no-referrer-when-downgrade" />
<!--title below is coming from _includes/dynamic_title-->
<meta property="og:site_name" content="Victor Stepanov" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Notes for "Tools for 'Marvel's Spider-Man' Editing with Immutable Data" GDC2019" />
<meta property="og:description" content="TLDW Summary: This talk is a tour of the technologies that Insomniac Games developed to transition from their web based tools to their new desktop tools. Highlighting what challenges they encountered when replacing the tool chain in mid production. Keywords Data Design Immutable Data Mid Production Data Definition Language (DDL)" />
<meta property="og:url" content="https://tools.engineer/gdc2019-tools-for-marvels-spider-man-editing-with-immutable-data" />
<meta property="og:image" content="https://tools.engineer/assets/images/posts/blank-composition-desk-gdc2019.jpg" />
<meta property="article:publisher" content="https://www.facebook.com/" />
<meta property="article:author" content="https://www.facebook.com/" />
<meta property="article:published_time" content="2019-07-13T18:00:00-07:00" />
<meta property="article:modified_time" content="2019-07-13T18:00:00-07:00" />
<meta property="article:tag" content="Gdc" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Notes for "Tools for 'Marvel's Spider-Man' Editing with Immutable Data" GDC2019" />
<meta name="twitter:description" content="TLDW Summary: This talk is a tour of the technologies that Insomniac Games developed to transition from their web based tools to their new desktop tools. Highlighting what challenges they encountered when replacing the tool chain in mid production. Keywords Data Design Immutable Data Mid Production Data Definition Language (DDL)" />
<meta name="twitter:url" content="https://tools.engineer/" />
<meta name="twitter:image" content="https://tools.engineer/assets/images/posts/blank-composition-desk-gdc2019.jpg" />
<meta name="twitter:label1" content="Written by" />
<meta name="twitter:data1" content="Victor Stepanov" />
<meta name="twitter:label2" content="Filed under" />
<meta name="twitter:data2" content="Gdc" />
<meta name="twitter:site" content="@VictorStepanov" />
<meta name="twitter:creator" content="@VictorStepanov" />
<meta property="og:image:width" content="1400" />
<meta property="og:image:height" content="933" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Website",
"publisher": {
"@type": "Organization",
"name": "Victor Stepanov",
"logo": "https://tools.engineer/assets/images/blog-icon.png"
},
"url": "https://tools.engineer/gdc2019-tools-for-marvels-spider-man-editing-with-immutable-data",
"image": {
"@type": "ImageObject",
"url": "https://tools.engineer/assets/images/posts/blank-composition-desk-gdc2019.jpg",
"width": 2000,
"height": 666
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://tools.engineer/gdc2019-tools-for-marvels-spider-man-editing-with-immutable-data"
},
"description": "TLDW Summary: This talk is a tour of the technologies that Insomniac Games developed to transition from their web based tools to their new desktop tools. Highlighting what challenges they encountered when replacing the tool chain in mid production. Keywords Data Design Immutable Data Mid Production Data Definition Language (DDL)"
}
</script>
<!-- <script type="text/javascript" src="https://demo.ghost.io/public/ghost-sdk.min.js?v=724281a32e"></script>
<script type="text/javascript">
ghost.init({
clientId: "ghost-frontend",
clientSecret: "f84a07a72b17"
});
</script> -->
<meta name="generator" content="Jekyll 3.6.2" />
<link rel="alternate" type="application/rss+xml" title="Notes for "Tools for 'Marvel's Spider-Man' Editing with Immutable Data" GDC2019" href="https://tools.engineer/feed.xml" />
</head>
<body class="post-template">
<div class="site-wrapper">
<!-- All the main content gets inserted here, index.hbs, post.hbs, etc -->
<!-- default -->
<!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template -->
<header class="site-header outer">
<div class="inner">
<nav class="site-nav">
<div class="site-nav-left">
<a class="site-nav-logo" href="https://tools.engineer/"><img src="https://tools.engineer/assets/images/blog-icon.png" alt="Victor Stepanov" /></a>
<ul class="nav" role="menu">
<li class="nav-home" role="menuitem"><a href="https://tools.engineer/">Home</a></li>
<li class="nav-projects" role="menuitem"><a href="https://tools.engineer/projects/">Projects</a></li>
<li class="nav-about" role="menuitem"><a href="https://tools.engineer/about/">About</a></li>
</ul>
</div>
<div class="site-nav-right">
<div class="social-links">
<a class="social-link social-link-tw" href="https://twitter.com/VictorStepanov" target="_blank" rel="noopener"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M30.063 7.313c-.813 1.125-1.75 2.125-2.875 2.938v.75c0 1.563-.188 3.125-.688 4.625a15.088 15.088 0 0 1-2.063 4.438c-.875 1.438-2 2.688-3.25 3.813a15.015 15.015 0 0 1-4.625 2.563c-1.813.688-3.75 1-5.75 1-3.25 0-6.188-.875-8.875-2.625.438.063.875.125 1.375.125 2.688 0 5.063-.875 7.188-2.5-1.25 0-2.375-.375-3.375-1.125s-1.688-1.688-2.063-2.875c.438.063.813.125 1.125.125.5 0 1-.063 1.5-.25-1.313-.25-2.438-.938-3.313-1.938a5.673 5.673 0 0 1-1.313-3.688v-.063c.813.438 1.688.688 2.625.688a5.228 5.228 0 0 1-1.875-2c-.5-.875-.688-1.813-.688-2.75 0-1.063.25-2.063.75-2.938 1.438 1.75 3.188 3.188 5.25 4.25s4.313 1.688 6.688 1.813a5.579 5.579 0 0 1 1.5-5.438c1.125-1.125 2.5-1.688 4.125-1.688s3.063.625 4.188 1.813a11.48 11.48 0 0 0 3.688-1.375c-.438 1.375-1.313 2.438-2.563 3.188 1.125-.125 2.188-.438 3.313-.875z"/></svg>
</a>
<a class="social-link social-link-tw" href="https://www.linkedin.com/in/victor-stepanov-673aa18b/" target="_blank" rel="noopener"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0v24h24v-24h-24zm8 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.397-2.586 7-2.777 7 2.476v6.759z"/></svg></a>
</div>
</div>
</nav>
</div>
</header>
<!-- Everything inside the #post tags pulls data from the post -->
<!-- #post -->
<main id="site-main" class="site-main outer" role="main">
<div class="inner">
<article class="post-full post ">
<header class="post-full-header">
<section class="post-full-meta">
<time class="post-full-meta-date" datetime="14 July 2019">14 July 2019</time>
<span class="date-divider">/</span>
<a href='https://tools.engineer/tag/gdc/'>GDC</a>,
<a href='https://tools.engineer/tag/data/'>DATA</a>,
<a href='https://tools.engineer/tag/ddl/'>DDL</a>,
<a href='https://tools.engineer/tag/edit/'>EDIT</a>,
<a href='https://tools.engineer/tag/web/'>WEB</a>
</section>
<h1 class="post-full-title">Notes for "Tools for 'Marvel's Spider-Man' Editing with Immutable Data" GDC2019</h1>
<p></p>
<section class="author-card-content"><p>Reading time: 5 minutes</p></section>
</header>
<figure class="post-full-image" style="background-image: url(https://tools.engineer/assets/images/posts/blank-composition-desk-gdc2019.jpg)">
</figure>
<section class="post-full-content">
<div class="kg-card-markdown">
<p><strong>TLDW Summary</strong>: This talk is a tour of the technologies that Insomniac Games developed to transition from their web based tools to their new desktop tools. Highlighting what challenges they encountered when replacing the tool chain in mid production.</p>
<h2 id="keywords">Keywords</h2>
<div class="keyword-container">
<ul class="keyword-container">
<li>Data Design</li>
<li>Immutable Data</li>
<li>Mid Production</li>
<li>Data Definition Language (DDL)</li>
<li>Porting</li>
</ul>
<style>
.keyword-container > ul
{
font-size: 16px;
list-style-type: none;
padding:15px;
}
.keyword-container > li
{
background-color:#f3f3f3;
display : inline;
padding:5px;
margin:2px;
margin-bottom: 100px;
border-radius: 5px;
}
</style>
</div>
<h2 id="presentation-time-stamps">Presentation Time Stamps</h2>
<ul>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 1</a> Background</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 2</a> Making Changes</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 6</a> Mission Directive</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 15</a> Implicitly shared data with Copy-on-write</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 29</a> Immutable Data</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 32</a> The Edit Loop</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 41</a> Hazards Encountered</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 45</a> Conclusion</li>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">at min 47</a> Q&A</li>
</ul>
<h1 id="background">Background</h1>
<ul>
<li>Insomniac Games started to develop Web-Based Tools in 2010 (written in JavaScript)
<ul>
<li>This lead to some issues and the engine team decided to go back to the regular desktop tools
<ul>
<li>for more see <a href="http://www.gdcvault.com/play/1024465/Insomniac-s-Web-Tools-A">GDC 2017 “Insomniac’s Web Tools: A Postmortem”</a></li>
</ul>
</li>
<li>Insomniac Games shipped 6 games with the web tools</li>
</ul>
</li>
<li>This talk is about what happened after the “Insomniac’s Web Tools: A Postmortem”</li>
</ul>
<h1 id="making-changes">Making Changes</h1>
<p><em>timestamp: 2 min into the presentation</em></p>
<ul>
<li>In 2015 the work started on the transition from JavaScript to C++ Qt with a 4 man team</li>
<li>The refactoring had to be done while the tools were still in use</li>
<li>Sunset Overdrive pushed the JS world editor to its limits and ‘Marvel’s Spider-Man’ Manhattan would be even bigger
<ul>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/map-scale.jpg" alt="slide: Sunset Overdrive vs'Marvel's Spider-Man' Manhattan size" width="700" /></li>
</ul>
</li>
<li>the team needed to port 12 editors from JS
<ul>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/world-editor.jpg" alt="slide: world editor" width="700" /></li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/animation-editor.jpg" alt="slide: animation editor" width="700" /></li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/cinematics-editor.jpg" alt="slide: cinematics editor" width="700" /></li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/vfx-editor.jpg" alt="slide: vfx editor" width="700" /></li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/12-editors.jpg" alt="slide: 12 editors" width="700" /></li>
</ul>
</li>
<li>the goals of the refactoring were
<ul>
<li>performance (being able to work with large data sets)
<ul>
<li>multi-threading support</li>
</ul>
</li>
<li>easier to maintain</li>
<li>type safety (JS “Uncaught TypeError: undefined is not a function”)</li>
</ul>
</li>
</ul>
<h1 id="mission-directive">Mission Directive</h1>
<p><em>timestamp: 6 min into the presentation</em></p>
<ul>
<li>the tool porting was planned to be done when a significant part of the content would have been created with the old tools
<ul>
<li>needed to provide an upgrade path or data compatibility</li>
</ul>
</li>
<li>the C++ tools need to have the same UX and UI as the JS tools to make the switching between the tools as seamless as possible.
<ul>
<li>no feature requests were accepted to make it possible to finish on time</li>
</ul>
</li>
<li>The tools were 100% data compatible
<ul>
<li>this enabled the users to fall back to the JS tools when they hit an issue with the C++ version</li>
</ul>
</li>
<li>the JS tools were using a local client/server model
<ul>
<li>the local server was called LunaServer
<ul>
<li>for more check out the GDC2012 talk about <a href="https://gdcvault.com/play/1015531/Developing-Imperfect-Software-How-to">Developing Imperfect Software: How to Prepare for Development Pipeline Failure</a></li>
</ul>
</li>
<li>LunaServer
<ul>
<li>stores its state in MongoDB</li>
<li>responsible for file system IO</li>
<li>responsible for Perforce operations</li>
<li>sync changes to assets between tools</li>
</ul>
</li>
</ul>
</li>
<li>their own in-house DDL
<ul>
<li>made JSON type safe with a DDL compiler (ToolsDDL) that would compile the DDL into C++ code (set/get)</li>
<li>tools use in memory JSON representation (to reduce complexity and the need to convert between C++ object)modification</li>
</ul>
</li>
<li>to represent a game object, they use JSON trees which are the same as hash table of hash tables</li>
</ul>
<h1 id="implicitly-shared-data-with-copy-on-write">Implicitly shared data with Copy-on-write</h1>
<p><em>timestamp: 15 min into the presentation</em></p>
<ul>
<li>a detailed explanation of the Implicitly shared data with Copy-on-write pattern at @ 15-36</li>
<li>basic idea
<ul>
<li>a global state is implicitly shared between modules</li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/modify_worldNode_0.jpg" alt="slide: modify worldNode step one" width="700" /></li>
<li>when a module wants to update the global state, a copy is made</li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/modify_worldNode.jpg" alt="slide: modify worldNode step two" width="700" /></li>
<li>after the modification is done the rest of the modules get notified to fetch the pointer to the new object</li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/modify_worldNode_2.jpg" alt="slide: modify worldNode step three" width="700" /></li>
</ul>
</li>
<li>implicit sharing makes it easy to compute the diff of 2 JSON trees
<ul>
<li>this is because as soon as 2 subtrees point to the same shared subtree, you don’t need to traverse that part of the tree any further.</li>
</ul>
</li>
</ul>
<h1 id="immutable-data">Immutable Data</h1>
<p><em>timestamp: 29 min into the presentation</em></p>
<ul>
<li>the same idea of Implicitly shared data <strong>without</strong> Copy-on-write
<ul>
<li>no setters</li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/Immutable_Data.jpg" alt="slide: Immutable Data class" width="700" /></li>
</ul>
</li>
<li>this makes it easier to reason about the code</li>
</ul>
<div style="font-style: normal;font-size: 26px;margin-left: 32px;font-family: Consolas, 'Times New Roman', Verdana;border-left: 4px solid #3a5ebf;padding-left: 20px;">
<p></p>
"Immutable is not const. const only controls access, immutable is a guarantee."
<p></p>
</div>
<p></p>
<ul>
<li>they like to think about this as a step towards functional programming</li>
<li>designing an API that is like a function that returns a new value based on the old value
<ul>
<li>without any
<ul>
<li>side effects</li>
<li>preconditions</li>
</ul>
</li>
</ul>
</li>
</ul>
<h1 id="the-edit-loop">The Edit Loop</h1>
<p><em>timestamp: 32 min into the presentation</em></p>
<ul>
<li>LunaEdit is the module that is responsible for editing asset
<ul>
<li>creating a new object from an object that was passed in</li>
</ul>
</li>
<li>LunaEdit is also responsible for
<ul>
<li>handling Perforce checkout</li>
<li>handling the undo system</li>
<li>sending updates to the LunaServer (updating the DB and files on disk)</li>
<li>broadcast changes all of the modules in the system (change/update)</li>
</ul>
</li>
<li>all of the complexity of working with the data format is hidden in one place - the LunaEdit module</li>
<li><img src="assets/images/posts/tools-for-marvels-spider-man-editing-with-immutable-data/edit_loop.jpg" alt="slide: The Edit Loop" width="700" /></li>
</ul>
<h1 id="hazards-encountered">Hazards Encountered</h1>
<p><em>timestamp: 41 min into the presentation</em></p>
<ul>
<li>copying wide (flat) hash tables is expensive
<ul>
<li>prefer deep hash tables</li>
</ul>
</li>
<li>don’t use QJsonObject
<ul>
<li>strings are stored as 8-bit and returned as 16-bit</li>
<li>strings are not shared (issue with identical keys)</li>
</ul>
</li>
<li>with multiple versions of data in flight
<ul>
<li>a module wants to change a piece of data that is in the process of being updated.</li>
<li>this wasn’t an issue because the main thread is the only thread that can request a change</li>
</ul>
</li>
</ul>
<div style="background-color:#FFFF94;border-left: 18px solid #ffff48;padding-left: 50px;">
<p></p>
<p>These notes are just the main ideas of the talk. They don’t contain anecdotes and examples. If you want to learn more, I would advise watching the talk on the <a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">GDC Vault</a>.</p>
<p></p>
</div>
<h2 id="the-toolsmiths">The Toolsmiths</h2>
<p><img src="https://tools.engineer/assets/images/thetoolsmiths_cover_1000x2881.png" alt="The Toolsmiths logo" width="700" /></p>
<p>I took these notes as part of our little “Book Club” for GDC Vault Videos <a href="http://thetoolsmiths.org/vault_club">The Toolsmiths #vault club</a></p>
<p>Join us on <a href="http://thetoolsmiths.org/join_slack_team">Slack</a>.</p>
<p>Join us on <a href="https://twitter.com/thetoolsmiths">Twitter</a>.</p>
<h2 id="links">Links</h2>
<ul>
<li><a href="https://www.gdcvault.com/play/1026080/Tools-for-Marvel-s-Spider">Tools for ‘Marvel’s Spider-Man’ Editing with Immutable Data</a></li>
</ul>
<h2 id="related-talks">Related talks</h2>
<ul>
<li><a href="http://www.gdcvault.com/play/1024465/Insomniac-s-Web-Tools-A">GDC 2017 “Insomniac’s Web Tools: A Postmortem”</a></li>
<li><a href="https://gdcvault.com/play/1015531/Developing-Imperfect-Software-How-to">GDC 2012 Developing Imperfect Software: How to Prepare for Development Pipeline Failure</a></li>
</ul>
</div>
</section>
<!-- Email subscribe form at the bottom of the page -->
<footer class="post-full-footer">
<!-- Everything inside the #author tags pulls data from the author -->
<!-- #author-->
<section class="author-card">
<img class="author-profile-image" src="https://tools.engineer/assets/images/vstepano.png" alt="vstepano" />
<section class="author-card-content">
<h4 class="author-card-name"><a href="https://tools.engineer/author/vstepano">Victor Stepanov</a></h4>
<p>Game Tools Developer</p>
</section>
</section>
<div class="post-full-footer-right">
<a class="author-card-button" href="https://tools.engineer/author/vstepano">Read More</a>
</div>
<!-- /author -->
</footer>
<!-- If you use Disqus comments, just uncomment this block.
The only thing you need to change is "test-apkdzgmqhj" - which
should be replaced with your own Disqus site-id. -->
<section class="post-full-comments">
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = 'https://tools.engineer/';
this.page.identifier = 'Victor Stepanov';
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://productivityengineer-com.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
</section>
</article>
</div>
</main>
<!-- Links to Previous/Next posts -->
<aside class="read-next outer">
<div class="inner">
<div class="read-next-feed">
<article class="read-next-card"
style="background-image: url(https://tools.engineer/assets/images/blog-cover.jpg)"
>
<header class="read-next-card-header">
<small class="read-next-card-header-sitetitle">— Victor Stepanov —</small>
<h3 class="read-next-card-header-title"><a href="https://tools.engineer/tag/gdc/">Gdc</a></h3>
</header>
<div class="read-next-divider"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 14.5s2 3 5 3 5.5-2.463 5.5-5.5S21 6.5 18 6.5c-5 0-7 11-12 11C2.962 17.5.5 15.037.5 12S3 6.5 6 6.5s4.5 3.5 4.5 3.5"/></svg>
</div>
<div class="read-next-card-content">
<ul>
<li><a href="https://tools.engineer/siggraph2019-what-is-usd-a-primer">Notes for 'What is USD: A Primer' SIGGRAPH 2019</a></li>
<li><a href="https://tools.engineer/gdc2018-procedural-world-generation-of-far-cry-5">Notes for "Procedural World Generation of 'Far Cry 5'" GDC2018</a></li>
<li><a href="https://tools.engineer/gdc2019-the-future-of-scene-description-on-god-of-war">Notes for "The Future of Scene Description on 'God of War'" GDC2019</a></li>
</ul>
</div>
<footer class="read-next-card-footer">
<a href="https://tools.engineer/tag/gdc/">
See all 6 posts →
</a>
</footer>
</article>
<!-- If there's a next post, display it using the same markup included from - partials/post-card.hbs -->
<article class="post-card post-template">
<a class="post-card-image-link" href="https://tools.engineer/gdc2018-procedural-world-generation-of-far-cry-5">
<div class="post-card-image" style="background-image: url(https://tools.engineer/assets/images/posts/gdc2018-procedural-world-generation-of-far-cry-5/clouds-1852955_1280.jpg)"></div>
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="https://tools.engineer/gdc2018-procedural-world-generation-of-far-cry-5">
<header class="post-card-header">
<span class="post-card-tags">Gdc</span>
<span class="post-card-tags">Procedural</span>
<span class="post-card-tags">Visual-arts</span>
<span class="post-card-tags">Level-art</span>
<span class="post-card-tags">Level-design</span>
<h2 class="post-card-title">Notes for "Procedural World Generation of 'Far Cry 5'" GDC2018</h2>
</header>
<section class="post-card-excerpt">
<p>__TLDW Summary__: This talk is about how FC5 developers created a pipeline for generating a realistic game world using procedural recipes. The talk contains a high-level overview of the pipeline with two deep</p>
</section>
</a>
<footer class="post-card-meta">
<img class="author-profile-image" src="https://tools.engineer/assets/images/vstepano.png" alt="Victor Stepanov" />
<span class="post-card-author">
<a href="https://tools.engineer/author/vstepano/">Victor Stepanov</a>
</span>
</footer>
</div>
</article>
<!-- If there's a previous post, display it using the same markup included from - partials/post-card.hbs -->
<article class="post-card post-template">
<a class="post-card-image-link" href="https://tools.engineer/gdc2019-the-future-of-scene-description-on-god-of-war">
<div class="post-card-image" style="background-image: url(https://tools.engineer/assets/images/posts/blank-composition-desk-gdc2019.jpg)"></div>
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="https://tools.engineer/gdc2019-the-future-of-scene-description-on-god-of-war">
<header class="post-card-header">
<span class="post-card-tags">Gdc</span>
<span class="post-card-tags">Data</span>
<span class="post-card-tags">Determinism</span>
<span class="post-card-tags">Ddl</span>
<h2 class="post-card-title">Notes for "The Future of Scene Description on 'God of War'" GDC2019</h2>
</header>
<section class="post-card-excerpt">
<p>TLDW Summary: This talk sheds light on the decisions that were made by the Santa Monica Studio’s engine team while tackling the problems of time and complexity in transforming source data into game-ready</p>
</section>
</a>
<footer class="post-card-meta">
<img class="author-profile-image" src="https://tools.engineer/assets/images/vstepano.png" alt="Victor Stepanov" />
<span class="post-card-author">
<a href="https://tools.engineer/author/vstepano/">Victor Stepanov</a>
</span>
</footer>
</div>
</article>
</div>
</div>
</aside>
<!-- Floating header which appears on-scroll, included from includes/floating-header.hbs -->
<div class="floating-header">
<div class="floating-header-logo">
<a href="https://tools.engineer/">
<img src="https://tools.engineer/assets/images/favicon.png" alt="Victor Stepanov icon" />
<span>Victor Stepanov</span>
</a>
</div>
<span class="floating-header-divider">—</span>
<div class="floating-header-title">Notes for "Tools for 'Marvel's Spider-Man' Editing with Immutable Data" GDC2019</div>
<div class="floating-header-share">
<div class="floating-header-share-label">Share this <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M7.5 15.5V4a1.5 1.5 0 1 1 3 0v4.5h2a1 1 0 0 1 1 1h2a1 1 0 0 1 1 1H18a1.5 1.5 0 0 1 1.5 1.5v3.099c0 .929-.13 1.854-.385 2.748L17.5 23.5h-9c-1.5-2-5.417-8.673-5.417-8.673a1.2 1.2 0 0 1 1.76-1.605L7.5 15.5zm6-6v2m-3-3.5v3.5m6-1v2"/>
</svg>
</div>
<a class="floating-header-share-tw" href="https://twitter.com/share?text=Notes+for+%22Tools+for+%27Marvel%27s+Spider-Man%27+Editing+with+Immutable+Data%22+GDC2019&url=https://tools.engineer/gdc2019-tools-for-marvels-spider-man-editing-with-immutable-data"
onclick="window.open(this.href, 'share-twitter', 'width=550,height=235');return false;">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M30.063 7.313c-.813 1.125-1.75 2.125-2.875 2.938v.75c0 1.563-.188 3.125-.688 4.625a15.088 15.088 0 0 1-2.063 4.438c-.875 1.438-2 2.688-3.25 3.813a15.015 15.015 0 0 1-4.625 2.563c-1.813.688-3.75 1-5.75 1-3.25 0-6.188-.875-8.875-2.625.438.063.875.125 1.375.125 2.688 0 5.063-.875 7.188-2.5-1.25 0-2.375-.375-3.375-1.125s-1.688-1.688-2.063-2.875c.438.063.813.125 1.125.125.5 0 1-.063 1.5-.25-1.313-.25-2.438-.938-3.313-1.938a5.673 5.673 0 0 1-1.313-3.688v-.063c.813.438 1.688.688 2.625.688a5.228 5.228 0 0 1-1.875-2c-.5-.875-.688-1.813-.688-2.75 0-1.063.25-2.063.75-2.938 1.438 1.75 3.188 3.188 5.25 4.25s4.313 1.688 6.688 1.813a5.579 5.579 0 0 1 1.5-5.438c1.125-1.125 2.5-1.688 4.125-1.688s3.063.625 4.188 1.813a11.48 11.48 0 0 0 3.688-1.375c-.438 1.375-1.313 2.438-2.563 3.188 1.125-.125 2.188-.438 3.313-.875z"/></svg>
</a>
</div>
<progress class="progress" value="0">
<div class="progress-container">
<span class="progress-bar"></span>
</div>
</progress>
</div>
<!-- /post -->
<!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs -->
<!-- Previous/next page links - displayed on every page -->
<!-- The footer at the very bottom of the screen -->
<footer class="site-footer outer">
<div class="site-footer-content inner">
<section class="copyright"><a href="https://tools.engineer/">Victor Stepanov</a> © 2020</section>
<section class="poweredby">Proudly published with <a href="https://jekyllrb.com/">Jekyll</a> &
<a href="https://pages.github.com/" target="_blank" rel="noopener">GitHub Pages</a> using
<a href="https://github.com/jekyller/jasper2" target="_blank" rel="noopener">Jasper2</a></section>
<nav class="site-footer-nav">
<a href="https://tools.engineer/">Latest Posts</a>
<a href="https://twitter.com/VictorStepanov" target="_blank" rel="noopener">Twitter</a>
<a href="https://www.linkedin.com/in/victor-stepanov-673aa18b/" target="_blank" rel="noopener">LinkedIn</a>
</nav>
</div>
</footer>
</div>
<!-- The big email subscribe modal content -->
<!-- highlight.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.10.0/components/prism-abap.min.js"></script>
<script>$(document).ready(function() {
$('pre code').each(function(i, block) {
hljs.highlightBlock(block);
});
});</script>
<!-- jQuery + Fitvids, which makes all video embeds responsive -->
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
</script>
<script type="text/javascript" src="https://tools.engineer/assets/js/jquery.fitvids.js"></script>
<script type="text/javascript" src="https://demo.ghost.io/assets/js/jquery.fitvids.js?v=724281a32e"></script>
<!-- Paginator increased to "infinit" in _config.yml -->
<!-- if paginator.posts -->
<!-- <script>
var maxPages = parseInt('');
</script>
<script src="https://tools.engineer/assets/js/infinitescroll.js"></script> -->
<!-- /endif -->
<!-- Add Google Analytics -->
<!-- Google Analytics Tracking code -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-115002546-1', 'auto');
ga('send', 'pageview');
</script>
<!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. -->
<script>
// NOTE: Scroll performance is poor in Safari
// - this appears to be due to the events firing much more slowly in Safari.
// Dropping the scroll event and using only a raf loop results in smoother
// scrolling but continuous processing even when not scrolling
$(document).ready(function () {
// Start fitVids
var $postContent = $(".post-full-content");
$postContent.fitVids();
// End fitVids
var progressBar = document.querySelector('progress');
var header = document.querySelector('.floating-header');
var title = document.querySelector('.post-full-title');
var lastScrollY = window.scrollY;
var lastWindowHeight = window.innerHeight;
var lastDocumentHeight = $(document).height();
var ticking = false;
function onScroll() {
lastScrollY = window.scrollY;
requestTick();
}
function onResize() {
lastWindowHeight = window.innerHeight;
lastDocumentHeight = $(document).height();
requestTick();
}
function requestTick() {
if (!ticking) {
requestAnimationFrame(update);
}
ticking = true;
}
function update() {
var trigger = title.getBoundingClientRect().top + window.scrollY;
var triggerOffset = title.offsetHeight + 35;
var progressMax = lastDocumentHeight - lastWindowHeight;
// show/hide floating header
if (lastScrollY >= trigger + triggerOffset) {
header.classList.add('floating-active');
} else {
header.classList.remove('floating-active');
}
progressBar.setAttribute('max', progressMax);
progressBar.setAttribute('value', lastScrollY);
ticking = false;
}
window.addEventListener('scroll', onScroll, {passive: true});
window.addEventListener('resize', onResize, false);
update();
});
</script>
<!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag -->
<!-- ghost_foot -->
</body>
</html>