POV-Ray : Newsgroups : povray.general : Lights only in shadows? : Re: Lights only in shadows? Server Time
1 Aug 2024 00:23:34 EDT (-0400)
  Re: Lights only in shadows?  
From: Chris B
Date: 27 May 2006 13:36:25
Message: <44788e19@news.povray.org>
"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!
>

Why not just use a hemisphere for the lights. You can orient that in the 
same way.
If the hemisphere is centred at the origin you can just use reorient_trans() 
to point the blunt end at the light source.

Regards,
Chris B.


Post a reply to this message

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