POV-Ray : Newsgroups : povray.newusers : Halo effect through clouds Server Time
27 Nov 2024 02:30:22 EST (-0500)
  Halo effect through clouds (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Penners
Subject: Halo effect through clouds
Date: 24 Jul 2003 14:50:01
Message: <web.3f202a007a7870359478e7c60@news.povray.org>
Hi,
  Does anyone know how to achieve this "halo" effect of a star being seen
behind a cloud and, I assume because of scattering, there is a bright ring
around the star?  I have made the cloud a media object with scattering, but
I can't seem to get a nice "halo" around the star/light source.

Thanks for any suggestions.


Post a reply to this message

From: Warp
Subject: Re: Halo effect through clouds
Date: 24 Jul 2003 16:10:26
Message: <3f203d32@news.povray.org>
http://geocities.com/ccolefax/lenseffects.html

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Penners
Subject: Re: Halo effect through clouds
Date: 24 Jul 2003 19:10:01
Message: <web.3f2066e8ce8953889478e7c60@news.povray.org>
Warp wrote:
>http://geocities.com/ccolefax/lenseffects.html
>
>#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
>-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
>


Nice...thanks a lot.
Just wondering, is there no "natural" way of getting these effects, like
from scattering of the light or photons in POVray?


Post a reply to this message

From: Tim Nikias v2 0
Subject: Re: Halo effect through clouds
Date: 24 Jul 2003 19:18:47
Message: <3f206957@news.povray.org>
Some have tried, many have failed. The amount
of photons and the tracing depth for a sufficient
effect are just... well... high.

-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights

> Warp wrote:
> >http://geocities.com/ccolefax/lenseffects.html
> >
> >#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> >-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -
> >
>
>
> Nice...thanks a lot.
> Just wondering, is there no "natural" way of getting these effects, like
> from scattering of the light or photons in POVray?
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18.07.2003


Post a reply to this message

From: Christopher James Huff
Subject: Re: Halo effect through clouds
Date: 24 Jul 2003 20:45:45
Message: <cjameshuff-ADEC5E.19454824072003@netplex.aussie.org>
In article <3f203d32@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

> http://geocities.com/ccolefax/lenseffects.html

What Penners is looking for is actually produced by atmospheric 
scattering, not a lens effect. Unfortunately, the scattering models used 
in POV peak at an angle of 0 to the light, so you get a glow that's 
brightest around the source and just falls off from there. The ice 
crystals that cause this effect scatter light differently, peaking at 22 
degrees. POV just doesn't have a scattering model that describes this 
effect. Maybe the scattering intensity curve could be specified with a 
user-defined function, this would give a great deal more flexibility.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: Halo effect through clouds
Date: 24 Jul 2003 20:56:11
Message: <cjameshuff-E27C1B.19561224072003@netplex.aussie.org>
In article <cja### [at] netplexaussieorg>,
 Christopher James Huff <cja### [at] earthlinknet> wrote:

> What Penners is looking for is actually produced by atmospheric 
> scattering, not a lens effect. Unfortunately, the scattering models used 
> in POV peak at an angle of 0 to the light, so you get a glow that's 
> brightest around the source and just falls off from there. The ice 
> crystals that cause this effect scatter light differently, peaking at 22 
> degrees. POV just doesn't have a scattering model that describes this 
> effect. Maybe the scattering intensity curve could be specified with a 
> user-defined function, this would give a great deal more flexibility.

Here's some good pictures of the effect:
http://antwrp.gsfc.nasa.gov/apod/ap000515.html
http://antwrp.gsfc.nasa.gov/apod/ap020114.html
http://antwrp.gsfc.nasa.gov/apod/ap030321.html

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: gonzo
Subject: Re: Halo effect through clouds
Date: 25 Jul 2003 02:19:17
Message: <3f20cbe5@news.povray.org>
Penners <pen### [at] hotmailcom> wrote in message
news:web.3f202a007a7870359478e7c60@news.povray.org...
> Hi,
>   Does anyone know how to achieve this "halo" effect of a star being seen
> behind a cloud and, I assume because of scattering, there is a bright ring
> around the star?  I have made the cloud a media object with scattering,
but
> I can't seem to get a nice "halo" around the star/light source.
>
> Thanks for any suggestions.
>

I think you can do that using a hollow sphere filled with scattering media
using a spherical color map with the middle transparent so color only  shows
around the outside.

This isn't the same thing;
http://www.irtc.org/ftp/pub/stills/2003-06-30/lites_rg.jpg,
but while I was experimenting with the media for it I got something like
what you want.  The code is here;
http://www.irtc.org/ftp/pub/stills/2003-06-30/lites_rg.zip

Look at the color map I used and play with it. You can either put it around
the star, or between the star and the clouds.  Play with the placement, but
I think it should work.

RG


Post a reply to this message

From: Warp
Subject: Re: Halo effect through clouds
Date: 25 Jul 2003 08:31:01
Message: <3f212305@news.povray.org>
Christopher James Huff <cja### [at] earthlinknet> wrote:
> Maybe the scattering intensity curve could be specified with a 
> user-defined function, this would give a great deal more flexibility.

  If you can use a fake which renders in 1 second and which looks as
good as the real thing... why bother?

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Tom Melly
Subject: Re: Halo effect through clouds
Date: 25 Jul 2003 08:47:57
Message: <3f2126fd$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3f212305@news.povray.org...
>
>   If you can use a fake which renders in 1 second and which looks as
> good as the real thing... why bother?

"Because" - moving to O.T.....


Post a reply to this message

From: Penners
Subject: Re: Halo effect through clouds
Date: 25 Jul 2003 13:35:01
Message: <web.3f216933ce8953885c46d5e30@news.povray.org>
Thanks everyone for all your help/suggestions.  I really appreciate it.


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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