Flare Gallery
Home Up

 

Version 5.0 beta

Download nkflare5.zip. (35KB)

This gallery demonstrates quite a few of the built-in lens flare types. Others exist (22 in all).

To the right you see the "Space2" flare shown against a cloudy background.

TITLE.jpg (26186 bytes)

35mm, 50mm, 85mm

105mm, Tv-Day, Camcorder

Space3 and Concert

The following two scenes show the power of the new addons. The first scene shows that the light source is actually located behind the sphere. The second scene demonstrates the flare automatically being turned off because it is behind the sphere, and also shows a flare being created semi-automatically at the same point as the phong reflection on the triangle. Notice that these are intended for use in animations.
Scene 1:
   .
   :
#include "35mm.flr" 
#include "nkflare.inc"          
Scene 1:
   .
   :
// Extra light info
#declare light_rad = .25;

// Hide behind sphere
#declare sphere_rad = 1;
#declare sphere_loc = <0,.7,0>;
#include "hid_sph.inc"

// do the main flare (in case it's not hidden)
#include "35mm.flr"
#include "nkflare.inc"

// Reset some variables
#declare flare_brightness = .75;
#declare flare_size = 1;

// Now reflect off of the triangle
#include "sparkle4.flr"
#declare tp0 = <-3,-1,0>;
#declare tp1 = <-3,0,2>;
#declare tp2 = <-3,1,0>;
#include "ref_tri.inc"  // here we get a reflection          

If you have any comments, please email me. My email address is "contact at nkopp dot mailshell dot com".