摘要: Common Color bg-black bg-white bg-red-* bg-orange-* bg-amber-* bg-yellow-* bg-lime-* bg-green-* bg-emerald-* bg-teal-* bg-cyan-* bg-sky-* bg-blue-* bg 阅读全文
posted @ 2026-05-03 21:31 tommao9925 阅读(4) 评论(0) 推荐(0)
摘要: glTF 格式被称为“图形界的 JPEG”,它的数据结构(BufferViews, Accessors)几乎是为 OpenGL 准备的 glTF 的索引缓冲可以直接传给 glDrawElements glTF 的顶点排列通常直接符合 glVertexAttribPointer 的要求 gltf 核心 阅读全文
posted @ 2026-04-26 16:33 tommao9925 阅读(11) 评论(0) 推荐(0)
摘要: OpenCode 笔记 安装 OpenCode Cli 通过 npm 来安装 npm install -g opencode-ai@latest 安装完成之后,OpenCode 的可执行文件在如下目录中 "D:\Apps\node\node_modules\opencode-ai\node_modu 阅读全文
posted @ 2026-04-18 18:30 tommao9925 阅读(32) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2026-04-13 18:19 tommao9925 阅读(7) 评论(0) 推荐(0)
摘要: Hello World 阅读全文
posted @ 2026-04-06 16:09 tommao9925 阅读(3) 评论(0) 推荐(0)
摘要: 通过研究 Godot Scons 来掌握 Scons 在大型项目中的应用 在 Godot 的 SCons 构建系统中,为了提高编译效率(增量编译)和管理依赖,不会把成千上万个 .cpp 文件直接丢给链接器,而是先分模块编译成中间产物,最后再把所有 .a 链接成最终的可执行文件(在 WASM 中就是 阅读全文
posted @ 2026-03-29 16:55 tommao9925 阅读(14) 评论(0) 推荐(0)
摘要: Scons 基础 Scons 踩坑 Scons 在使用 时,Emscripten 的时候 需要将目标后缀改为 .html,只有输出名为 .html 时,Emscripten 才会处理 shell-file 并生成网页 通过显示配置内存和堆栈大小可以解决许多问题 在 Windows 下使用 Scons 阅读全文
posted @ 2026-03-21 17:22 tommao9925 阅读(5) 评论(0) 推荐(0)
摘要: PBR 理论 https://zhuanlan.zhihu.com/p/392837412 https://zhuanlan.zhihu.com/p/364932774 纯金属材质是没有漫反射的,只受到镜面反射的影响 非金属材质的光照是光线原本的颜色,而金属材质反射的光线带有材质自身的颜色 在相同粗 阅读全文
posted @ 2026-02-28 17:37 tommao9925 阅读(5) 评论(0) 推荐(0)
摘要: AAA BBB MVP 矩阵(三维) \[Local → 世界坐标 → 相机坐标 → Clip -> NDC → 屏幕坐标 \]M 模型变换 模型矩阵是缩放、旋转、平移的矩阵乘积,变换顺序为:先缩放 → 再旋转 → 最后平移 \[M=T \ast R \ast S \]\[ T = \begin{b 阅读全文
posted @ 2026-02-15 14:35 tommao9925 阅读(6) 评论(0) 推荐(0)
摘要: Godot 4.3: Vertex Animation Instancing Tutorial https://www.youtube.com/watch?v=IBY1cdlpGXo https://docs.godotengine.org/en/latest/tutorials/performan 阅读全文
posted @ 2026-02-01 21:37 tommao9925 阅读(13) 评论(0) 推荐(0)