POV-Ray : Newsgroups : povray.general : focal blur problem ? Server Time
18 Nov 2024 01:23:45 EST (-0500)
  focal blur problem ? (Message 1 to 4 of 4)  
From: Rafal 'Raf256' Maj
Subject: focal blur problem ?
Date: 19 Nov 2002 20:39:52
Message: <Xns92CC1A7F82EF2raf256com@204.213.191.226>
Hellow,
in simple scene (prisms scene - I will post it in .b.i soon) I have problem 
with focal blur. It looks like POV ignores confidene/variance stettings and 
always just uses blur_sampels samples per pixel...

Following settings had given me same results (both in time, and in image)

  blur_samples 100
  aperture 0.03
  variance 1/256
  confidence 0.999

and

  blur_samples 100
  aperture 0.03
  variance 1/2
  confidence 0.3

should't second version render *much* faster ?

-- 
#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: hughes, b 
Subject: Re: focal blur problem ?
Date: 20 Nov 2002 05:12:32
Message: <3ddb6010@news.povray.org>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> in simple scene (prisms scene - I will post it in .b.i soon) I have
problem
> with focal blur. It looks like POV ignores confidene/variance stettings
and
> always just uses blur_sampels samples per pixel...
>
>   blur_samples 100
>   aperture 0.03
>   variance 1/256
>   confidence 0.999
>
>   blur_samples 100
>   aperture 0.03
>   variance 1/2
>   confidence 0.3
>
> should't second version render *much* faster ?

Not sure that is a significant enough aperture to notice it. Those things,
variance and confidence, might have to be more extreme too. Trying to think
of what the default for variance is... 1/128? Yes, is. I've used variance
1/500 and confidence 0.9999 before, I know, and I think it does make a
difference. But not much from between around those numbers you have there
probably. A kind of exponential change maybe?


Post a reply to this message

From: Warp
Subject: Re: focal blur problem ?
Date: 20 Nov 2002 05:48:35
Message: <3ddb6883@news.povray.org>
hughes, b. <omn### [at] charternet> wrote:
> Trying to think
> of what the default for variance is... 1/128? Yes, is.

  Actually the default variance in POV-Ray 3.5 is 1/10000. (I don't know if
the docs have been updated to reflect this).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: hughes, b 
Subject: Re: focal blur problem ?
Date: 20 Nov 2002 13:56:35
Message: <3ddbdae3$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3ddb6883@news.povray.org...
> hughes, b. <omn### [at] charternet> wrote:
> > Trying to think
> > of what the default for variance is... 1/128? Yes, is.
>
>   Actually the default variance in POV-Ray 3.5 is 1/10000. (I don't know
if
> the docs have been updated to reflect this).

It says 1/128 and that 1/10000 would be better to use for a refined focal
blur while using default confidence and 100 for blur_samples.
--
Farewell,
Bob


Post a reply to this message

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