POV-Ray : Newsgroups : povray.programming : Shading idea (to correct an annoying artifact) : Re: Shading idea (to correct an annoying artifact) Server Time
28 Jul 2024 16:18:01 EDT (-0400)
  Re: Shading idea (to correct an annoying artifact)  
From: Nieminen Juha
Date: 19 Jan 2000 05:39:07
Message: <3885944b@news.povray.org>
Burton Radons <lot### [at] pacificcoastnet> wrote:
: This solution would only compound the problem.  If you let the ray
: ignore the first intersection, then it will be inside the sphere and
: simply hit the other side going out, causing the same problem as
: before.

  The solution was precisely to ignore that surface (ie. the first intersection
with the current object from the current point). So there's no such problem.

: Currently at least the transparency would work right, but if
: the sphere were translucent, you would only see the one side filtering
: the light in a band at the shadow line!

  The other side of the sphere either shadows the current point or it doesn't.
It doesn't matter if the surface is translucent or opaque (the only difference
will be in the coloring and strength of the shadow).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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