
OpenGL
王晓斌
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Color Slider Control的颜色计算
double depthRed, depthGreen, depthBlue; for( int distance = 0; distance { if( distance { depthRed = 0.0; depthGreen = 0.0; depthBlue =原创 2010-05-03 17:47:00 · 804 阅读 · 0 评论 -
glew (1) : MFC下编译glew
<br /> 在MFC mdi下使用glew的源码进行编译。<br /> <br /> 将glew的头文件(glew.h, glxew.h, wglew.h)和源文件glew.c拷贝到 mfc工程目录下。更改glew.c中头文件的路径为当前glew头文件的路径(如 "gl/glew.h", 将glew.c中的 <> 改为工程路径 “”)。更改glew.c文件的属性,对该文件不使用预包含头文件(stdafx.h)。设置工程属性,添加preprocessor definition :GLEW_STA原创 2010-07-08 13:08:00 · 2679 阅读 · 2 评论 -
glew(2) glewInit
<br />MFC下使用glewInit时需要先将Render Context创建好, 否则glewInit将返回 GLEW_ERROR_NO_GL_VERSION<br /> <br />原创 2010-07-12 16:14:00 · 1922 阅读 · 0 评论 -
glut编译问题
<br />This is basically what just about every site I look at tells me to do.<br /> So I copy over some code that I know compiles and runs under my Dev C++ setup...<br /> And it fails to compile with the following errors: -<br /> 1>main.obj :转载 2010-05-31 11:21:00 · 1627 阅读 · 1 评论 -
glut编译问题
<br />This is basically what just about every site I look at tells me to do.<br /> So I copy over some code that I know compiles and runs under my Dev C++ setup...<br /> And it fails to compile with the following errors: -<br /> 1>main.obj : error转载 2010-05-31 10:54:00 · 763 阅读 · 0 评论