opengl_qt_test

所属分类:OpenGL
开发工具:C/C++
文件大小:235KB
下载次数:581
上传日期:2012-08-22 22:48:43
上 传 者tornadomeet
说明:  本次试验的目的很简单,只是显示一个窗口,可以通过F1键值来切换全屏显示和普通屏显示,并当按下ESE键时退出程序。窗口的颜色背景和透视效果(其实该试验都没用上)等用opengl来实现,主要是为后面的学习写了个框架,其实这里主要是重写了3个函数:initializeGL() paintGL() resizeGL() 这3个函数都是QGLWidget内部的虚函数。 本次试验是按照网络上NeHe写的最著名的opengl英文教程:http://nehe.gamedev.net/ 和对应的中文教程:http://www.owlei.com/DancingWind/ 的第一讲来学习的。当然也参考了网上对Nehe教程改编的Qt版:http://wenku.baidu.com/view/835b29fd941ea76e58fa04a2.html
(The purpose of this test is very simple, just a window, through the F1 key to switch between full-screen and the the ordinary screen display, and exit the program when press ESE key. Window color background and perspective (In fact, the test did not spend) opengl write a framework for later learning, in fact, is to rewrite the three functions: the initializeGL () paintGL ( ) resizeGL () these three functions are QGLWidget internal virtual function. The trial is in accordance with the the NeHe write in the network the most famous the opengl English tutorial at: http://nehe.gamedev.net/ and Chinese tutorial: http://www.owlei.com/DancingWind/ the first lecture to learning. Of course, also made reference to the online the Nehe tutorial adapted version of Qt: http://wenku.baidu.com/view/835b29fd941ea76e58fa04a2.html)

文件列表:
opengl_nehe_01 (0, 2012-08-22)
opengl_nehe_01\glwidget.cpp (2140, 2012-08-22)
opengl_nehe_01\glwidget.cpp.autosave (2088, 2012-08-22)
opengl_nehe_01\glwidget.h (487, 2012-08-22)
opengl_nehe_01\glwidget.ui (447, 2012-08-22)
opengl_nehe_01\main.cpp (183, 2012-08-22)
opengl_nehe_01\opengl_nehe_01.pro (388, 2012-08-22)
opengl_nehe_01\opengl_nehe_01.pro.user (17702, 2012-08-22)
OpenGL_Qt学习笔记之_01(创建一个OpenGL窗口).pdf (258591, 2012-08-22)

近期下载者

相关文件


收藏者