- 博客(427)
- 资源 (1)
- 收藏
- 关注

原创 QCustomPlot 2.0.1 源码分析
标签QFont labelFont() const;QColor labelColor() const;QString label() const;int labelPadding() const;void setLabelFont(const QFont &font);void setLabelColor(const QColor &color);void setLabel(const QString &str);void setLabelPadding(int.
2021-04-13 23:02:33
650
原创 VkImage
typedef struct VkImageCreateInfo {VkStructureType sType;const void* pNext;VkImageCreateFlags flags;VkImageType imageType;VkFormat format;VkExtent3D extent;uint32_t mipLevels;uint32_t arrayLayers;VkSampleCountFlagBits samples;VkImageTiling tiling;
2025-03-25 22:09:26
213
原创 vulkan
https://easyvulkan.github.io/https://vkguide.dev/https://vulkan-tutorial.com
2025-03-20 23:16:39
104
原创 【无标题】
你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:撤销:Ctrl/Command + Z重做:Ctrl/Command + Y加粗:Ctrl/Command + B斜体:Ctrl/Command + I标题:Ctrl/Command + S
2025-03-20 21:41:58
967
原创 c++ 头文件<type_traits>
std::is_samestd::remove_referencestd::remove_reference_tstd::_Const_thru_refstd::_Remove_cvref_tstd::remove_cvstd::remove_cv_tstd::remove_conststd::remove_const_tstd::remove_volatilestd::remove_volatile_tstd::auto_ptrstd::unique_ptrstd::shared
2023-08-13 00:20:15
182
原创 C++学习目录
C++ 11C++ 14C++ 17C++ 20C++ 23默认构造函数 default constructor拷贝构造函数 copy constructor移动构造函数 copy constructor= default= deleteconstexprnoexceptinlinestd::is_convertiblestd::decay_tstd::is_integralstd::declvalstd::enable_if_tstd::is_arithmeticstd::
2023-08-07 23:26:52
145
原创 OpenGL PBO
你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:撤销:Ctrl/Command + Z重做:Ctrl/Command + Y加粗:Ctrl/Command + B斜体:Ctrl/Command + I标题:Ctrl/Command + S
2023-06-01 20:38:30
122
原创 opengl纹理
目录流程片段着色器顶点着色器流程 GLuint vbo; // VBO // GLuint texture; // 纹理对象 float vertices[] = { // positions // colors // texture coords 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, // top right
2022-02-23 23:12:38
187
原创 VAO与VBO
这里写目录标题流程顶点着色器片段着色器运行截图流程 // VBO与VAO GLuint vbo[3]; GLuint vao[3]; // 创建缓冲区 glGenBuffers(3, vbo); glGenVertexArrays(3, vao); qDebug() << "init3 " << vbo[0] << vbo[1] << vbo[2] &
2022-02-23 01:14:49
341
原创 绘制三角形
目录流程顶点着色器片段着色器流程 GLuint vbo; // 创建缓冲区 glGenBuffers(1, &vbo); // 绑定缓冲区 glBindBuffer(GL_ARRAY_BUFFER, vbo); float vertices[] = { // positions // colors 1.0f, 0.5f, 0.5f, 1.0f, 0.0f, 0.0f, 0.
2022-02-23 01:09:44
2172
原创 webgl 第一个程序
目录main.htmlopengl.jsmain.html<!DOCTYPE html><html><head> <meta lang="en"> <meta charset="UTF-8"> <title>WebGL Hello World</title> <link href="style/style.css"> <script type="text/ja
2022-02-22 22:29:42
116
原创 矩阵与坐标
目录平移三维二维平移三维(x+dxy+dyz+dz) =[100dx010dy001dz] ∗(xyz)\begin{gathered}\left(\begin{array}{c} x + dx \\ y + dy \\ z + dz \end{array}\right)\ =\quad\begin{bmatrix} 1 & 0 & 0 & dx \\ 0 & 1 & 0 & dy \\ 0 & 0 &
2022-02-15 17:38:14
1469
原创 Lighting maps
目录漫反射贴图(Diffuse maps)镜面反射贴图(Specular maps)发现贴图(Normal map)高度贴图(High map)漫反射贴图(Diffuse maps)镜面反射贴图(Specular maps)发现贴图(Normal map)高度贴图(High map)
2022-02-10 23:38:00
2096
原创 Phong Lighting Model
目录环境光照Ambient漫反射光照Diffuse镜面光照Specular环境光照Ambient光颜色 lightColor 物体颜色 objectColor 环境光因子 ambientStrength 环境光颜色 ambient vec3 ambient = ambientStrength * lightColor观察到的颜色 result vec3 result = ambient * objectColor漫反射光照Diffuse法向量 norm vec3 norm = norma
2022-02-10 21:50:17
238
原创 计算机图形学目录
目录光照Phong 光照模型(Phong Lighting Model)Blinn-Phong光照模型(Blinn-Phong Lighting Model)光照Phong 光照模型(Phong Lighting Model)Blinn-Phong光照模型(Blinn-Phong Lighting Model)
2022-02-09 23:14:26
310
原创 STL: vector
目录定义插入一个元素到尾部从尾部删除一个元素获取第一个元素的值获取最后一个元素的值获取指定下标的元素的值定义std::vector<int> aa;插入一个元素到尾部aa.push_back(10);aa.push_back(100);从尾部删除一个元素aa.pop_back();获取第一个元素的值std::cout << aa.front() << "\n";获取最后一个元素的值std::cout << aa.front() &
2021-12-13 22:04:58
1133
原创 Model/View 类
QAbstractItemModelQAbstractListModelQAbstractProxyModelQAbstractTableModelQAbstractItemViewQColumnViewQHeaderViewQListViewQTableViewQTreeViewQAbstractItemDelegateQItemDelegateQStyledItemDelegate
2021-11-29 13:25:20
119
原创 core_m3.h
typedef struct{__I uint32_t CPUID; /*!< Offset: 0x00 CPU ID Base Register /__IO uint32_t ICSR; /!< Offset: 0x04 Interrupt Control State Register
2021-10-23 14:48:10
214
原创 STM32
这里写目录标题STM32 32-bit ARM Cortex MCUSSTM32 High Performance MCUSstm32f2 seriesstm32f4 seriesstm32f7 seriesstm32h7 seriesSTM32 Mainstream MCUSSTM32F0 SeriesSTM32F1 Seriesstm32f100stm32f101stm32f102stm32f103STM32F3 SeriesSTM32G0 SeriesSTM32G4 SeriesSTM32 Ultra
2021-10-22 00:26:59
109
原创 ARM基础
这里写目录标题ARM体系结构ARMv7ARMv8ARM处理器ARM7ARM8ARM9ARM11Cortex-ACortex-MCortex-RARM体系结构ARMv7ARMv8ARM处理器ARM7ARM8ARM9ARM11Cortex-ACortex-MCortex-R
2021-10-22 00:23:15
88
原创 sdptool
pi@raspberrypi:~ $ sdptool browse 44:AE:AB:B1:93:40Browsing 44:AE:AB:B1:93:40 …Service RecHandle: 0x10000Service Class ID List:“Generic Attribute” (0x1801)Protocol Descriptor List:“L2CAP” (0x0100)PSM: 31“ATT” (0x0007)uint16: 0x0001uint16: 0x000
2021-10-17 14:37:29
322
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人