<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ZMT的专栏]]></title><description><![CDATA[学习成长轨迹分享]]></description><link>https://blog.youkuaiyun.com/wawauser</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; wawauser]]></copyright><item><title><![CDATA[OpenGL: Colorful Line(CR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124523176</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124523176</guid><author>wawauser</author><pubDate>Sun, 01 May 2022 10:12:16 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;
#include &lt;iostream&gt;
using namespace std;

#define width 222
#define height 207
#define num	2  //计数器

struct Vector3f {
	GLfloat x;
	GLfloat y;
]]></description><category></category></item><item><title><![CDATA[OpenGL: Wireframe Rectangle(CR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124518073</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124518073</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 21:07:56 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp




#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;
#include &lt;iostream&gt;
using namespace std;

#define width 222
#define height 207
#define point_num 4		//顶点计数器
#define triangle_num 2	//三角形计数器
.]]></description><category></category></item><item><title><![CDATA[OpenGL: Wireframe Triangle(CR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124516006</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124516006</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 17:59:36 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;
#include &lt;iostream&gt;
using namespace std;

#define width	222
#define height	207
#define num		3  //顶点计数器

struct Vector3f {
	GLfloat x;
	GLfloat ]]></description><category></category></item><item><title><![CDATA[OpenGL: Points to Lines(CR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124515259</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124515259</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 17:18:15 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;
#include &lt;iostream&gt;
using namespace std;

#define width	222
#define height	207
#define num		3  //顶点计数器

struct Vector3f {
	GLfloat x;
	GLfloat ]]></description><category></category></item><item><title><![CDATA[OpenGL: Slope-ALGO(1)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124511957</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124511957</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 16:43:00 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;
#include &lt;iostream&gt;
using namespace std;

#define width	222
#define height	207
#define num		2  //计数器

struct Vector3f {
	GLfloat x;
	GLfloat y;]]></description><category></category></item><item><title><![CDATA[OpenGL: Points to Lines(DR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124511585</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124511585</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 13:45:48 +0800</pubDate><description><![CDATA[PART ONE


GL_LINES




GL_LINE_STRIP




GL_LINE_LOOP

codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

int width = 222;
int height = 207;

struct Vector3f {
    GLfloat x;
    GLfloat y;
    GLfloat z;
};
..]]></description><category></category></item><item><title><![CDATA[OpenGL: Points(CR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124511175</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124511175</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 12:50:26 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

#define width 222
#define height 207
#define num 2  //计数器

struct Vector3f {
	GLfloat x;
	GLfloat y;
	GLfloat z;
};

struct Color {
	int r;
	int g;
]]></description><category></category></item><item><title><![CDATA[OpenGL: Points(DR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124508919</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124508919</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 10:29:25 +0800</pubDate><description><![CDATA[PART ONE


]]></description><category></category></item><item><title><![CDATA[OpenGL: Point(CR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124508460</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124508460</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 09:46:54 +0800</pubDate><description><![CDATA[PART ONE



code.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

#define width 222
#define height 207

struct Color { int r; int g; int b; int a;
}color{255,0,0,255};
GLubyte point[height][width][4];
void initPoint]]></description><category></category></item><item><title><![CDATA[OpenGL: Point(DR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124507874</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124507874</guid><author>wawauser</author><pubDate>Sat, 30 Apr 2022 08:55:06 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

int width = 222;
int height = 207;

struct Vector3f {
    float x;
    float y;
    float z;
};

GLuint VBO;
void initVBO()
{
    Vector3f point = {]]></description><category></category></item><item><title><![CDATA[OpenGL•IMG: 10^4*10^4]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124490585</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124490585</guid><author>wawauser</author><pubDate>Fri, 29 Apr 2022 17:37:53 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;iostream&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;
using namespace std;

#define hugeImageX 10000
#define hugeImageY 10000
#define width 5000
#define height 5000

GLubyte red]]></description><category></category></item><item><title><![CDATA[OpenGL•FBO: 5461*5461]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124488719</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124488719</guid><author>wawauser</author><pubDate>Fri, 29 Apr 2022 10:20:27 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

#define width 5461
#define height 5461

GLuint FBO;
GLuint RBO;
void initFBO()
{
	glGenFramebuffers(1, &amp;FBO);
	glBindFramebuffer(GL_FRAMEBUFFER,]]></description><category></category></item><item><title><![CDATA[OpenGL•FBO: Imaging(1)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124487520</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124487520</guid><author>wawauser</author><pubDate>Fri, 29 Apr 2022 08:15:08 +0800</pubDate><description><![CDATA[PART ONE

glRasterPos2f(-1.0, -1.0)  

glRasterPos2f(0.0, 0.0)

glRasterPos2f(-1.0, -1.0)



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

#define width 222
#define height 207
#define row 10
#define co...]]></description><category></category></item><item><title><![CDATA[OpenGL•FBO: glReadBuffer&glDrawBuffer]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124485533</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124485533</guid><author>wawauser</author><pubDate>Thu, 28 Apr 2022 23:14:53 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

#define width 222
#define height 207

GLubyte image[height][width][4];
void initImage()
{
	for (int h = 0; h &lt; height; h++) {
		for (int w = 0; w]]></description><category></category></item><item><title><![CDATA[OpenGL•PBO: glReadPixels&glDrawPixels]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124474493</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124474493</guid><author>wawauser</author><pubDate>Thu, 28 Apr 2022 15:32:55 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

#define width 222
#define height 207

GLuint PBO;
void initPBO()
{
	glGenBuffers(1, &amp;PBO);
	glBindBuffer(GL_PIXEL_PACK_BUFFER, PBO);
	glBufferD.]]></description><category></category></item><item><title><![CDATA[OpenGL•PBO: glGenBuffers&glBindBuffer]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124473311</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124473311</guid><author>wawauser</author><pubDate>Thu, 28 Apr 2022 14:51:07 +0800</pubDate><description><![CDATA[PART ONE



codes.cpp


#include &lt;stdio.h&gt;
#include &lt;GL/glew.h&gt;
#include &lt;GL/freeglut.h&gt;

#define width 222
#define height 207

GLubyte image[height][width][4];
void initImage()
{
	for (int h = 0; h &lt; height; h++) {
		for (int w = 0; w]]></description><category></category></item><item><title><![CDATA[OpenGL: glDrawPixels&GLubyte]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124471868</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124471868</guid><author>wawauser</author><pubDate>Thu, 28 Apr 2022 13:50:00 +0800</pubDate><description><![CDATA[利用OpenGL在像素级别直接控制数据。]]></description><category></category></item><item><title><![CDATA[OpenGL: Triangle(DR)]]></title><link>https://blog.youkuaiyun.com/wawauser/article/details/124468098</link><guid>https://blog.youkuaiyun.com/wawauser/article/details/124468098</guid><author>wawauser</author><pubDate>Thu, 28 Apr 2022 11:50:41 +0800</pubDate><description><![CDATA[PART ONE

Step1: Runthe IDE “Microsoft Visual Studio”, then click the “创建新项目”to create a “控制台应用” program with the “name" you like. Makingsure that your IDE had already downloadedthe "使用C++的桌面开发" components bythe "Visual Studio installer".









S...]]></description><category></category></item></channel></rss>