opengl
postpatient
这个作者很懒,什么都没留下…
展开
-
opengl 学习笔记(1)setting up opengl
setting up opengl Windows does not include GLUT standard. The following steps will help you to figure out how to make it work: 1. Download GLUT and unzip. Then: 2. Put the file "glut32.dll" into th原创 2015-09-09 04:24:15 · 214 阅读 · 0 评论 -
opengl 学习笔记(3) 2D 点、线、坐标、键盘
OpenGL中描述一个顶点的方法是指定其坐标和属性,命令是: glVertex*(Coordination); 该命令以参数指定的坐标和当前颜色、纹理坐标、法向等属性定义一个顶点。 OpenGL中描述一个面(线、点)的方法是glBegin/glEnd命令组: glBegin(形状); glVertex(顶点1); glVertex(顶点2); …… glEnd();转载 2015-09-09 09:13:28 · 286 阅读 · 0 评论 -
OpenGL教程
这是一个系列OpenGL教程,记录了作者学习OpenGL的全过程。 http://blog.chinaunix.net/uid-20384806-id-1954356.html 其他OpenGL教程: Top Ten OpenGL系列教程(1)——Create A Window using GLUT http://blog.chinaunix.net/u/16292/sho转载 2015-09-09 04:17:39 · 466 阅读 · 0 评论 -
opengl学习笔记(2)
setup a Window with GLUT 1. The first call we are going to make will initialize GLUT and is done like so: glutInit (&argc, argv); //initialize the program. 2. Keep in mind for this, that转载 2015-09-09 08:26:38 · 157 阅读 · 0 评论 -
[OPENGL][转] opengl里的坐标系
http://blog.csdn.net/woaixiangrikui/article/details/12420835 世界坐标系也称为全局坐标系。它是一个右手坐标系,可以认为该坐标系是固定不变的,在初始态下,其x轴为沿屏幕水平向右,y轴为沿屏幕垂直向上,z轴则为垂直屏幕面向外指向用户,长度单位这样来定:窗口范围按此单位恰好是(-1,-1)(左下角)到(1,1)(右上角)。当然,如果在转载 2015-09-08 18:56:09 · 271 阅读 · 0 评论