文件名称:OpenGL-sunaearth
- 所属分类:
- 多媒体编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2015-05-27
- 文件大小:
- 10.26mb
- 下载次数:
- 0次
- 提 供 者:
- Al***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
以太阳、地球作为例子,把太阳作为光源,模拟地球围绕太阳转动时光照的变化。于是,需要设置一个光源——太阳,设置两种材质——太阳的材质和地球的材质。
把太阳光线设置为白色,位置在画面正中。把太阳的材质设置为微微散发出红色的光芒,把地球的材质设置为微微散发出暗淡的蓝色光芒,并且反射蓝色的光芒,镜面指数设置成一个比较小的值。简单起见,不再考虑太阳和地球的大小关系,用同样大小的球体来代替之。
-In the sun, the Earth as an example, the sun as a light source, simulate the Earth rotation around the sun light changes. Thus, the need to set up a light source- the sun, setting two materials- the sun and the Earth material material.
The sun s rays to white, middle position in the fr a me. The material of the sun setting slightly exudes red light, the earth material to emit a slightly dim blue light and reflects blue light, mirror the index is set to a relatively small value. For simplicity, no longer consider the relationship between the Sun and Earth s size, with the same size of a sphere instead.
把太阳光线设置为白色,位置在画面正中。把太阳的材质设置为微微散发出红色的光芒,把地球的材质设置为微微散发出暗淡的蓝色光芒,并且反射蓝色的光芒,镜面指数设置成一个比较小的值。简单起见,不再考虑太阳和地球的大小关系,用同样大小的球体来代替之。
-In the sun, the Earth as an example, the sun as a light source, simulate the Earth rotation around the sun light changes. Thus, the need to set up a light source- the sun, setting two materials- the sun and the Earth material material.
The sun s rays to white, middle position in the fr a me. The material of the sun setting slightly exudes red light, the earth material to emit a slightly dim blue light and reflects blue light, mirror the index is set to a relatively small value. For simplicity, no longer consider the relationship between the Sun and Earth s size, with the same size of a sphere instead.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
OpenGL转转转
............\Debug
............\.....\glut32.dll
............\.....\OpenGL转转转.exe
............\.....\OpenGL转转转.ilk
............\.....\OpenGL转转转.pdb
............\ipch
............\....\opengl转转转-9b03ac68
............\....\.....................\opengl转转转-77c14575.ipch
............\OpenGL转转转
............\OpenGL转转转.sdf
............\OpenGL转转转.sln
............\OpenGL转转转.v11.suo
............\............\Debug
............\............\.....\CL.read.1.tlog
............\............\.....\CL.write.1.tlog
............\............\.....\link-cvtres.read.1.tlog
............\............\.....\link-cvtres.write.1.tlog
............\............\.....\link-rc.read.1.tlog
............\............\.....\link-rc.write.1.tlog
............\............\.....\link.read.1.tlog
............\............\.....\link.write.1.tlog
............\............\.....\OpenGL转转转.lastbuildstate
............\............\.....\OpenGL转转转.log
............\............\.....\OpenGL转转转.obj
............\............\.....\OpenGL转转转.pch
............\............\.....\stdafx.obj
............\............\.....\vc110.idb
............\............\.....\vc110.pdb
............\............\OGLdpf.log
............\............\OpenGL-sun&earth.cpp
............\............\OpenGL转转转.vcxproj
............\............\OpenGL转转转.vcxproj.filters
............\............\ReadMe.txt
............\............\stdafx.cpp
............\............\stdafx.h
............\............\targetver.h