文件名称:opengl_qt_test
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:235.38kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本次试验的目的很简单,只是显示一个窗口,可以通过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
本次试验是按照网络上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/
opengl_nehe_01/glwidget.cpp
opengl_nehe_01/glwidget.cpp.autosave
opengl_nehe_01/glwidget.h
opengl_nehe_01/glwidget.ui
opengl_nehe_01/main.cpp
opengl_nehe_01/opengl_nehe_01.pro
opengl_nehe_01/opengl_nehe_01.pro.user
OpenGL_Qt学习笔记之_01(创建一个OpenGL窗口).pdf
opengl_nehe_01/glwidget.cpp
opengl_nehe_01/glwidget.cpp.autosave
opengl_nehe_01/glwidget.h
opengl_nehe_01/glwidget.ui
opengl_nehe_01/main.cpp
opengl_nehe_01/opengl_nehe_01.pro
opengl_nehe_01/opengl_nehe_01.pro.user
OpenGL_Qt学习笔记之_01(创建一个OpenGL窗口).pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.