|
|
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
|
|