POV-Ray : Newsgroups : povray.general : Lights only in shadows? : Re: Lights only in shadows? Server Time
1 Aug 2024 00:20:02 EDT (-0400)
  Re: Lights only in shadows?  
From: PM 2Ring
Date: 27 May 2006 13:55:00
Message: <web.4478916f9215ab7e76ba2c900@news.povray.org>
"Chris B" <c_b### [at] btconnectcomnospam> wrote:
> "Sven Littkowski" <sve### [at] jamaica-focuscom> wrote in message
> news:44788b00$1@news.povray.org...
> >
> > "PM 2Ring" <nomail@nomail> schrieb im Newsbeitrag
> > news:web.447885df9215ab7e76ba2c900@news.povray.org...
> >> You can do this with a texture_map, with the gradient pattern using the
> >> vector from the centre of the Earth to the centre of the Sun. Sorry, I'm
> >> too tired to write any code right now. :)
> >
> > That sounds pretty interesting!
> >
> > I would like to consider that. If not now and today, can you post it
> > tomorrow? I, and for sure many others, would appreciate it a lot!

I'm sure you can figure it out, Sven. :) I'm a bit busy, ATM, chasing
links...

> Why not just use a hemisphere for the lights. You can orient that in the
> same way.

That sounds simpler, Chris.

> If the hemisphere is centred at the origin you can just use reorient_trans()
> to point the blunt end at the light source.

And splitting the atmosphere into two hemispheres will also solve Sven's
problem with the nighside atmosphere glowing.


Post a reply to this message

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