Introduction - If you have any usage issues, please Google them yourself
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 az 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 aka rIO of Spinning Kids.
Packet : 59564873dlensflarewithocclusiontesting.rar filelist
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