POV-Ray : Newsgroups : povray.newusers : Light emitting media and NKFlare : Re: Light emitting media and NKFlare Server Time
29 Jul 2024 20:24:16 EDT (-0400)
  Re: Light emitting media and NKFlare  
From: Beowulf Shaeffer
Date: 21 Mar 2005 16:00:00
Message: <web.423f3580a6783e921bec960e0@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> The order in which you do things matters. NKFlare wants to use variables
> like "cam_loc", "light_loc", and a pile of stuff that's created in the flr
> file, so you have to declare those variables before the #include, and call
> space2.flr before nkflare.inc.
>
> Like this:-
>
> #declare cam_loc = <0, 0, -1000>;   // use the x, y, and z of your camera
> #declare light_loc = <0,0,0>;       // use the x, y, and z of the light
>                                     // you wish to flare
> #declare lookat = <0, 0, 0>;        // the look_at vector of your camera
> #declare sky_vect = <0,1,0>;
>
> #include "space2.flr"
> #include "nkflare.inc"
>
> --
> Mike Williams
> Gentleman of Leisure


Thankyou very much, that works very well and looks damm cool too!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.