自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 opengl 学习笔记(3) 2D 点、线、坐标、键盘

OpenGL中描述一个顶点的方法是指定其坐标和属性,命令是:  glVertex*(Coordination);  该命令以参数指定的坐标和当前颜色、纹理坐标、法向等属性定义一个顶点。  OpenGL中描述一个面(线、点)的方法是glBegin/glEnd命令组:  glBegin(形状);  glVertex(顶点1);  glVertex(顶点2);  ……  glEnd();

2015-09-09 09:13:28 284

转载 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

原创 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 211

转载 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 465

转载 [OPENGL][转] opengl里的坐标系

http://blog.csdn.net/woaixiangrikui/article/details/12420835 世界坐标系也称为全局坐标系。它是一个右手坐标系,可以认为该坐标系是固定不变的,在初始态下,其x轴为沿屏幕水平向右,y轴为沿屏幕垂直向上,z轴则为垂直屏幕面向外指向用户,长度单位这样来定:窗口范围按此单位恰好是(-1,-1)(左下角)到(1,1)(右上角)。当然,如果在

2015-09-08 18:56:09 271

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除