資源簡(jiǎn)介
OPENGL光照和紋理技術(shù)實(shí)例.rar
OPENGL光照和紋理技術(shù)實(shí)例.rar
代碼片段和文件信息
#include?
#include?
void?init(void)?
{
???GLfloat?mat_specular[]?=?{?1.0?1.0?1.0?1.0?};
???GLfloat?mat_shininess[]?=?{?50.0?};
???//The?property?of?Light?0
???GLfloat?light_position[]?=?{?1.0?1.0?1.0?0.0?};
???GLfloat?light_ambient[]={0.0?0.0?0.0?1.0};
???GLfloat?light_diffuse[]={?0.0?0.0?1.0?1.0?};
???GLfloat?light_specular[]={?0.0?0.0?1.0?1.0?};
???
???//The?property?of?Light?1
???
???GLfloat?lightambient1[]={0.2?0.2?0.2?1.0};
???GLfloat?lightdiffuse1[]={?0.0?1.0?0.0?1.0?};//修改漫反射分量
???GLfloat?lightspecular1[]={?0.0?1.0?0.0?1.0?};//鏡面反射分量
???GLfloat?lightposition1[]?=?{-2.0?2.0?1.0?1.0?};//光源位置
???GLfloat?spot_direction[]?=?{1.0?-1.0?-1.0?};//聚光燈方向
???
???//The?property?of?Light?2
????GLfloat?lightambient2[]={0.
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????41984??2010-06-26?20:51??light\Debug\vc60.idb
?????文件??????45056??2010-06-26?19:44??light\Debug\vc60.pdb
?????文件???????8997??2010-06-26?19:44??light\Debug\light.obj
?????文件?????188488??2010-06-26?19:44??light\Debug\light.exe
?????文件?????443392??2010-06-26?19:44??light\Debug\light.pdb
?????文件?????213388??2010-06-26?19:44??light\Debug\light.ilk
?????文件?????292928??2010-06-26?19:43??light\Debug\light.pch
?????文件???????3843??2010-06-26?19:44??light\light.c
?????文件???????3387??2010-06-07?00:08??light\light.dsp
?????文件????????518??2010-06-07?00:28??light\light.dsw
?????文件??????41984??2010-06-26?20:51??light\light.ncb
?????文件???????1138??2010-06-26?19:44??light\light.plg
?????文件??????48640??2010-06-26?20:51??light\light.opt
?????文件????????246??2010-06-26?19:41??texsub\texsub.plg
?????文件??????41984??2010-06-26?20:52??texsub\Debug\vc60.idb
?????文件??????45056??2010-06-26?19:44??texsub\Debug\vc60.pdb
?????文件??????11211??2010-06-26?19:32??texsub\Debug\texsub.obj
?????文件?????239696??2010-06-26?19:32??texsub\Debug\texsub.ilk
?????文件?????188489??2010-06-26?19:32??texsub\Debug\texsub.exe
?????文件?????443392??2010-06-26?19:32??texsub\Debug\texsub.pdb
?????文件?????303644??2010-06-26?19:32??texsub\Debug\texsub.pch
?????文件???????5743??2010-06-26?19:32??texsub\texsub.c
?????文件???????3399??2010-06-07?02:18??texsub\texsub.dsp
?????文件????????520??2010-06-07?02:29??texsub\texsub.dsw
?????文件??????41984??2010-06-26?20:52??texsub\texsub.ncb
?????文件??????48640??2010-06-26?20:52??texsub\texsub.opt
?????文件??????38400??2009-05-25?21:15??glTexSubImage2D說明.doc
?????文件??????30208??2009-05-06?11:33??light.doc
?????文件??????44544??2009-05-25?17:12??光照和紋理技術(shù)相關(guān)函數(shù).doc
?????目錄??????????0??2010-06-26?20:51??light\Debug
............此處省略6個(gè)文件信息
- 上一篇:Protel99se 鼠標(biāo)放大縮小插件
- 下一篇:球面線性插值
評(píng)論
共有 條評(píng)論