文件名称:MouseAndLight
- 所属分类:
- OpenGL
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3.14mb
- 下载次数:
- 0次
- 提 供 者:
- 名*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
此程序绘制了带6个纹理的立方体,明实现了键盘和鼠标控制,其中键盘控制如下:
L :控制光照光照
←:向左旋转速度增加
→:向右旋转速度增加
↑:向上旋转速度增加
↓:向下旋转速度增加
PgUp:立方体向屏幕里移动(离观察者越来越远)
PgUp: 立方体向屏幕外移动(离观察者越来越近)
鼠标控制如下:
右键:控制光照
左键:按下左键时可以进行立方体的拖拽使之旋转
-This program drew a cube with 6 textures, clearly realized the keyboard and mouse control, keyboard control of which is as follows: L: Control of light illumination ←: Left rotation speed increases →: right rotation speed increases ↑: increase the rotation speed up ↓ : downward rotation speed increases PgUp: cube to the screen in mobile (farther and farther away from the observer) PgUp: cube to move outside the screen (away from the viewer closer to) the mouse control is as follows: Right: Left light control: according to can be conducted under the left drag and drop to make rotating cube
L :控制光照光照
←:向左旋转速度增加
→:向右旋转速度增加
↑:向上旋转速度增加
↓:向下旋转速度增加
PgUp:立方体向屏幕里移动(离观察者越来越远)
PgUp: 立方体向屏幕外移动(离观察者越来越近)
鼠标控制如下:
右键:控制光照
左键:按下左键时可以进行立方体的拖拽使之旋转
-This program drew a cube with 6 textures, clearly realized the keyboard and mouse control, keyboard control of which is as follows: L: Control of light illumination ←: Left rotation speed increases →: right rotation speed increases ↑: increase the rotation speed up ↓ : downward rotation speed increases PgUp: cube to the screen in mobile (farther and farther away from the observer) PgUp: cube to move outside the screen (away from the viewer closer to) the mouse control is as follows: Right: Left light control: according to can be conducted under the left drag and drop to make rotating cube
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MouseAndLight\Debug\BuildLog.htm
.............\.....\MouseAndLight.exe
.............\.....\MouseAndLight.exe.embed.manifest
.............\.....\MouseAndLight.exe.embed.manifest.res
.............\.....\MouseAndLight.exe.intermediate.manifest
.............\.....\MouseAndLight.obj
.............\.....\MouseAndLight.pdb
.............\.....\mt.dep
.............\.....\vc60.pdb
.............\.....\vc90.pdb
.............\MouseAndLight.cpp
.............\MouseAndLight.dsp
.............\MouseAndLight.dsw
.............\MouseAndLight.ncb
.............\MouseAndLight.opt
.............\MouseAndLight.plg
.............\MouseAndLight.sln
.............\MouseAndLight.suo
.............\MouseAndLight.vcproj
.............\MouseAndLight.vcproj.LENOVO-03045314.Administrator.user
.............\pictures\佐助.bmp
.............\........\卡卡西.bmp
.............\........\我爱罗.bmp
.............\........\李洛克.bmp
.............\........\鸣人1.bmp
.............\........\鸣人2.bmp
.............\程序说明.txt
.............\Debug
.............\pictures
MouseAndLight
.............\.....\MouseAndLight.exe
.............\.....\MouseAndLight.exe.embed.manifest
.............\.....\MouseAndLight.exe.embed.manifest.res
.............\.....\MouseAndLight.exe.intermediate.manifest
.............\.....\MouseAndLight.obj
.............\.....\MouseAndLight.pdb
.............\.....\mt.dep
.............\.....\vc60.pdb
.............\.....\vc90.pdb
.............\MouseAndLight.cpp
.............\MouseAndLight.dsp
.............\MouseAndLight.dsw
.............\MouseAndLight.ncb
.............\MouseAndLight.opt
.............\MouseAndLight.plg
.............\MouseAndLight.sln
.............\MouseAndLight.suo
.............\MouseAndLight.vcproj
.............\MouseAndLight.vcproj.LENOVO-03045314.Administrator.user
.............\pictures\佐助.bmp
.............\........\卡卡西.bmp
.............\........\我爱罗.bmp
.............\........\李洛克.bmp
.............\........\鸣人1.bmp
.............\........\鸣人2.bmp
.............\程序说明.txt
.............\Debug
.............\pictures
MouseAndLight