POV-Ray : Newsgroups : povray.general : shadow tollernace in global settings ? Server Time
17 Nov 2024 09:18:04 EST (-0500)
  shadow tollernace in global settings ? (Message 1 to 2 of 2)  
From: Rafal 'Raf256' Maj
Subject: shadow tollernace in global settings ?
Date: 20 Apr 2003 13:31:29
Message: <Xns9363C6A38F0ECraf256com@204.213.191.226>
Maybe it would be a good idea to allow settings afair "shadow tollerancy" in global
settings?

Problem is with shadows, as mentioned often - small objects (about 0.01 units) causes
sometimes 
invalid shadows.

I have a scene where "typical" size is 1 unit, a small detais have 0.01 units and
less. Their are causing 
invalid shadows :(

btw. other "epsiolns" maybe also should be defined in global_settings, like depth
tollerancy in afair sphere 
sweep, or  0.001 texture offset for AFAIR checker

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: shadow tollernace in global settings ?
Date: 20 Apr 2003 14:56:21
Message: <3ea2ed55@news.povray.org>
In article <Xns### [at] 204213191226>, "Rafal 'Raf256' Maj"
<raf### [at] raf256com> wrote:

> Maybe it would be a good idea to allow settings afair "shadow tollerancy"
> in global settings?
>
> Problem is with shadows, as mentioned often - small objects (about 0.01
> units) causes sometimes
> invalid shadows.

It does not have to do with what you call "shadow tolerance", but it is
intersection calculation precision.  And some of those problems where
actually introduced by bad patches in 3.5 :-(

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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