摘要: \[Local → 世界坐标 → 相机坐标 → Clip -> NDC → 屏幕坐标 \]M 模型变换 模型矩阵是缩放、旋转、平移的矩阵乘积,变换顺序为:先缩放 → 再旋转 → 最后平移 \[M=T \ast R \ast S \]\[ T = \begin{bmatrix} 1 & 0 & 0 & 阅读全文
posted @ 2026-02-15 14:35 tommao9925 阅读(5) 评论(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 阅读(5) 评论(0) 推荐(0)
摘要: 初始化环境 OpenGL(GLAD)需先初始化 GLFW 和 GLAD 才能调用 OpenGL 函数,绘制图形到窗口上 int main() { // glfw: initialize and configure glfwInit(); glfwWindowHint(GLFW_CONTEXT_VER 阅读全文
posted @ 2026-01-25 15:14 tommao9925 阅读(2) 评论(0) 推荐(0)
摘要: Godot windows 上使用的是 Windows API 编程模型(也称为 Win32 API 编程) Win32 API 编程 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain(HINSTANCE 阅读全文
posted @ 2026-01-18 11:54 tommao9925 阅读(7) 评论(0) 推荐(0)
摘要: Webview 使用静态网页 https://github.com/crper/vscode-webview-vite-vue-boilerplate/tree/main 如何打包所有文件到一个index.js 和 index.css css和js需要打包成单独文件 // path: webview 阅读全文
posted @ 2026-01-11 14:16 tommao9925 阅读(7) 评论(0) 推荐(0)
摘要: WebView 阅读全文
posted @ 2026-01-02 11:27 tommao9925 阅读(67) 评论(0) 推荐(0)
摘要: https://www.d2school.com/lesson?sn=b5822e7a711ba96da7962e23e0518e54#article-toc-1_1 准备 开发包下载 webview 暂未进入 msys2 的仓库,需到 github https://github.com/webvi 阅读全文
posted @ 2025-12-21 19:18 tommao9925 阅读(6) 评论(0) 推荐(0)
摘要: https://www.d2school.com/lesson?sn=b5822e7a711ba96da7962e23e0518e54#article-toc-1_1 准备 开发包下载 webview 暂未进入 msys2 的仓库,需到 github https://github.com/webvi 阅读全文
posted @ 2025-12-13 18:04 tommao9925 阅读(5) 评论(0) 推荐(0)
摘要: Godot 中 OpenGL Godot 中的 Compatible 渲染后端用的是 OpenGL 直接写的,没有封装 阅读全文
posted @ 2025-12-07 16:59 tommao9925 阅读(7) 评论(0) 推荐(0)
摘要: 后处理 Unity Grab URP Render Feature Godot screen_texture Godot 面片法 // Object Masked Post Effect // 使用方式如下一种: // 1. 添加一个 PlaneMesh 并设置其 Orientation = Fac 阅读全文
posted @ 2025-11-22 22:23 tommao9925 阅读(10) 评论(0) 推荐(0)