文件名称:gl2_5_1
- 所属分类:
- OpenGL
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 494kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
绘制带有光照效果的场景;
场景包含3个茶壶,通过键盘1,2,3可以分别选中三个茶壶,然后用鼠标对每个茶壶进行分别的旋转;
使用点光源,点光源为白色,以白色的球体表示;
使用3个不同的点光源
光源1的坐标设置在世界坐标系中,并围绕着三个茶壶的中心进行圆周运动;
光源2 的坐标 设置在观察坐标系,不发生变化;
光源3的坐标设置在茶壶1的物体坐标系中,当茶壶1被选中进行旋转时,光源3要跟随茶壶1 做相同的旋转;-Drawn scenes with lighting effects contains three scenes teapot keyboard 1,2,3 can select three teapot, and then use the mouse, respectively, the rotation of each teapot using a point source, point light source is white, white sphere use the coordinates of the three different point light source 1 is set in the world coordinate system, and around the center of the circular motion of three teapot the coordinates of the light source 2 provided in the observation coordinate system does not change the coordinates of the light source 3 is provided in an object coordinate system in the teapot, the teapot 1 is selected for rotation, the light source 3 to follow teapot 1 do the same rotation
场景包含3个茶壶,通过键盘1,2,3可以分别选中三个茶壶,然后用鼠标对每个茶壶进行分别的旋转;
使用点光源,点光源为白色,以白色的球体表示;
使用3个不同的点光源
光源1的坐标设置在世界坐标系中,并围绕着三个茶壶的中心进行圆周运动;
光源2 的坐标 设置在观察坐标系,不发生变化;
光源3的坐标设置在茶壶1的物体坐标系中,当茶壶1被选中进行旋转时,光源3要跟随茶壶1 做相同的旋转;-Drawn scenes with lighting effects contains three scenes teapot keyboard 1,2,3 can select three teapot, and then use the mouse, respectively, the rotation of each teapot using a point source, point light source is white, white sphere use the coordinates of the three different point light source 1 is set in the world coordinate system, and around the center of the circular motion of three teapot the coordinates of the light source 2 provided in the observation coordinate system does not change the coordinates of the light source 3 is provided in an object coordinate system in the teapot, the teapot 1 is selected for rotation, the light source 3 to follow teapot 1 do the same rotation
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gl2_5_1\Debug\func.obj
.......\.....\gl2_5_1.exe
.......\.....\gl2_5_1.ilk
.......\.....\gl2_5_1.pch
.......\.....\gl2_5_1.pdb
.......\.....\main.obj
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\Debug
.......\func.cpp
.......\func.h
.......\gl2_5_1.dsp
.......\gl2_5_1.dsw
.......\gl2_5_1.ncb
.......\gl2_5_1.opt
.......\gl2_5_1.plg
.......\main.cpp
gl2_5_1