POV-Ray : Newsgroups : povray.binaries.images : Light bleeding: adding halos to the spikes Server Time
22 Apr 2026 07:55:39 EDT (-0400)
  Light bleeding: adding halos to the spikes (Message 1 to 4 of 4)  
From: Cousin Ricky
Subject: Light bleeding: adding halos to the spikes
Date: 19 Apr 2026 16:09:52
Message: <69e53690$1@news.povray.org>
I have been working on my light bleeding code, adding a circular halo to
the diffraction spikes.  But while the added glow (Spikiness 0.25) looks
a lot better, it is dreadfully slow, taking 31 minutes for a 512 x 256
render, versus 1.5 minutes for the spikes alone (Spikiness 1.00).  The
issue is that halos scale with the square of the radius, while spikes
scale linearly.

Looks like I'll be investigating Sam's technique to see if I can work
out a hybrid that won't take forever.  Sam's lb7b allows me to add my
own diffraction pattern, while my idea has been to bleed only color
channels in excess of 1.0.

Or, I could attempt to upgrade Nathan Kopp or Chris Colefax to POV-Ray
3.7/3.8, but I would rather not have to track light sources--especially
since this does not account for reflections and highlights.

I'm just noticing another lens flare library on my computer, credited to
Zeger Knaepen in my notes, though his name is not in the code anywhere.


Post a reply to this message


Attachments:
Download 'bleed_poc5-glow29.jpg' (55 KB) Download 'bleed_poc5-glow33.jpg' (57 KB)

Preview of image 'bleed_poc5-glow29.jpg'
bleed_poc5-glow29.jpg

Preview of image 'bleed_poc5-glow33.jpg'
bleed_poc5-glow33.jpg


 

From: kurtz le pirate
Subject: Re: Light bleeding: adding halos to the spikes
Date: 20 Apr 2026 06:21:20
Message: <69e5fe20$1@news.povray.org>
On 19/04/2026 22:09, Cousin Ricky wrote:
> ...
> 
> I'm just noticing another lens flare library on my computer, credited to
> Zeger Knaepen in my notes, though his name is not in the code anywhere.


In fact, there are several examples on Zeger Knaepen's website... but no 
code found. <https://povplace.com/index.php?t=3>



In any case, great work on these halos and spikes.



-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message

From: Mr
Subject: Re: Light bleeding: adding halos to the spikes
Date: 20 Apr 2026 06:50:00
Message: <web.69e603b14af273a416086ed06830a892@news.povray.org>
Cousin Ricky <ric### [at] yahoocom> wrote:
> I have been working on my light bleeding code, adding a circular halo to
> the diffraction spikes.  But while the added glow (Spikiness 0.25) looks
> a lot better, it is dreadfully slow, taking 31 minutes for a 512 x 256
> render, versus 1.5 minutes for the spikes alone (Spikiness 1.00).  The
> issue is that halos scale with the square of the radius, while spikes
> scale linearly.
>
> Looks like I'll be investigating Sam's technique to see if I can work
> out a hybrid that won't take forever.  Sam's lb7b allows me to add my
> own diffraction pattern, while my idea has been to bleed only color
> channels in excess of 1.0.
>
> Or, I could attempt to upgrade Nathan Kopp or Chris Colefax to POV-Ray
> 3.7/3.8, but I would rather not have to track light sources--especially
> since this does not account for reflections and highlights.
>
> I'm just noticing another lens flare library on my computer, credited to
> Zeger Knaepen in my notes, though his name is not in the code anywhere.

Yes, great work indeed, the pursue is worth it: looking much more realistic with
halo.


Post a reply to this message

From: Mr
Subject: Re: Light bleeding: adding halos to the spikes
Date: 20 Apr 2026 06:55:00
Message: <web.69e605614af273a416086ed06830a892@news.povray.org>
Cousin Ricky <ric### [at] yahoocom> wrote:
> ...

Did you think about abusing the rainbow primitive for this effect?

(I assume you did find this discussion with the same attempt in your search :
https://news.povray.org/povray.general/thread/%3C3BE87585.572DA5DB%40scifi-fantasy.com%3E/?ttop=445854&toff=6650)


Post a reply to this message

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