文件名称:gl2_5_1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:493.9kb
-
已下载: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/Debug/gl2_5_1.exe
gl2_5_1/Debug/gl2_5_1.ilk
gl2_5_1/Debug/gl2_5_1.pch
gl2_5_1/Debug/gl2_5_1.pdb
gl2_5_1/Debug/main.obj
gl2_5_1/Debug/vc60.idb
gl2_5_1/Debug/vc60.pdb
gl2_5_1/Debug
gl2_5_1/func.cpp
gl2_5_1/func.h
gl2_5_1/gl2_5_1.dsp
gl2_5_1/gl2_5_1.dsw
gl2_5_1/gl2_5_1.ncb
gl2_5_1/gl2_5_1.opt
gl2_5_1/gl2_5_1.plg
gl2_5_1/main.cpp
gl2_5_1
gl2_5_1/Debug/gl2_5_1.exe
gl2_5_1/Debug/gl2_5_1.ilk
gl2_5_1/Debug/gl2_5_1.pch
gl2_5_1/Debug/gl2_5_1.pdb
gl2_5_1/Debug/main.obj
gl2_5_1/Debug/vc60.idb
gl2_5_1/Debug/vc60.pdb
gl2_5_1/Debug
gl2_5_1/func.cpp
gl2_5_1/func.h
gl2_5_1/gl2_5_1.dsp
gl2_5_1/gl2_5_1.dsw
gl2_5_1/gl2_5_1.ncb
gl2_5_1/gl2_5_1.opt
gl2_5_1/gl2_5_1.plg
gl2_5_1/main.cpp
gl2_5_1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.