From 06d90fd4dede40478010f1017d4c648914a8e765 Mon Sep 17 00:00:00 2001 From: lmj01 Date: Mon, 29 Jul 2024 16:35:25 +0800 Subject: [PATCH] update --- articles/notes/work.md | 7 ++++++ cg/geometry.md | 1 + cg/mesh/IsogeometricAnalysis.md | 7 ++++++ cg/mesh/isogeometric.md | 4 +++- cg/threejs/use.md | 13 ++++++++++- cpl/cplusplus.md | 3 ++- cpl/cpp/crtp.md | 4 ++++ exercises/differential.integral.md | 19 ++++++++++++++++ exercises/index.md | 1 + exercises/math.md | 23 ++++++++++++++----- index/book-info.md | 5 +++++ index/online.md | 6 +++++ web/library.md | 36 +++++++++++++++++++----------- 13 files changed, 107 insertions(+), 22 deletions(-) create mode 100644 articles/notes/work.md create mode 100644 cg/mesh/IsogeometricAnalysis.md create mode 100644 cpl/cpp/crtp.md create mode 100644 exercises/differential.integral.md diff --git a/articles/notes/work.md b/articles/notes/work.md new file mode 100644 index 0000000..3e4e030 --- /dev/null +++ b/articles/notes/work.md @@ -0,0 +1,7 @@ +# 工作内容 + +## 方案页面 + +- 2024-7-25 游离根 跟着 颌骨显示 + +## 快速目标位 diff --git a/cg/geometry.md b/cg/geometry.md index 737614f..b5d580a 100644 --- a/cg/geometry.md +++ b/cg/geometry.md @@ -1,6 +1,7 @@ # Geometry - [Polygon Mesh Processing书籍](/cg/mesh/PolygonMeshProcessing.md) +- [Isogeometric Anylasis](/cg/mesh/IsogeometricAnylasis.md) ## Projective Geometric Algebra diff --git a/cg/mesh/IsogeometricAnalysis.md b/cg/mesh/IsogeometricAnalysis.md new file mode 100644 index 0000000..7a2dbc4 --- /dev/null +++ b/cg/mesh/IsogeometricAnalysis.md @@ -0,0 +1,7 @@ +# [Isogeometric Anylasis](https://book.douban.com/subject/6307241/) + +- [G+Smo (pronounced gismo or gizmo) is a C++ library for isogeometric analysis (IGA). Geometry plus simulation modules aims at the seamless integration of Computer-aided Design (CAD) and Finite Element Analysis (FEA). ](https://github.com/gismo/gismo) + +## 观点 + +- 2024-7-29,随着百亿亿次浮点运算计算的时代即将到来,并行性不断提高,但最大的非结构化网格模拟已经停滞不前,因为没有人真正知道如何生成和调整大规模网格以跟上日益增长的并发性。为了能够适应多个核心并行系统的时代,CAD软件、几何、网格划分、分析、自适应性和可视化都必须以紧密集成的方式、并行和可扩展的方式运行。打破工程设计和分析之间障碍的方法是重建整个过程,但同时保持与现有实践的兼容性。这将需要改变经典FEA转向基于CAD表示的分析程序。这个概念被称为等几何分析(Isogeometric Analysis),简称IGA。 diff --git a/cg/mesh/isogeometric.md b/cg/mesh/isogeometric.md index 1dbf7eb..ec98cbf 100644 --- a/cg/mesh/isogeometric.md +++ b/cg/mesh/isogeometric.md @@ -1,6 +1,8 @@ # Isogeometric -## Isogeometric Anylasis +- [Isogeometric Anylasis](/cg/mesh/IsogeometricAnylasis.md) + +## [IGA -- Isogeometric Anylasis]() 等几何分析始于Thomas Hughes教授参与关于从CAD模型创建有限元模型的研究。研究的要点表达了这样一个主题:尽管对网格生成进行了多年的研究,但CAD到Mesh创建问题依然是有效使用FEA(有限元分析)的重大瓶颈,对于复杂的工程设计来说,这个问题似乎越来越严重。 diff --git a/cg/threejs/use.md b/cg/threejs/use.md index 57069cf..807e92a 100644 --- a/cg/threejs/use.md +++ b/cg/threejs/use.md @@ -9,4 +9,15 @@ ### flickering 渲染边沿出现跳动flicker的现象通常由几个常见的原因组成 -- z-fighting, 是webgl常见的问题,当两个表面或多个表面非常接近时,它们的深度值可能会重叠,导致在渲染时不知道切换那个表面,可以增加一个偏移来避免 \ No newline at end of file +- z-fighting, 是webgl常见的问题,当两个表面或多个表面非常接近时,它们的深度值可能会重叠,导致在渲染时不知道切换那个表面,可以增加一个偏移来避免 + +#### 2024-7-24 + +**精度影响** +Camera的Near值定义了相机视锥体的近裁剪平面。当Near值设置得过小时,GPU在渲染近处物体时可能需要更高的深度精度来区分不同物体的前后关系,这可能导致深度缓冲(Depth Buffer)中的精度不足,进而引发Z-Fighting现象。 + +Z-Fighting表现为物体表面出现闪烁或重叠的视觉效果,尤其是在两个物体非常接近且面向相机时更为明显。解决Z-Fighting:通过增加Near值,可以减少对深度精度的要求,从而在一定程度上缓解Z-Fighting问题。但这需要在视觉效果和场景需求之间做出权衡,因为过大的Near值可能会使近处物体的一部分被裁剪掉。 + +较小的Near值允许相机更近距离地观察物体,从而提供更为精细的近景渲染效果。这对于需要展示物体细节的场景(如微观世界、精密机械等)尤为重要。 + +牙龈的渲染,使用的shader精度有问题,会导致flickering的产生,只能加大camera的near的值。 diff --git a/cpl/cplusplus.md b/cpl/cplusplus.md index dca9672..d710042 100644 --- a/cpl/cplusplus.md +++ b/cpl/cplusplus.md @@ -5,6 +5,7 @@ - [The Guidelines Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This repo contains Microsoft's implementation of GSL.](https://github.com/Microsoft/GSL) - [TMP -- Template Meta Programming](/cpl/cpp/tmp.md) +- [CRTP -- Curiously Recurring Template Pattern](/cpl/cpp/crtp.md) ## 语言特性 @@ -148,7 +149,7 @@ base + sizeof * 偏移量,数组指针好像就是这样的,用*(a+b)访 - [C++分析,可看到预处理状态](https://cppinsights.io/) - [C++Benchmark](https://quick-bench.com/q/6tDxsmk3FMX55B8W1RrdiG_s7_k) ### 代码例子 -- [crtp](/cpl/cpp/crtp.cpp) +- - [offsetof](/cpl/cpp/offsetof.cpp) - [reference](/cpl/cpp/reference.cpp) diff --git a/cpl/cpp/crtp.md b/cpl/cpp/crtp.md new file mode 100644 index 0000000..661c6a1 --- /dev/null +++ b/cpl/cpp/crtp.md @@ -0,0 +1,4 @@ +# [Curiously Recurring Template Pattern](https://en.cppreference.com/w/cpp/language/crtp) + +- [crtp](/cpl/cpp/crtp.cpp) + diff --git a/exercises/differential.integral.md b/exercises/differential.integral.md new file mode 100644 index 0000000..b8535c2 --- /dev/null +++ b/exercises/differential.integral.md @@ -0,0 +1,19 @@ +# 微积分 + +## 微分 + +### 分部积分 + +在偏微分 + +## 数值积分 + +### Newton-Leibniz定积分 +空间曲线弧长、质心和惯性张量矩阵的计算都需要计算定积分,定积分的计算一般是通过Newton-Leibniz公式,找出被积函数的原函数来计算。但是在许多实际计算问题中,往往难以运用上述方法来求积分,因为有些被积函数找不到原函数。或者无完整的表达式而仅是由实验测量或计算给出的若干离散点上的量值。 + +### Gauss积分 + +Gauss型求积算法是数值稳定的,且对有限闭区间上的连续函数,Gauss求积的数值随节点数目的增加而收敛到准确积分值 。 + +- [高斯积分](http://staff.ustc.edu.cn/~rui/textbooks/nm/slides/num-integration-gauss.html#/16) +- [第四章 数值积分与数值微分 朱升峰 华东师范大学 数学科学学院](https://math.ecnu.edu.cn/~sfzhu/course/NumerAnal/NumerInt3.pdf) \ No newline at end of file diff --git a/exercises/index.md b/exercises/index.md index 67f177e..cce4a71 100644 --- a/exercises/index.md +++ b/exercises/index.md @@ -10,6 +10,7 @@ - [高中数学](/exercises/math.high.md) - [高等数学](/exercises/advanced.mathematics.md) - [数论](/exercises/number.theory.md) +- [微积分](/exercises/differential.integral.md) - [数值计算](/exercises/numerical.calculation.md) - [几何](/exercises/geometry.md) - [线性代数](/exercises/linear.algebra.md) diff --git a/exercises/math.md b/exercises/math.md index 41301ce..bece10e 100644 --- a/exercises/math.md +++ b/exercises/math.md @@ -98,12 +98,6 @@ ## 高等数学 -## 数论 - -数论是一个有些特殊的板块,它是唯一一个完整的学科,大学数学系都有一门课是初等数论,基本就是完完整整地讲了一遍高中竞赛的全部内容,不多不少。数论的学习最重要的是知识体系的建立。 - -- [初等数论-北大出版社](https://book.douban.com/subject/21267842/) -- [数论讲义(上册)](https://book.douban.com/subject/1653408/)[数论讲义(下册)](https://book.douban.com/subject/1237669/) ### 几何 @@ -116,3 +110,20 @@ - [James Munkres. Topology]() - [John L. Kelley General Topology]() - [EH Spanier. Algebraic Topology]() + +## 数论 + +数论是一个有些特殊的板块,它是唯一一个完整的学科,大学数学系都有一门课是初等数论,基本就是完完整整地讲了一遍高中竞赛的全部内容,不多不少。数论的学习最重要的是知识体系的建立。 + +- [初等数论-北大出版社](https://book.douban.com/subject/21267842/) +- [数论讲义(上册)](https://book.douban.com/subject/1653408/)[数论讲义(下册)](https://book.douban.com/subject/1237669/) + +## 对称性 + +收集与对称性关联的相关知识 + +### IFS + +Iterated Function System迭代函数系统 +- [Chapter 9 Iterated function systems—self-similar and self-affine sets](https://www.ma.ic.ac.uk/~jswlamb/M345PA46/F03%20chap%209.pdf) +- [TRANSITION PHENOMENA FOR THE ATTRACTOR OF AN ITERATED FUNCTION SYSTEM](https://arxiv.org/pdf/2205.01185) diff --git a/index/book-info.md b/index/book-info.md index 42f51c8..9469f84 100644 --- a/index/book-info.md +++ b/index/book-info.md @@ -14,6 +14,11 @@ - 毛选,在读 - 符号学:原理与推演,南京大学出版社,ISBN:9787305160516, 在读 +### [Design Patterns in Modern C++](https://book.douban.com/subject/30200080/) + +- crtp + + ### [OpenGL SuperBible](https://github.com/openglsuperbible) [github code](https://github.com/openglsuperbible) diff --git a/index/online.md b/index/online.md index eb7126a..8fba0b0 100644 --- a/index/online.md +++ b/index/online.md @@ -41,6 +41,12 @@ - [ ISO C++ 标准委员会主席, 已经订阅其博客working at the intersection of programming language design/UX, people, and high performance code.](https://herbsutter.com/) - [关于图形编程的一个资源网站Graphics Programming is an online community of graphics programmers of all backgrounds and experience levels.](http://graphics-programming.org/) +## 游戏 + +### [space-station-14](https://spacestation14.com/) +该项目是经典游戏《Space Station 13》的开源重制版。在这款回合制多人角色扮演的游戏中,玩家可以选择各种角色,如工程师、船长和叛徒,并与其他玩家合作或竞争,在资源有限的环境中生存。 +- [github](https://github.com/space-wizards/space-station-14) + ## 工具 - [Javascript Playground--邮箱meijie.lmj@outlook.com](https://playcode.io/) diff --git a/web/library.md b/web/library.md index cd00abc..8d3d227 100644 --- a/web/library.md +++ b/web/library.md @@ -63,7 +63,21 @@ Parchment is Quill's document model. It is a parallel tree structure to the DOM 插件的写法可参考安装后的code插件来写。 modules\tinymce\src\core\main\ts\api\Options.ts -## jszip +## [node-gyp](https://github.com/nodejs/node-gyp) +node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js. It contains a vendored copy of the gyp-next project that was previously used by the Chromium team and extended to support the development of Node.js native addons. + +## [PartyKit simplifies developing multiplayer applications.](https://github.com/partykit/partykit) +With PartyKit, you can focus on building multiplayer apps or adding real-time experiences to your existing projects with as little as one line of code. Meanwhile, PartyKit will handle operational complexity and real-time infrastructure scaling. + +- [doc](https://docs.partykit.io/) + +## [UMI](https://umijs.org/) +- [笔记](/articles/2024/umi.md) + +## 展示类 + + +### jszip ```javascript new Promise(()=>{ @@ -89,16 +103,7 @@ new Promise(()=>{ }) ``` - -## [node-gyp](https://github.com/nodejs/node-gyp) -node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js. It contains a vendored copy of the gyp-next project that was previously used by the Chromium team and extended to support the development of Node.js native addons. - -## [PartyKit simplifies developing multiplayer applications.](https://github.com/partykit/partykit) -With PartyKit, you can focus on building multiplayer apps or adding real-time experiences to your existing projects with as little as one line of code. Meanwhile, PartyKit will handle operational complexity and real-time infrastructure scaling. - -- [doc](https://docs.partykit.io/) - -## [reveal.js](https://revealjs.com/) +### [reveal.js](https://revealjs.com/) 用来做PPT展示内容的。非常适合文档展示的。 @@ -106,8 +111,13 @@ reveal.js is an open source HTML presentation framework. - [github](https://github.com/hakimel/reveal.js) -## [UMI](https://umijs.org/) -- [笔记](/articles/2024/umi.md) +### [JavaScript image viewer. viewerjs](https://fengyuanchen.github.io/viewerjs/) + +用来查看图片的前端库 + +- [github](https://github.com/lmj01/viewerjs) + +### [mxGraph](https://jgraph.github.io/mxgraph/) # 其他库