CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 图形图象 OpenGL

文件名称:opengl_qt_linghting_blending

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    2.09mb
  • 已下载:
    1次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

本次实验主要是学习下opengl中光照的使用方法,opengl中的光照分为环境光,漫射光,镜面光,反射光4种,这里主要是学习环境光和漫射光的设置,同时对比下opengl中支持的几种纹理滤波方式的效果,另外也可以加入色彩融合效果。这次实验是将一个木箱纹理贴到一个立方体上,然后我们在空间屏幕正外方设置了一个光源,可以用键盘的L键来控制该光源的开启和关闭;用F键来旋转程序中用到的3种滤波方式,按下F键后,依次切换该3种方式;用PageUp键来使物体离观察者越来越远,相反,用PageDown来使物体离我们越来越近;使用向上光标键加快物体旋转的速度,向下光标键减小物体旋转的速度。

  开发环境:windows+QtCreator2.5.1+Qt4.8.2-The experiment is mainly the use of light in learning under opengl, opengl light into the ambient light, diffuse light, specular light, reflected light, learning environment light and diffuse light settings while contrast under opengl in support of several on the effect of texture filtering, addition can also add color fusion effect. This experiment is a wooden texture to a cube, and then we have a light source is set in space screen positive outward, L key can use the keyboard to control the opening and closing of the light source with the F key rotation procedures used three kinds of filtering the way, press the F key, followed by switching the 3 ways PageUp key to make objects farther and farther away from the observer, on the contrary, PageDown to make objects closer and closer using the accelerating the speed of rotation of the object, the up cursor key down cursor keys to reduce the speed of rotation of the objects. Development Environment: windows+QtCreator2.5.1+Qt4.8.2
(系统自动生成,下载前可以参看下载内容)

下载文件列表

OpenGL_Qt学习笔记之_06(纹理滤波、光照和色彩融合).pdf
opengl_qt_nehe_06/
opengl_qt_nehe_06/Makefile
opengl_qt_nehe_06/Makefile.Debug
opengl_qt_nehe_06/Makefile.Release
opengl_qt_nehe_06/cat.jpg
opengl_qt_nehe_06/crate.bmp
opengl_qt_nehe_06/debug/
opengl_qt_nehe_06/debug/glwidget.obj
opengl_qt_nehe_06/debug/main.obj
opengl_qt_nehe_06/debug/moc_glwidget.cpp
opengl_qt_nehe_06/debug/moc_glwidget.obj
opengl_qt_nehe_06/debug/opengl_qt_nehe_06.exe
opengl_qt_nehe_06/debug/opengl_qt_nehe_06.ilk
opengl_qt_nehe_06/debug/opengl_qt_nehe_06.intermediate.manifest
opengl_qt_nehe_06/debug/opengl_qt_nehe_06.pdb
opengl_qt_nehe_06/glwidget.cpp
opengl_qt_nehe_06/glwidget.h
opengl_qt_nehe_06/glwidget.ui
opengl_qt_nehe_06/main.cpp
opengl_qt_nehe_06/opengl_qt_nehe_06.pro
opengl_qt_nehe_06/opengl_qt_nehe_06.pro.user
opengl_qt_nehe_06/release/
opengl_qt_nehe_06/ui_glwidget.h
opengl_qt_nehe_06/vc100.pdb

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com