opengl
爱上解放晚晚
开启大神之路
展开
-
opengl和opencv显示图像
//opencv+显示库 //opencv+显示库 int nWidth = 0, nHeight = 0, nBit = 0; theDataService.GetModelAnalyzer()->GetInfo_CombineImageSize(m_iWorkStationNo, nWidth, nHeight, nBit); if (spImgInfo && spImgInfo->m_stDispInfo.pImageBuf) { ..原创 2021-12-22 13:14:03 · 2201 阅读 · 0 评论 -
MFC中使用opengl绘制图像黑屏闪烁
创建DC与RC关联的函数,需要与显示函数放在一个线程里。原创 2021-12-17 13:57:49 · 308 阅读 · 0 评论 -
Opengl显图像
#define _CRT_SECURE_NO_WARNINGS;#include<glut.h>#define FileName "bliss.bmp"static GLint imagewidth;static GLint imageheight;static GLint pixellength;static GLubyte* pixeldata;#include<stdio.h>#include<stdlib.h>void display(v.原创 2021-12-07 09:34:45 · 1004 阅读 · 0 评论