文件名称:3DLensFlareWithOcclusionTesting
- 所属分类:
- OpenGL
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 76.41kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
3D Lens Flare With Occlusion Testing
Learn how to do lens flares by extending a glCamera class. If you look at a lens flare you will notice that they all share one thing in common. They all seem to move through the center of the screen. With this in mind you could actually just throw out the z coordinate and make your flares all 2D. The only problem with this approach is without a z coordinate how do you find out if the camera is looking at the light source or not? In this tutorial we will be making 3D lens flares so get ready for a little bit of math. Occlusion test by Dario Corno a.k.a. rIO of Spinning Kids.
Learn how to do lens flares by extending a glCamera class. If you look at a lens flare you will notice that they all share one thing in common. They all seem to move through the center of the screen. With this in mind you could actually just throw out the z coordinate and make your flares all 2D. The only problem with this approach is without a z coordinate how do you find out if the camera is looking at the light source or not? In this tutorial we will be making 3D lens flares so get ready for a little bit of math. Occlusion test by Dario Corno a.k.a. rIO of Spinning Kids.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 59564873dlensflarewithocclusiontesting.rar 列表 3DLensFlareWithOcclusionTesting\Art\BigGlow3.bmp 3DLensFlareWithOcclusionTesting\Art\Font.bmp 3DLensFlareWithOcclusionTesting\Art\Halo3.bmp 3DLensFlareWithOcclusionTesting\Art\HardGlow2.bmp 3DLensFlareWithOcclusionTesting\Art\Streaks4.bmp 3DLensFlareWithOcclusionTesting\Art 3DLensFlareWithOcclusionTesting\glCamera.cpp 3DLensFlareWithOcclusionTesting\glCamera.h 3DLensFlareWithOcclusionTesting\glFont.cpp 3DLensFlareWithOcclusionTesting\glFont.h 3DLensFlareWithOcclusionTesting\glPoint.cpp 3DLensFlareWithOcclusionTesting\glPoint.h 3DLensFlareWithOcclusionTesting\glVector.cpp 3DLensFlareWithOcclusionTesting\glVector.h 3DLensFlareWithOcclusionTesting\Lesson44.cpp 3DLensFlareWithOcclusionTesting\Lesson44.dsp 3DLensFlareWithOcclusionTesting\Lesson44.dsw 3DLensFlareWithOcclusionTesting\Lesson44.exe 3DLensFlareWithOcclusionTesting\NeHe's Readme.txt 3DLensFlareWithOcclusionTesting