From 0d23fc6dc24d93f809998910e28fbd9a453dc01e Mon Sep 17 00:00:00 2001 From: lmj01 Date: Fri, 17 May 2024 23:32:02 +0800 Subject: [PATCH 1/2] update --- README.md | 9 +-------- cg/engines.md | 27 +++++++++++++++++++++++---- cg/geometry.md | 9 ++++++++- cg/graphics.md | 9 --------- cg/threejs/index.md | 5 +++++ cg/ui.md | 9 +++++++++ cpl/cpp/gcc.cpp | 9 +++++++++ dev-note/linux.md | 2 ++ index/article.md | 24 ++++++++++++------------ index/computerScience.md | 37 +++---------------------------------- 10 files changed, 72 insertions(+), 68 deletions(-) create mode 100644 cg/ui.md create mode 100644 cpl/cpp/gcc.cpp diff --git a/README.md b/README.md index 8d7aee4..4a22443 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,3 @@ # 个人文档 -- [日常](./index/daily.md) -- [文章](./index/article.md) -- [编程语言](./index/programminglanguage.md) -- [安全相关](./index/safety.md) -- [标准文档](./index/standard.md) -- [blender](./blender/index.md) -- [开源引擎](./articles/engines.md) -- [工具](./index/tool.md) +记录生活与工作的一切! diff --git a/cg/engines.md b/cg/engines.md index 89c03c3..44efa53 100644 --- a/cg/engines.md +++ b/cg/engines.md @@ -1,7 +1,5 @@ # 3D引擎 -## 开源引擎 - - [irrlicht](http://irrlicht.sourceforge.net/) - [OpenSceneGraph](http://www.openscenegraph.org/) - [code](https://github.com/openscenegraph/OpenSceneGraph) @@ -21,7 +19,8 @@ - [GeeXLab](https://geeks3d.com/geexlab/) - [PBRT-v4](https://github.com/mmp/pbrt-v4) -### 渲染器 +## Render +> 渲染器 - [Soft Rendering](https://github.com/huanzai/SoftRendering) - [Tiny renderer for how opengl works](https://github.com/ssloy/tinyrenderer) @@ -32,9 +31,27 @@ - [3D渲染教程GPU](https://github.com/skywind3000/RenderHelp) - [Vulkan-Forward Plus Renderer](https://github.com/WindyDarian/Vulkan-Forward-Plus-Renderer) - [Writing an efficient Vulkan renderer](https://zeux.io/2020/02/27/writing-an-efficient-vulkan-renderer/) +- [Iolite a modern,portable game engine with an embedded editor. Completely scriptable in Lua, Free for personal](https://iolite-engine.com/) +- [babylonjs](/cg/babylonjs/index.md) +- [The-Forge](https://github.com/ConfettiFX/The-Forge) +- [腾讯开源替换Skia的渲染器](https://github.com/Tencent/tgfx) +- [OGLplus: a C++ wrapper for modern OpenGL©](https://oglplus.org/) + - [github](https://github.com/matus-chochlik/eagine-all) +- [Magnum — Lightweight and modular C++11/C++14 graphics middleware for games and data visualization](https://github.com/mosra/magnum) +- [Hazel is primarily an early-stage interactive application and rendering engine for Windows.](https://github.com/TheCherno/Hazel) + +- [Blend2D -- 2D Vector Graphics Powered by a JIT Compiler.](https://github.com/blend2d/blend2d) + + +### phong +### parallax mapping +是一种类似于法线贴图的纹理技术,能显著增强模型或纹理的表面细节和凹凸感 +[GLRF_example实现了一个视差映射的demo](https://github.com/DunkleMango/GLRF_Example) -## RenderPass + + +### RenderPass ### Shadow @@ -52,6 +69,8 @@ for SSAO, like the order: [A SSAO basic tutorial](https://learnopengl.com/Advanced-Lighting/SSAO) +### [Tone Mapping](https://64.github.io/tonemapping/) + ## 相关文章 - [Exposure Render: An Interactive Photo-Realistic Volume Rendering Framework ](https://pubmed.ncbi.nlm.nih.gov/22768292/) diff --git a/cg/geometry.md b/cg/geometry.md index 5167ff4..811201b 100644 --- a/cg/geometry.md +++ b/cg/geometry.md @@ -26,4 +26,11 @@ CAD的开花理论, 虽然等几何分析具有很多传统方法无法比拟的优点,但是等几何分析并没有被工业界广泛采纳,核心在于传统CAD工业中的样条曲面无法满足等几何分析的要求。传统NURBS大量应用裁剪样条,裁剪样条无法分解成规则单元,需要重新构造;传统NURBS缺乏水密性,存在大量缝隙,因此有很多弥补缝隙的碎片样条,需要融合成整片样条;最为致命的问题是传统CAD模型只表达了几何体的边界曲面,而等几何分析需要将整个实体的内部也表达成样条。 ## 参考 -- [代数几何小科普3:怎么知道方程(组)有解? ](https://blog.sciencenet.cn/blog-1646100-818073.html) \ No newline at end of file +- [代数几何小科普3:怎么知道方程(组)有解? ](https://blog.sciencenet.cn/blog-1646100-818073.html) +- [Triangulate Efficient Triangulation Algorithm Suitable for Terrain Modelling or An Algorithm for Interpolating Irregularly-Spaced Data with Applications in Terrain Modelling](http://paulbourke.net/papers/triangulate/) +- [多边形网格算法](http://paulbourke.net/geometry/polygonmesh/) +- [点至三角形的最近点](https://zhuanlan.zhihu.com/p/458837573) +- [Brillouin zone visualisation tool,维诺图Voronoi Diagram,Lattice格](https://github.com/tobycrisford/bravais-lattice-fermi-surfaces) + - [计算几何第四周:维诺图](https://zhuanlan.zhihu.com/p/33896575) + - [Lattice学习笔记01:格的简介](https://zhuanlan.zhihu.com/p/161411204) +- [How to make an infinite grid无限网格](http://asliceofrendering.com/scene%20helper/2020/01/05/InfiniteGrid/) diff --git a/cg/graphics.md b/cg/graphics.md index f45ec56..e410725 100644 --- a/cg/graphics.md +++ b/cg/graphics.md @@ -48,15 +48,6 @@ foreach(tile) - [关于他的一篇GPU Architecture文章](https://github.com/Kangz) - [tiny-gpu A minimal GPU implementation in Verilog optimized for learning about how GPUs work from the ground up](https://github.com/adam-maj/tiny-gpu) -## Render -> 渲染器 - -### phong - -### parallax mapping -是一种类似于法线贴图的纹理技术,能显著增强模型或纹理的表面细节和凹凸感 -[GLRF_example实现了一个视差映射的demo](https://github.com/DunkleMango/GLRF_Example) - ## CAD diff --git a/cg/threejs/index.md b/cg/threejs/index.md index a7d54b0..b70e05a 100644 --- a/cg/threejs/index.md +++ b/cg/threejs/index.md @@ -10,3 +10,8 @@ - [模拟的原神启动](https://github.com/gamemcu/www-genshin) - [其官网显示“我们致力于创造令人惊叹的用户体验”, 目前看到其B站上的效果真的很amazing](https://gamemcu.com/) - [一个模拟PC桌面的个人网站,可以参考](https://henryheffernan.com/) +- [Beispiele webGL mit three.js ](https://hofk.de/main/threejs/) +- [3D Grafik - WebGL mit three.js](https://xprofan.net/intl/de/php,html,js/3d-grafik-webgl-mit-three-js/) +- [use your mouse to control the camera and build an andorid](https://hofk.de/main/threejs/raycaster/raycaster.html) +- [webgl examples](https://alteredqualia.com/) +- [22](https://github.com/brunosimon/folio-2019) diff --git a/cg/ui.md b/cg/ui.md new file mode 100644 index 0000000..378fcab --- /dev/null +++ b/cg/ui.md @@ -0,0 +1,9 @@ +# UI + + +- [ImGui](/cg/library/imgui.md) +- [U++ is a C++ cross-platform rapid application development framework focused on programmers productivity. It includes a set of libraries (GUI, SQL, etc.), and an integrated development environment.欧洲人用得较多](https://www.ultimatepp.org/) + - [github ultimatepp](https://github.com/ultimatepp) +- [IUP is a multi-platform toolkit for building graphical user interfaces. It offers a simple API in three basic languages: C, Lua and LED. IUP's purpose is to allow a program source code to be compiled in different systems without any modification.](https://www.tecgraf.puc-rio.br/iup/) +- [Nuklear is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C and licensed under public domain. It was designed as a simple embeddable user interface for application and does not have any dependencies, a default render backend or OS window/input handling but instead provides a highly modular, library-based approach, with simple input state for input and draw commands describing primitive shapes as output.](https://github.com/Immediate-Mode-UI/Nuklear) +- [CopperSpice is a set of individual libraries which can be used to develop cross platform software applications in C++.](../cg/library/copperspice.md) diff --git a/cpl/cpp/gcc.cpp b/cpl/cpp/gcc.cpp new file mode 100644 index 0000000..50d883f --- /dev/null +++ b/cpl/cpp/gcc.cpp @@ -0,0 +1,9 @@ +#include +using namespace std; + +int main() +{ + cout << "Hello, World!" << endl; + cout << "This code is compiled with G++ version: " << __GNUC__ << "." << __GNUC_MINOR__ << "." << __GNUC_PATCHLEVEL__ << endl; + return 0; +} \ No newline at end of file diff --git a/dev-note/linux.md b/dev-note/linux.md index 2ff755a..8d65a76 100644 --- a/dev-note/linux.md +++ b/dev-note/linux.md @@ -28,6 +28,8 @@ apt-get clean & apt-get autoclean 清理无用的包 apt-cache search package apt-cache show package 获取包相关信息,如说明,大小,版本等 +apt search '^g\+\+-[0-9]+$' 获取可安装的版本 + apt-get build-dep package 安装相关的编译环境 apt-get source package 下载当前包的源代码 apt-get check 检查是否有损坏的依赖 diff --git a/index/article.md b/index/article.md index 8394e89..1ec26e4 100644 --- a/index/article.md +++ b/index/article.md @@ -34,18 +34,18 @@ ## 2024 -- [2024](../articles/2024/app.md) -- [2024经验](../articles/2024/experience.md) -- [2024趋势](../articles/2024/trend.md) -- [三维网格](../articles/notes/mesh.md) +- [2024](/articles/2024/app.md) +- [2024经验](/articles/2024/experience.md) +- [2024趋势](/articles/2024/trend.md) +- [三维网格](/articles/notes/mesh.md) ## 2023 -- [2023](../articles/2023/app.md) -- [透视与绘画](../articles/2023/Perspective.md) -- [打印相关](../articles/2023/printer.md) -- [用户 角色 权限的通用设计](../articles/2023/userRolePermission.md) -- [农历历法](../articles/2023/chineseCalendar.md) -- [回归分析法](../articles/2023/regression.md) -- [协同编辑](../articles/2023/associateEditor.md) -- [Fractional Indexing小数索引技术](../articles/2023/fractionalIndexing.md) +- [2023](/articles/2023/app.md) +- [透视与绘画](/articles/2023/Perspective.md) +- [打印相关](/articles/2023/printer.md) +- [用户 角色 权限的通用设计](/articles/2023/userRolePermission.md) +- [农历历法](/articles/2023/chineseCalendar.md) +- [回归分析法](/articles/2023/regression.md) +- [协同编辑](/articles/2023/associateEditor.md) +- [Fractional Indexing小数索引技术](/articles/2023/fractionalIndexing.md) diff --git a/index/computerScience.md b/index/computerScience.md index 29e28fa..65b6daf 100644 --- a/index/computerScience.md +++ b/index/computerScience.md @@ -39,7 +39,7 @@ - [webgl](/cg/canvas.md) - [Shader](/cg/shader.md) - [vulkan](/cg/api.modern.md) -- [graphics图形学](/cg/graphics.md) +- [图形学概述](/cg/graphics.md) - [Real-Time Rendering Resources](https://www.realtimerendering.com/) - [Ambient Occlusion](../cg/lighting/ambient-occlusion.md) - [smallpt: Global Illumination in 99 lines of C++](http://www.kevinbeason.com/smallpt/) @@ -54,45 +54,14 @@ - [网格划分](/cg/mesh/mesh-generation.md) - [NURBS](/cg/mesh/NURBS.md) - [曲线](/cg/tools/curve.md) -- [Triangulate Efficient Triangulation Algorithm Suitable for Terrain Modelling or An Algorithm for Interpolating Irregularly-Spaced Data with Applications in Terrain Modelling](http://paulbourke.net/papers/triangulate/) -- [多边形网格算法](http://paulbourke.net/geometry/polygonmesh/) -- [点至三角形的最近点](https://zhuanlan.zhihu.com/p/458837573) -- [Brillouin zone visualisation tool,维诺图Voronoi Diagram,Lattice格](https://github.com/tobycrisford/bravais-lattice-fermi-surfaces) - - [计算几何第四周:维诺图](https://zhuanlan.zhihu.com/p/33896575) - - [Lattice学习笔记01:格的简介](https://zhuanlan.zhihu.com/p/161411204) -- [How to make an infinite grid无限网格](http://asliceofrendering.com/scene%20helper/2020/01/05/InfiniteGrid/) - [几何](/cg/geometry.md) -### UI - -- [U++ is a C++ cross-platform rapid application development framework focused on programmers productivity. It includes a set of libraries (GUI, SQL, etc.), and an integrated development environment.欧洲人用得较多](https://www.ultimatepp.org/) - - [github ultimatepp](https://github.com/ultimatepp) -- [IUP is a multi-platform toolkit for building graphical user interfaces. It offers a simple API in three basic languages: C, Lua and LED. IUP's purpose is to allow a program source code to be compiled in different systems without any modification.](https://www.tecgraf.puc-rio.br/iup/) -- [Nuklear is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C and licensed under public domain. It was designed as a simple embeddable user interface for application and does not have any dependencies, a default render backend or OS window/input handling but instead provides a highly modular, library-based approach, with simple input state for input and draw commands describing primitive shapes as output.](https://github.com/Immediate-Mode-UI/Nuklear) -- [CopperSpice is a set of individual libraries which can be used to develop cross platform software applications in C++.](../cg/library/copperspice.md) - ### Engine +- [引擎技术](/cg/engines.md) - [Bgfx](/cg/bgfx.md) -- [Iolite a modern,portable game engine with an embedded editor. Completely scriptable in Lua, Free for personal](https://iolite-engine.com/) -- [babylonjs](/cg/babylonjs/index.md) -- [The-Forge](https://github.com/ConfettiFX/The-Forge) -- [腾讯开源替换Skia的渲染器](https://github.com/Tencent/tgfx) -- [OGLplus: a C++ wrapper for modern OpenGL©](https://oglplus.org/) - - [github](https://github.com/matus-chochlik/eagine-all) -- [Magnum — Lightweight and modular C++11/C++14 graphics middleware for games and data visualization](https://github.com/mosra/magnum) -- [Hazel is primarily an early-stage interactive application and rendering engine for Windows.](https://github.com/TheCherno/Hazel) - -- [Blend2D -- 2D Vector Graphics Powered by a JIT Compiler.](https://github.com/blend2d/blend2d) - -#### threejs - +- [UI](/cg/ui.md) - [threejs 笔记](/cg/threejs/index.md) -- [Beispiele webGL mit three.js ](https://hofk.de/main/threejs/) -- [3D Grafik - WebGL mit three.js](https://xprofan.net/intl/de/php,html,js/3d-grafik-webgl-mit-three-js/) -- [use your mouse to control the camera and build an andorid](https://hofk.de/main/threejs/raycaster/raycaster.html) -- [webgl examples](https://alteredqualia.com/) -- [22](https://github.com/brunosimon/folio-2019) ### 动画 From 6d521da0fd0e1472103bbc5a7cfaf3fe1f458969 Mon Sep 17 00:00:00 2001 From: lmj01 Date: Sun, 19 May 2024 21:26:09 +0800 Subject: [PATCH 2/2] update --- articles/2024/nocobase.md | 11 +++++++++++ cg/babylonjs/dev.md | 6 ++++++ cs/db/sqlite.md | 1 + dev-note/hardware.md | 2 +- index/article.md | 1 + index/computerScience.md | 1 + web/index.md | 6 ++++++ 7 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 articles/2024/nocobase.md create mode 100644 cs/db/sqlite.md diff --git a/articles/2024/nocobase.md b/articles/2024/nocobase.md new file mode 100644 index 0000000..fcc22bb --- /dev/null +++ b/articles/2024/nocobase.md @@ -0,0 +1,11 @@ +# [nocobase](https://github.com/lmj01/nocobase) + +```shell +yarn install +yarn nocobase install +yarn dev +``` + +## 依赖 + +- [umi可插拔的企业级 react 应用框架](https://umijs.org/) \ No newline at end of file diff --git a/cg/babylonjs/dev.md b/cg/babylonjs/dev.md index 5cfd24b..ed4aa8f 100644 --- a/cg/babylonjs/dev.md +++ b/cg/babylonjs/dev.md @@ -1,5 +1,11 @@ # dev +```shell +npm install or +PUPPETEER_SKIP_DOWNLOAD=true npm install on ubuntu +npm run build:dev 安装工具 +npm watch dev +``` 先执行 npm run start 打开packages/tools目录下服务,执行相应的script diff --git a/cs/db/sqlite.md b/cs/db/sqlite.md new file mode 100644 index 0000000..f31e5bd --- /dev/null +++ b/cs/db/sqlite.md @@ -0,0 +1 @@ +# [sqlite](https://www.sqlite.org/index.html) diff --git a/dev-note/hardware.md b/dev-note/hardware.md index 0e522cd..102144a 100644 --- a/dev-note/hardware.md +++ b/dev-note/hardware.md @@ -1,6 +1,6 @@ # 硬件配置 -## Dell Inspiron 15 +## Dell Inspiron-3568 > 老婆的大学时期的笔记本 按照Linux系统的过程 diff --git a/index/article.md b/index/article.md index 1ec26e4..e7e4451 100644 --- a/index/article.md +++ b/index/article.md @@ -37,6 +37,7 @@ - [2024](/articles/2024/app.md) - [2024经验](/articles/2024/experience.md) - [2024趋势](/articles/2024/trend.md) +- [nocobase项目](/articles/2024/nocobase.md) - [三维网格](/articles/notes/mesh.md) ## 2023 diff --git a/index/computerScience.md b/index/computerScience.md index 65b6daf..2cbd4f7 100644 --- a/index/computerScience.md +++ b/index/computerScience.md @@ -23,6 +23,7 @@ - [redis](/database/redis.md) - [MySql](/database/mysql.md) - [sql](/database/sql.md) +- [sqlite](/database/sqlite.md) ### 数据结构 diff --git a/web/index.md b/web/index.md index d80126c..5e7ef3f 100644 --- a/web/index.md +++ b/web/index.md @@ -160,6 +160,12 @@ jszip.loadAsync(new Blob([buffer])).then(zip=>{ - [CADit.app](https://cadit.app/) - [A jscad UI playground developed here and meant to be later contributed into jscad](https://github.com/hrgdavor/jscadui) + +## [组件开发]() + +- [表情拾取组件A lightweight emoji picker, distributed as a web component.](https://github.com/nolanlawson/emoji-picker-element) +- [一个纯JS实现的框架](https://nolanlawson.com/2023/12/02/lets-learn-how-modern-javascript-frameworks-work-by-building-one/) + ## Test **TDD**