2012年10月23日

opengl 教程(2) 在窗口画点

摘要: 原文地址:http://ogldev.atspace.co.uk/www/tutorial02/tutorial02.html 通常在写OpenGL程序时候,我们都需要glew库,该库包装了OpenGL的各种扩展,便于我们使用。 我们可以在main函数中调用glew初始化函数,之后就可以查询OpenGL各种扩展能否使用了,对于能够使用的函数,可以动态的加载。 ... 阅读全文

posted @ 2012-10-23 21:05 迈克老狼2012 阅读(3438) 评论(2) 推荐(0)

opengl 教程(1) 创建窗口

摘要: 本章教程内容主要来自:http://ogldev.atspace.co.uk/www/tutorial01/tutorial01.html 使用OpenGL之前,请先安装和设置好FreeGlut和glew, 下载地址: http://freeglut.sourceforge.net/ http://glew.sourceforge.net/ 原教程源码下载地址:http://og... 阅读全文

posted @ 2012-10-23 07:02 迈克老狼2012 阅读(4035) 评论(0) 推荐(0)

导航