-
OpenGL 矩阵(没写完)
向量向量点乘(内积) 此方法可类比物理做功 力 和位移 已给出,需要用 来表示做的功 计算方法就是 所以向量点乘(内积)就是向量模相乘再乘夹角余弦 、 换成坐标形式是: 向量叉乘(外积)此方法可以 计算方法 坐标形式 坐标形式规律... -
Typora 写 Markdown
最近不用 VSCode 了,改用 Typora 感觉还不错 主要是 VSCode 没行号,就有点痛苦,快捷键也麻烦一点 1. 改字体 全局字体 123body{ font-family: Menlo, Monaco, "Cour... -
OpenGL 纹理
纹理坐标(2D)纹理坐标在 x 和 y 轴上,范围为 0 到 1 之间 blue 使用纹理坐标获取纹理颜色叫做采样(Sampling) 这个采样是什么意思呢?我们看一个图 这是一个纹理的坐标图 123456float texCoords[] = ... -
直播方案分享
9-13 直播方案分享拓扑图 硬件设备 MacBook 写代码用 Windows 推流用,因为老 MacBook 性能太羸弱 两个显示器(4k 接 MacBook,2k 接 Windows 用来监看推流) 一个 150 元左右的采集卡(4k60 环出... -
C++ IO stream(没写完)
简介本文记录一下 C++ 的 IO stream 的使用 相对路径 ios_base ios istream ifstream 首先要说明这个 相对路径 是相对于谁 在 linux 环境下(我是 MacOS) 他相对的其实是,你当前的操作环境... -
OpenGL 多个三角形
使用 EBO元素缓冲对象(Element Buffer Object,EBO),也叫索引缓冲对象(Index Buffer Object,IBO) EBO 是一个缓冲区,就像一个顶点缓冲区对象一样,它存储 OpenGL 用来决定要绘制哪些顶点的索引。... -
微星 4060 万图师 8G 游戏设置
2499 京东买的 微星 4060 万图师 8G 犹豫了一下 3060 12G ,最终还是买了 4060 8G ,心想着有 dlss3 还勉强可以战未来 现在发现 8G 显存有点不够用 尤其是 巫师3 显存占用高得离谱 以下是 4k60hz 流畅不... -
OpenGL 三角形
渲染管线 这是常见的渲染管线的图,每一步都以上一步的输出为输入,图形渲染管线接受一组3D坐标,然后把它们转变为你屏幕上的有色2D像素输出。 图形渲染管线的第一个部分是顶点着色器(Vertex Shader),它把一个单独的顶点作为输入。 顶点着色器... -
OpenGL 窗口
学习地址我是从这里学习的 OpenGL LearnOpenGL-CN 了解背景首先,了解背景很重要的,这能让我们更好地初步对OpenGL有一个概念 概念OpenGL 并不是一个 API ,它仅仅是一个由 Khronos 组织制定并维护的规范( Sp...