文件名称:OpenGL-Light
- 所属分类:
- OpenGL
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 359kb
- 下载次数:
- 0次
- 提 供 者:
- y**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
2. 在代码中添加光照函数,要求如下:
(1)使用光源1
(2)设置光源的环境光、漫反射光以及镜面反射光颜色
(3)设置光源位置
(4)设置物体材质属性,包括:环境光、漫反射以及镜面反射系数(两个三维对象材质属性不能相同);对其中一个三维对象设置其表面发射项
-Light function, add code requirements are as follows: (1) the use of the light source 1 (2) Set the light source of ambient light, diffuse, and specular reflection light color (3) to set the position of the light source (4) to set the object material properties, including : ambient, diffuse reflection and specular reflection coefficient (two three-dimensional object material properties can not be the same) setting its surface-emitting items for which a three-dimensional object
(1)使用光源1
(2)设置光源的环境光、漫反射光以及镜面反射光颜色
(3)设置光源位置
(4)设置物体材质属性,包括:环境光、漫反射以及镜面反射系数(两个三维对象材质属性不能相同);对其中一个三维对象设置其表面发射项
-Light function, add code requirements are as follows: (1) the use of the light source 1 (2) Set the light source of ambient light, diffuse, and specular reflection light color (3) to set the position of the light source (4) to set the object material properties, including : ambient, diffuse reflection and specular reflection coefficient (two three-dimensional object material properties can not be the same) setting its surface-emitting items for which a three-dimensional object
(系统自动生成,下载前可以参看下载内容)
下载文件列表
OpenGL Light\Debug\glut32.dll
............\.....\shiyanwu.exe
............\.....\shiyanwu.ilk
............\.....\shiyanwu.obj
............\.....\shiyanwu.pch
............\.....\shiyanwu.pdb
............\.....\StdAfx.obj
............\.....\vc60.idb
............\.....\vc60.pdb
............\glut32.dll
............\ReadMe.txt
............\shiyanwu.cpp
............\shiyanwu.dsp
............\shiyanwu.dsw
............\shiyanwu.ncb
............\shiyanwu.opt
............\shiyanwu.plg
............\StdAfx.cpp
............\StdAfx.h
............\Debug
OpenGL Light