POV-Ray : Newsgroups : povray.text.scene-files : Lens flare macro not working Server Time
20 Oct 2021 00:34:26 EDT (-0400)
  Lens flare macro not working (Message 1 to 6 of 6)  
From: Mike Horvath
Subject: Lens flare macro not working
Date: 17 Feb 2021 23:41:50
Message: <602df00e$1@news.povray.org>
I am unable to get the lens flare macro to show up in the attached 
scene. What am I doing wrong?

It's a 6 frame animation. The lens flare should appear over the sun in 
frame 3 out of 6.

Thank you.


Mike


Post a reply to this message


Attachments:
Download 'lens_flare_test.pov.txt' (4 KB)

From: Kenneth
Subject: Re: Lens flare macro not working
Date: 18 Feb 2021 17:00:00
Message: <web.602ee2613841873bd98418910@news.povray.org>
At first, I thought the code was only producing a 5-frame animation, then
crasing on frame 6-- until I changed my INI file's animation setting to
Initial_Frame=0  ;-)  I usually start at 1, the default.

I do see a tiny planet sphere on frame 3-- but I had to comment-out your
        #include Lens_Mod.inc
to get the scene to run, as that include file is not part of Chris Colefax's
Lens Flare macros at
      http://www.oocities.org/ccolefax/lenseffects.html

I don't have CIE.inc or lightsys.inc, so I ran the scene without those. I assume
that they are not necessary for the lens flare effect(?)


Post a reply to this message

From: Kenneth
Subject: Re: Lens flare macro not working
Date: 18 Feb 2021 17:35:01
Message: <web.602eeac43841873bd98418910@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> I had to comment-out your
>         #include Lens_Mod.inc
> to get the scene to run, as that include file is not part of Chris Colefax's
> Lens Flare macros...

I replaced that .inc file with Chris's LNSEFCTS.inc ; maybe that's what you
meant to #include?

Now, on frame 3, the render turns pure white. Is that what you're seeing as
well?


Post a reply to this message

From: Mike Horvath
Subject: Re: Lens flare macro not working
Date: 19 Feb 2021 20:06:49
Message: <603060a9$1@news.povray.org>
On 2/18/2021 5:32 PM, Kenneth wrote:
> "Kenneth" <kdw### [at] gmailcom> wrote:
>> I had to comment-out your
>>          #include Lens_Mod.inc
>> to get the scene to run, as that include file is not part of Chris Colefax's
>> Lens Flare macros...
> 
> I replaced that .inc file with Chris's LNSEFCTS.inc ; maybe that's what you
> meant to #include?
> 
> Now, on frame 3, the render turns pure white. Is that what you're seeing as
> well?
> 
> 
> 

Sorry about that.

I think you're supposed to replace it with LENS.INC.

I don't get a white screen.


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Lens flare macro not working
Date: 19 Feb 2021 20:08:57
Message: <60306129$1@news.povray.org>
On 2/18/2021 4:55 PM, Kenneth wrote:
> I don't have CIE.inc or lightsys.inc, so I ran the scene without those. I assume
> that they are not necessary for the lens flare effect(?)

You are correct.


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Lens flare macro not working
Date: 20 Feb 2021 01:14:01
Message: <6030a8a9$1@news.povray.org>
On 2/19/2021 8:06 PM, Mike Horvath wrote:
> On 2/18/2021 5:32 PM, Kenneth wrote:
>> "Kenneth" <kdw### [at] gmailcom> wrote:
>>> I had to comment-out your

>>> to get the scene to run, as that include file is not part of Chris 
>>> Colefax's
>>> Lens Flare macros...
>>
>> I replaced that .inc file with Chris's LNSEFCTS.inc ; maybe that's 
>> what you
>> meant to #include?
>>
>> Now, on frame 3, the render turns pure white. Is that what you're 
>> seeing as
>> well?
>>
>>
>>
> 
> Sorry about that.
> 
> I think you're supposed to replace it with LENS.INC.
> 
> I don't get a white screen.
> 
> 
> Mike


The problem was with the camera code. I had the Camera_Location and 
Camera_LookAt set incorrectly.


Mike


Post a reply to this message

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