-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1171 lines (672 loc) · 37.5 KB
/
index.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
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/images/icon.svg">
<link rel="icon" href="/images/icon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="author" content="greyishsong">
<meta name="keywords" content="">
<meta property="og:type" content="website">
<meta property="og:title" content="greyishsong">
<meta property="og:url" content="https://greyishsong.ink/index.html">
<meta property="og:site_name" content="greyishsong">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="greyishsong">
<meta name="twitter:card" content="summary_large_image">
<title>greyishsong</title>
<link rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
<link rel="stylesheet" href="/css/main.css" />
<link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
<link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
<script id="fluid-configs">
var Fluid = window.Fluid || {};
Fluid.ctx = Object.assign({}, Fluid.ctx)
var CONFIG = {"hostname":"greyishsong.ink","root":"/","version":"1.9.7","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"follow_dnt":true,"baidu":null,"google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":"a1Kv3OSkTrFKyMVyQy5vOxqf-gzGzoHsz","app_key":"2ioOotea0dkGu0KrNYcWYS1r","server_url":"https://a1kv3osk.lc-cn-n1-shared.com","path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml","include_content_in_search":true};
if (CONFIG.web_analytics.follow_dnt) {
var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
}
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<!-- Google tag (gtag.js) -->
<script async>
if (!Fluid.ctx.dnt) {
Fluid.utils.createScript("https://www.googletagmanager.com/gtag/js?id=", function() {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '');
});
}
</script>
<meta name="generator" content="Hexo 6.3.0"><link rel="alternate" href="/rss2.xml" title="greyishsong" type="application/rss+xml">
</head>
<body>
<header>
<div class="header-inner" style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand" href="/">
<strong>greyishsong</strong>
</a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/" target="_self">
<i class="iconfont icon-home-fill"></i>
<span>首页</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/" target="_self">
<i class="iconfont icon-archive-fill"></i>
<span>归档</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/" target="_self">
<i class="iconfont icon-category-fill"></i>
<span>分类</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/" target="_self">
<i class="iconfont icon-tags-fill"></i>
<span>标签</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/" target="_self">
<i class="iconfont icon-user-fill"></i>
<span>关于</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/links/" target="_self">
<i class="iconfont icon-link-fill"></i>
<span>友链</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/rss2.xml" target="_self">
<i class="iconfont icon-rss"></i>
<span>RSS</span>
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
<i class="iconfont icon-search"></i>
</a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
<i class="iconfont icon-dark" id="color-toggle-icon"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div id="banner" class="banner" parallax=true
style="background: url('/images/banner.gif') no-repeat center center; background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="banner-text text-center fade-in-up">
<div class="h2">
<span id="subtitle" data-typed-text="Nothing dearer than the greyish song, where the wavering and precise are joined."></span>
</div>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div id="board"
style="margin-top: 0">
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E5%85%AD%EF%BC%89%EF%BC%9A%E8%BF%90%E5%8A%A8%E5%92%8C%E7%A2%B0%E6%92%9E/" target="_blank">
<img src="/images/dandelion.png" srcset="/img/loading.gif" lazyload alt="图形学实验框架 Dandelion 始末(六):运动和碰撞">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E5%85%AD%EF%BC%89%EF%BC%9A%E8%BF%90%E5%8A%A8%E5%92%8C%E7%A2%B0%E6%92%9E/" target="_blank">
图形学实验框架 Dandelion 始末(六):运动和碰撞
</a>
</h2>
<a class="index-excerpt " href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E5%85%AD%EF%BC%89%EF%BC%9A%E8%BF%90%E5%8A%A8%E5%92%8C%E7%A2%B0%E6%92%9E/" target="_blank">
<div>
《始末》系列是关于 Dandelion 1.0 版本的个人回忆,而这是系列里关于实现过程和细节的最后一篇。完成前面的诸多工作之后,利用场景、物体数据和渲染机制,再配合独立性很强的求解器,物体就可以运动起来了。
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2025-01-05 13:07" pubdate>
2025-01-05
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E7%BC%96%E7%A8%8B/" class="category-chain-item">编程</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E5%9B%BE%E5%BD%A2%E5%AD%A6/">#图形学</a>
<a href="/tags/%E8%AF%BE%E7%A8%8B/">#课程</a>
<a href="/tags/%E7%BC%96%E7%A8%8B/">#编程</a>
<a href="/tags/%E6%9C%AC%E7%A7%91%E6%95%99%E8%82%B2/">#本科教育</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%BA%94%EF%BC%89%EF%BC%9A%E4%BA%A4%E4%BA%92%E5%BC%8F%E5%87%A0%E4%BD%95%E7%BC%96%E8%BE%91/" target="_blank">
<img src="/images/dandelion.png" srcset="/img/loading.gif" lazyload alt="图形学实验框架 Dandelion 始末(五):交互式几何编辑">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%BA%94%EF%BC%89%EF%BC%9A%E4%BA%A4%E4%BA%92%E5%BC%8F%E5%87%A0%E4%BD%95%E7%BC%96%E8%BE%91/" target="_blank">
图形学实验框架 Dandelion 始末(五):交互式几何编辑
</a>
</h2>
<a class="index-excerpt " href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%BA%94%EF%BC%89%EF%BC%9A%E4%BA%A4%E4%BA%92%E5%BC%8F%E5%87%A0%E4%BD%95%E7%BC%96%E8%BE%91/" target="_blank">
<div>
原计划一口气写完《始末》这个系列,却在去年年初中断。写下这篇文章的时候已经是 2025 年,实在始料不及。这篇文章着重于 Dandelion “建模模式”背后的交互实现与数据同步机制,而不是几何算法,因为我认为前者是回忆录中更值得回顾的部分。
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2025-01-01 11:35" pubdate>
2025-01-01
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E7%BC%96%E7%A8%8B/" class="category-chain-item">编程</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E5%9B%BE%E5%BD%A2%E5%AD%A6/">#图形学</a>
<a href="/tags/%E8%AF%BE%E7%A8%8B/">#课程</a>
<a href="/tags/%E7%BC%96%E7%A8%8B/">#编程</a>
<a href="/tags/%E6%9C%AC%E7%A7%91%E6%95%99%E8%82%B2/">#本科教育</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E8%A5%BF%E5%BD%93%E5%A4%AA%E7%99%BD%E6%9C%89%E9%B8%9F%E9%81%93/" target="_blank">
<img src="/%E8%A5%BF%E5%BD%93%E5%A4%AA%E7%99%BD%E6%9C%89%E9%B8%9F%E9%81%93/DSC_2944.jpg" srcset="/img/loading.gif" lazyload alt="西当太白有鸟道">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E8%A5%BF%E5%BD%93%E5%A4%AA%E7%99%BD%E6%9C%89%E9%B8%9F%E9%81%93/" target="_blank">
西当太白有鸟道
</a>
</h2>
<a class="index-excerpt " href="/%E8%A5%BF%E5%BD%93%E5%A4%AA%E7%99%BD%E6%9C%89%E9%B8%9F%E9%81%93/" target="_blank">
<div>
神仙居所,凡夫难入。
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-11-13 21:16" pubdate>
2024-11-13
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E9%9A%8F%E7%AC%94/" class="category-chain-item">随笔</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E7%94%9F%E6%B4%BB/">#生活</a>
<a href="/tags/%E6%8B%8D%E6%91%84/">#拍摄</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E5%88%9D%E5%A4%8F%E9%9D%92%E9%BE%99%E5%AF%BA%E5%B0%8F%E8%AE%B0/" target="_blank">
<img src="/%E5%88%9D%E5%A4%8F%E9%9D%92%E9%BE%99%E5%AF%BA%E5%B0%8F%E8%AE%B0/DSC_2760.JPG" srcset="/img/loading.gif" lazyload alt="初夏青龙寺小记">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%88%9D%E5%A4%8F%E9%9D%92%E9%BE%99%E5%AF%BA%E5%B0%8F%E8%AE%B0/" target="_blank">
初夏青龙寺小记
</a>
</h2>
<a class="index-excerpt " href="/%E5%88%9D%E5%A4%8F%E9%9D%92%E9%BE%99%E5%AF%BA%E5%B0%8F%E8%AE%B0/" target="_blank">
<div>
忙得有些生厌,遂出门闲逛。乍一想起来西安四年半了还未去过青龙寺,转念又想,没去过的地方且多了去,想到哪里去哪里逛逛就是了。 看过才知道,青龙寺实名青龙寺遗址,而所谓遗址当指的是被发掘的若干地基及文物,并无地上建筑存留。今之青龙寺遗址博物馆及寺院,多半是钢筋混凝土结构——样式不错,不过在西安也不算出奇。 此时立夏已一周,牡丹之类俱已开败,园子里已找不到多少花。然而初夏之际,草木茂盛最为可观,加上游人
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-16 16:45" pubdate>
2024-05-16
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E9%9A%8F%E7%AC%94/" class="category-chain-item">随笔</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E7%94%9F%E6%B4%BB/">#生活</a>
<a href="/tags/%E6%8B%8D%E6%91%84/">#拍摄</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E5%9B%9B%EF%BC%89%EF%BC%9A%E6%B8%B2%E6%9F%93%E6%A8%A1%E5%BC%8F%E4%B8%8E%E8%BD%AF%E6%B8%B2%E6%9F%93%E6%B5%81%E7%A8%8B/" target="_blank">
<img src="/images/dandelion.png" srcset="/img/loading.gif" lazyload alt="图形学实验框架 Dandelion 始末(四):渲染模式与软渲染流程">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E5%9B%9B%EF%BC%89%EF%BC%9A%E6%B8%B2%E6%9F%93%E6%A8%A1%E5%BC%8F%E4%B8%8E%E8%BD%AF%E6%B8%B2%E6%9F%93%E6%B5%81%E7%A8%8B/" target="_blank">
图形学实验框架 Dandelion 始末(四):渲染模式与软渲染流程
</a>
</h2>
<a class="index-excerpt " href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E5%9B%9B%EF%BC%89%EF%BC%9A%E6%B8%B2%E6%9F%93%E6%A8%A1%E5%BC%8F%E4%B8%8E%E8%BD%AF%E6%B8%B2%E6%9F%93%E6%B5%81%E7%A8%8B/" target="_blank">
<div>
GAMES 101 的实验中包含了经典的光栅化渲染、Whitted-Style Ray-Tracing 和路径追踪,加上闫老师高质量的课程内容,已经把局部光照渲染和全局光照渲染这两种视角展示得很不错了。但我从开始做 101 的实验时就产生了一个遗憾——为什么不能用我自己编写的工具来渲染任何我想要渲染的模型呢?而这正是 Dandelion 想要弥补的地方。
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-02-05 10:47" pubdate>
2024-02-05
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E7%BC%96%E7%A8%8B/" class="category-chain-item">编程</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E5%9B%BE%E5%BD%A2%E5%AD%A6/">#图形学</a>
<a href="/tags/%E8%AF%BE%E7%A8%8B/">#课程</a>
<a href="/tags/%E7%BC%96%E7%A8%8B/">#编程</a>
<a href="/tags/%E6%9C%AC%E7%A7%91%E6%95%99%E8%82%B2/">#本科教育</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%B8%89%EF%BC%89%EF%BC%9AOpenGL-API-%E6%8A%BD%E8%B1%A1%E4%B8%8E%E5%AE%9E%E6%97%B6%E6%B8%B2%E6%9F%93/" target="_blank">
<img src="/images/dandelion.png" srcset="/img/loading.gif" lazyload alt="图形学实验框架 Dandelion 始末(三):OpenGL API 抽象与实时渲染">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%B8%89%EF%BC%89%EF%BC%9AOpenGL-API-%E6%8A%BD%E8%B1%A1%E4%B8%8E%E5%AE%9E%E6%97%B6%E6%B8%B2%E6%9F%93/" target="_blank">
图形学实验框架 Dandelion 始末(三):OpenGL API 抽象与实时渲染
</a>
</h2>
<a class="index-excerpt " href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%B8%89%EF%BC%89%EF%BC%9AOpenGL-API-%E6%8A%BD%E8%B1%A1%E4%B8%8E%E5%AE%9E%E6%97%B6%E6%B8%B2%E6%9F%93/" target="_blank">
<div>
OpenGL 标准描述了一种 C/S 架构的 GPU 编程模式:CPU 上执行的程序是 Client ,通过调用 API 可以查询或更改全局状态,也可以请求渲染;GPU 是 Server ,响应查、改状态或渲染的请求。这种设计思路导致编程时需要时刻考虑许多状态,而每次进行渲染都要更改若干个状态。为了更方便地管理这些状态,我在 Dandelion 框架实现中对 OpenGL 略作封装,屏蔽了大部分细
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-01-28 19:33" pubdate>
2024-01-28
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E7%BC%96%E7%A8%8B/" class="category-chain-item">编程</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E5%9B%BE%E5%BD%A2%E5%AD%A6/">#图形学</a>
<a href="/tags/%E8%AF%BE%E7%A8%8B/">#课程</a>
<a href="/tags/%E7%BC%96%E7%A8%8B/">#编程</a>
<a href="/tags/%E6%9C%AC%E7%A7%91%E6%95%99%E8%82%B2/">#本科教育</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%BA%8C%EF%BC%89%EF%BC%9A%E6%9C%80%E5%88%9D%E5%8E%9F%E5%9E%8B%E5%AE%9E%E7%8E%B0/" target="_blank">
<img src="/images/dandelion.png" srcset="/img/loading.gif" lazyload alt="图形学实验框架 Dandelion 始末(二):最初原型实现">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%BA%8C%EF%BC%89%EF%BC%9A%E6%9C%80%E5%88%9D%E5%8E%9F%E5%9E%8B%E5%AE%9E%E7%8E%B0/" target="_blank">
图形学实验框架 Dandelion 始末(二):最初原型实现
</a>
</h2>
<a class="index-excerpt " href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%BA%8C%EF%BC%89%EF%BC%9A%E6%9C%80%E5%88%9D%E5%8E%9F%E5%9E%8B%E5%AE%9E%E7%8E%B0/" target="_blank">
<div>
当我有了初步的需求分析结果,下一步就可以开始写代码了。虽然当初动手实现之前已经有了一些思考和设计,但后来写出的代码还是有不少问题。这一篇文章回顾最初对代码结构的设计,其中有很多粗糙的地方后来被大幅度重构,但事件循环和交互处理的部分还是大致留存下来了。
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-10-30 23:30" pubdate>
2023-10-30
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E7%BC%96%E7%A8%8B/" class="category-chain-item">编程</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E5%9B%BE%E5%BD%A2%E5%AD%A6/">#图形学</a>
<a href="/tags/%E8%AF%BE%E7%A8%8B/">#课程</a>
<a href="/tags/%E7%BC%96%E7%A8%8B/">#编程</a>
<a href="/tags/%E6%9C%AC%E7%A7%91%E6%95%99%E8%82%B2/">#本科教育</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%B8%80%EF%BC%89%EF%BC%9A%E9%9C%80%E6%B1%82%E4%B8%8E%E8%AE%BE%E8%AE%A1/" target="_blank">
<img src="/images/dandelion.png" srcset="/img/loading.gif" lazyload alt="图形学实验框架 Dandelion 始末(一):需求与设计">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%B8%80%EF%BC%89%EF%BC%9A%E9%9C%80%E6%B1%82%E4%B8%8E%E8%AE%BE%E8%AE%A1/" target="_blank">
图形学实验框架 Dandelion 始末(一):需求与设计
</a>
</h2>
<a class="index-excerpt " href="/%E5%9B%BE%E5%BD%A2%E5%AD%A6%E5%AE%9E%E9%AA%8C%E6%A1%86%E6%9E%B6-Dandelion-%E5%A7%8B%E6%9C%AB%EF%BC%88%E4%B8%80%EF%BC%89%EF%BC%9A%E9%9C%80%E6%B1%82%E4%B8%8E%E8%AE%BE%E8%AE%A1/" target="_blank">
<div>
和同学聊天时开玩笑说,建设一门课就好像养了一个孩子,时时处处需要关心。今年我为本科的图形学课程编写了全新的实验框架,也算是慢慢走出了完全模仿 CMU 15/462 的阶段,试图更好地在有限的教学条件下展现图形学的趣味。其实在此之前我并未写过如此规模的程序,完成框架的过程也因此成了锻炼自己的过程。如今框架初成,用这几篇文章回顾和总结一些设计与开发的经验,既是一段给后来开发者的说明,也是记一些自己的小
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-09-30 14:18" pubdate>
2023-09-30
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E7%BC%96%E7%A8%8B/" class="category-chain-item">编程</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E5%9B%BE%E5%BD%A2%E5%AD%A6/">#图形学</a>
<a href="/tags/%E8%AF%BE%E7%A8%8B/">#课程</a>
<a href="/tags/%E7%BC%96%E7%A8%8B/">#编程</a>
<a href="/tags/%E6%9C%AC%E7%A7%91%E6%95%99%E8%82%B2/">#本科教育</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h2 class="index-header">
<a href="/%E5%88%9D%E6%B6%89-%CE%BB-%E6%BC%94%E7%AE%97-lambda-calculus/" target="_blank">
初涉 λ 演算 (lambda calculus)
</a>
</h2>
<a class="index-excerpt index-excerpt__noimg" href="/%E5%88%9D%E6%B6%89-%CE%BB-%E6%BC%94%E7%AE%97-lambda-calculus/" target="_blank">
<div>
不幸上了一门干瘪枯燥的形式化方法课程,但课讲得不太好并不影响这些知识的趣味,毕竟还可以自己学嘛。课程内容更偏向软件形式化验证,不过会补充 λ 演算的内容,并且用到的证明器 Coq 也比较像是一种函数式语言。而相比于形式化验证,我对 λ 演算和函数式编程的兴趣更多一点。借着几篇博客和一些视频资料了解 λ 演算是什么之后,我也写下了几页的草稿和笔记。这里再整理一下自己的思路,从原始的 λ 演算系统开始
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-05-28 14:59" pubdate>
2023-05-28
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%95%B0%E5%AD%A6/" class="category-chain-item">数学</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%CE%BB-%E6%BC%94%E7%AE%97/">#λ 演算</a>
<a href="/tags/%E5%87%BD%E6%95%B0%E5%BC%8F%E7%BC%96%E7%A8%8B/">#函数式编程</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/Lady-Godiva-%E9%B9%A4%E7%94%B0%E8%8A%B3%E9%87%8C-Whale-Ivan-D-Handoko/" target="_blank">
<img src="/Lady-Godiva-%E9%B9%A4%E7%94%B0%E8%8A%B3%E9%87%8C-Whale-Ivan-D-Handoko/DSC_2281.JPG" srcset="/img/loading.gif" lazyload alt="Lady Godiva (鹤田芳里) & Whale (Ivan D. Handoko)">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/Lady-Godiva-%E9%B9%A4%E7%94%B0%E8%8A%B3%E9%87%8C-Whale-Ivan-D-Handoko/" target="_blank">
Lady Godiva (鹤田芳里) & Whale (Ivan D. Handoko)
</a>
</h2>
<a class="index-excerpt " href="/Lady-Godiva-%E9%B9%A4%E7%94%B0%E8%8A%B3%E9%87%8C-Whale-Ivan-D-Handoko/" target="_blank">
<div>
《折纸侦探团》合集 25 期里的两个双色作品,用的都是 40 cm 的西口纸。
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-03-20 12:58" pubdate>
2023-03-20
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/%E6%89%8B%E5%B7%A5%E8%89%BA/" class="category-chain-item">手工艺</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E6%8A%98%E7%BA%B8/">#折纸</a>
<a href="/tags/%E7%94%9F%E6%B4%BB/">#生活</a>
</div>
</div>
</article>
</div>
<nav aria-label="navigation">
<span class="pagination" id="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/#board">2</a><a class="page-number" href="/page/3/#board">3</a><a class="page-number" href="/page/4/#board">4</a><a class="extend next" rel="next" href="/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>
</div>
</div>
</div>
</div>
</div>