POV-Ray : Newsgroups : povray.general : Light and dark : Re: Light and dark Server Time
28 Jun 2024 23:37:49 EDT (-0400)
  Re: Light and dark  
From: clipka
Date: 6 Apr 2018 13:56:32
Message: <5ac7b4d0$1@news.povray.org>
Am 06.04.2018 um 19:20 schrieb Mike Horvath:
> I'm trying to capture a shadow of an object that I will later process in
> GIMP. I want the shadow to be perfectly black, and the rest of the image
> to be perfectly white. (A bit of anti-aliasing is fine.)
> 
> How can I accomplish this? I have a white plane, but it ends up slightly
> darker than white. Also, the shadow is a bit lighter than black.

There are a couple of factors that may contribute to your white plane
not looking Pearly White(tm):

(1) The pigment may be non-white. Make sure to use `rgb 1`.

(2) The `diffuse` parameter may be set too low. Make sure to use
`diffuse 1` (and while I normally advocate using `diffuse albedo FLOAT`,
in this particular context I deliberately don't).

(3) The light source may not be directly overhead. In that case, make
sure to use `brilliance 0` in the finish.

Alternatively, just crank up the light source brightness to some
insanely high value ;)


As for the shadow not looking pitch black, this is most certainly due to
the `ambient` setting. Make sure to use `ambient 0`. (Also, make sure
you are not using radiosity.)


Post a reply to this message

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