- 博客(5)
- 收藏
- 关注
转载 opengl 学习笔记(3) 2D 点、线、坐标、键盘
OpenGL中描述一个顶点的方法是指定其坐标和属性,命令是: glVertex*(Coordination); 该命令以参数指定的坐标和当前颜色、纹理坐标、法向等属性定义一个顶点。 OpenGL中描述一个面(线、点)的方法是glBegin/glEnd命令组: glBegin(形状); glVertex(顶点1); glVertex(顶点2); …… glEnd();
2015-09-09 09:13:28 309
转载 opengl学习笔记(2)
setup a Window with GLUT1. 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 174
原创 opengl 学习笔记(1)setting up opengl
setting up openglWindows 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 232
转载 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 489
转载 [OPENGL][转] opengl里的坐标系
http://blog.csdn.net/woaixiangrikui/article/details/12420835世界坐标系也称为全局坐标系。它是一个右手坐标系,可以认为该坐标系是固定不变的,在初始态下,其x轴为沿屏幕水平向右,y轴为沿屏幕垂直向上,z轴则为垂直屏幕面向外指向用户,长度单位这样来定:窗口范围按此单位恰好是(-1,-1)(左下角)到(1,1)(右上角)。当然,如果在
2015-09-08 18:56:09 286
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人