POV-Ray : Newsgroups : povray.advanced-users : Tricky Light : Re: Tricky Light Server Time
3 Jul 2024 04:29:12 EDT (-0400)
  Re: Tricky Light  
From: Alain
Date: 3 Jul 2008 19:38:30
Message: <486d62f6$1@news.povray.org>
Woody nous illumina en ce 2008-07-02 00:05 -->
> I'm trying to cast a light on a black surface such as
> 
> box{ -50, 50 scale x/500 pigment{color Black}}
> 
> 
>   light_source {
>     30*x, Red
>     projected_through { sphere{20*x, 1} }
>   }
> 
> but shining any light on a black surface and the light will not reflect (that is
> it has not effect)
> 
> However, I want to have an effect like shining a red light on a white wall where
> that light source is the only light scen. (or shining a white light on a red
> surface, again the only light source in the scene.) So it will appear that the
> surface is black and the light is red.
> 
> But I can't do that because I need to create a white object, such as
> 
> sphere{10*x,3 pigment{color White}}
> 
> However, in order to have that visible I would need to have an additional white
> light somewhere in the scene, which would illuminate the true pigment of the
> wall I'm trying to make look black.
> 
> Any ideas?
> 
> 
> 
> 
There is almost no "true" black in the real world. Replace your black with a 
very dark gray, like Gray05 or rgb 0.02.
You can use a second, shadowless, light placed behind the black object or add 
"no_shadow" to that wall.
You can use a very tight spotlight.
You can put your object and a light in a light_group. That light will not shine 
on any object outside it's group.

-- 
Alain
-------------------------------------------------
At twenty years of age the will reigns; at thirty, the wit; and at forty, the 
judgment.
Benjamin Franklin


Post a reply to this message

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