POV-Ray : Newsgroups : povray.general : Re: Radiosity artifacts Server Time
27 Nov 2026 07:02:47 EST (-0500)
  Re: Radiosity artifacts (Message 1 to 20 of 20)  
From: Rafal 'Raf256' Maj
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 13:49:22
Message: <Xns93B4C99106963raf256com@204.213.191.226>
mon### [at] stinet news:3f0d9ebb@news.povray.org

Hi,
I would try to change some settings:

> Brightness:8
brightness 1

> Count:1600
if YOu want... but IMHO 300 would be enought

> Distance max:1
isn't this setting deprected in pov 3.5 ?

> Error Bound:  .001
IMHO .10 would realy be enought

> Gray threshold: .5
1.0

> Low error Factor:  .001
.60 

> Min Reuse:  .004
or even little smaller

> Nearest count:  20
> Recursion limit:  1
3..5 or more


-- 
#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: ran102
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 14:10:25
Message: <3f0dac11@news.povray.org>
Just one question.  When I raise the recursion limit, the redering time
increases ALOT.  Is this normal?  When I say alot I mean like 15 to 20 times
more.  Thanks for the settings also.  I am trying them right now.
"Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> mon### [at] stinet news:3f0d9ebb@news.povray.org
>
> Hi,
> I would try to change some settings:
>
> > Brightness:8
> brightness 1
>
> > Count:1600
> if YOu want... but IMHO 300 would be enought
>
> > Distance max:1
> isn't this setting deprected in pov 3.5 ?
>
> > Error Bound:  .001
> IMHO .10 would realy be enought
>
> > Gray threshold: .5
> 1.0
>
> > Low error Factor:  .001
> .60
>
> > Min Reuse:  .004
> or even little smaller
>
> > Nearest count:  20
> > Recursion limit:  1
> 3..5 or more
>
>
> --
> #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: ABX
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 14:16:15
Message: <s4brgvsi4ggb2d4128o3ljodpu2bel60af@4ax.com>
On Thu, 10 Jul 2003 11:10:24 -0700, "ran102" <mon### [at] stinet> wrote:
> Just one question.  When I raise the recursion limit, the redering time
> increases ALOT.  Is this normal?  When I say alot I mean like 15 to 20 times
> more.  Thanks for the settings also.  I am trying them right now.

There is no linear dependency between recursion limit and number of traced rays.

Read interesting tutorial about radiosity in manual ?
http://www.google.com/search?q=radiosity+tutorial+POV%2DRay

ABX


Post a reply to this message

From: Andy Cocker
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 14:19:33
Message: <3f0dae35@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> > Gray threshold: .5
> 1.0

I think this should be 0, not 1.0. A setting of 1.0 allows no color bleeding.

Andy Cocker


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 14:55:34
Message: <3f0db6a6@news.povray.org>
In article <3f0d9ebb@news.povray.org> , "ran102" <mon### [at] stinet> wrote:

>  Here is a picture of the scene.

Please do not post binary attachments to non-binary groups.  Please read the
messages, in particular "Welcome To The POV-Ray News Groups" in the
povray.announce.frequently-asked-questions group for details.

    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

From: Rafal 'Raf256' Maj
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 16:08:46
Message: <Xns93B4E13312D77raf256com@204.213.191.226>
mon### [at] stinet news:3f0dac11@news.povray.org

> Just one question.  When I raise the recursion limit, the redering time
> increases ALOT.  Is this normal?

Yes.
I suggest to use in radiosity adc_bailout instead of recursion limit

a) for pre-tests
recursion_limit 3 adc_bailout 1/64

b) normal
recursion_limit 5 adc_bailout 1/128

c) perfect
recursion_limit 10 adc_bailout 1/256

-- 
#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: Gilles Tran
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 16:49:31
Message: <3f0dd15b@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> a écrit dans le message de news:
Xns### [at] 204213191226...
> > Recursion limit:  1
> 3..5 or more

This is definitely overkill. For practical purposes, recusion is not a
measure of quality. Most scenes look good enough with recursion 1, many can
benefit from 2 (if one can afford it) and some particular settings may
deserve 3. Higher values usually serve no purpose, apart slowing down
rendering and making the scene looking washed-out.

G.

--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Gilles Tran
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 17:32:51
Message: <3f0ddb83@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> a écrit dans le message de news:
Xns### [at] 204213191226...
> mon### [at] stinet news:3f0dac11@news.povray.org

> I suggest to use in radiosity adc_bailout instead of recursion limit

If I'm not mistaken (and I wish I were), adc_bailout in radiosity is bugged
and simply doesn't work (adc_bailout in reflection works fine).
Until this is fixed, putting adc_bailout 1/2000, adc_bailout 1/256 or
adc_bailout 200 give the same result. Just test it :(

G.

--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Tom York
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 18:00:01
Message: <web.3f0de0ad78b75a86bd7f22250@news.povray.org>
ABX wrote:

>Read interesting tutorial about radiosity in manual ?
>http://www.google.com/search?q=radiosity+tutorial+POV%2DRay

That tutorial is heroic - I've found it extremely useful.


Post a reply to this message

From: Warp
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 19:12:35
Message: <3f0df2e3@news.povray.org>
Gilles Tran <git### [at] wanadoofr> wrote:
> (adc_bailout in reflection works fine).

  Wasn't it so that in reflection/refraction it didn't work? (Could be
both, though.)

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 20:26:05
Message: <Xns93B518AF97CCraf256com@204.213.191.226>
git### [at] wanadoofr news:3f0dd15b@news.povray.org

>> > Recursion limit:  1
>> 3..5 or more
> This is definitely overkill. For practical purposes, recusion is not a
> measure of quality. Most scenes look good enough with recursion 1,
> many can 

I dissagree, I usualy use 4-5. It is very important in some scenes - for 
quick example imagin a maze with a light source far away, but with very 
white walls like rgb .9 diffuse .9

ascii art :

####### ########
<)    # #      #
##### ###  ### #
    #      # # #
    ######## # #
            #   #
            # * # <- light source 
            ##### 
in scene as above with recursion limit 4 image will be 100% black, and with 
recursion ~10 it will be o.k.

using adc_bailout 1/128 will prevent "overkill" :) and it is not broken.



-- 
#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: ran102
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 23:39:50
Message: <3f0e3186@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> git### [at] wanadoofr news:3f0dd15b@news.povray.org
>
> >> > Recursion limit:  1
> >> 3..5 or more
> > This is definitely overkill. For practical purposes, recusion is not a
> > measure of quality. Most scenes look good enough with recursion 1,
> > many can
>
> I dissagree, I usualy use 4-5. It is very important in some scenes - for
> quick example imagin a maze with a light source far away, but with very
> white walls like rgb .9 diffuse .9
>
> ascii art :
>
> ####### ########
> <)    # #      #
> ##### ###  ### #
>     #      # # #
>     ######## # #
>             #   #
>             # * # <- light source
>             #####
> in scene as above with recursion limit 4 image will be 100% black, and
with
> recursion ~10 it will be o.k.
>
> using adc_bailout 1/128 will prevent "overkill" :) and it is not broken.
>
>
>
> --
> #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


    When you use 4 or 5 recursion limit, the time it takes to render must be
VERY long.  When I put it up that high EACH big square of the radiosity map
thing took like 30 seconds to a minute to render.


Post a reply to this message

From: ran102
Subject: Re: Radiosity artifacts
Date: 10 Jul 2003 23:51:42
Message: <3f0e344e@news.povray.org>
To get back to the topic though, anyone else know how I might
reduce artifacts?  I have tried what raf said but I am still having major
problems.  Other scenes that I have rendered using lights as my main sorce
or illumination I have had no problem eliminating them(artifacts), but it
seems that the scenes in where I try to light up the space with mostly
radiosity generated light it is just blotchy or patterns develope on the
wall that won't go away.


Post a reply to this message

From: ABX
Subject: Re: Radiosity artifacts
Date: 11 Jul 2003 01:36:31
Message: <51jsgvcl5h4do5996kh5mgkudfak5d6q98@4ax.com>
On Thu, 10 Jul 2003 20:51:40 -0700, "ran102" <mon### [at] stinet> wrote:
> To get back to the topic though, anyone else know how I might
> reduce artifacts?

Have you tried your scene with predefined settings located in rad_def.inc
standard include file ? http://www.povray.org/documentation/view/287/

ABX


Post a reply to this message

From: Gilles Tran
Subject: Re: Radiosity artifacts
Date: 11 Jul 2003 04:11:07
Message: <3f0e711b$1@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> a écrit dans le message de news:
Xns### [at] 204213191226...
> git### [at] wanadoofr news:3f0dd15b@news.povray.org
> I dissagree, I usualy use 4-5. It is very important in some scenes - for
> quick example imagin a maze with a light source far away, but with very
> white walls like rgb .9 diffuse .9

Of course, you can build a scene so that it requires a high level of
recursivity, just like you can build a scene that requires max_trace_level
256 or any other feature set at its maximum level. But it still doesn't make
sense for scenes that won't use it.

> using adc_bailout 1/128 will prevent "overkill" :) and it is not broken.
You're right (and Warp is right too), it's the adc_bailout in reflection and
refraction that's broken (it's in a p.general thread of 12/3/2003 but I
couldn't find it yesterday).

In any case, I'd certainly be interested in demo scenes that would
demonstrate the use of high recursion levels associated with variable values
of adc_bailout, while keeping reasonable render times and quality.

G.

--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Mael
Subject: Re: Radiosity artifacts
Date: 11 Jul 2003 04:44:57
Message: <3f0e7909$1@news.povray.org>
>          To get back to the topic though, anyone else know how I might
> reduce artifacts?  I have tried what raf said but I am still having major
> problems.  Other scenes that I have rendered using lights as my main sorce
> or illumination I have had no problem eliminating them(artifacts), but it
> seems that the scenes in where I try to light up the space with mostly
> radiosity generated light it is just blotchy or patterns develope on the
> wall that won't go away.

good settings for radiosity is quite scene dependant. If you want you can
post your scene file .pov in povray.binaries.scene-files or
povray.text.scene-files and I'll be happy to do some tests with it

M


Post a reply to this message

From: Gilles Tran
Subject: Re: Radiosity artifacts
Date: 11 Jul 2003 05:18:18
Message: <3f0e80da$1@news.povray.org>
"ran102" <mon### [at] stinet> a écrit dans le message de news:
3f0e344e@news.povray.org...
> it seems that the scenes in where I try to light up the space with mostly
> radiosity generated light it is just blotchy or patterns develope on the
> wall that won't go away.

In addition to what Mael said, there are unfortunately many situations where
it's difficult to avoid artifacts completely. Scenes involving large
expanses of walls are typically problematic...
Some people have tried to change the code to allow more than 1600 samples,
with partial success. The original developer of the radiosity code, Jim
McElhiney, reported recently in p.programming that there were some problems
in it (bad news) but that he was trying to fix them (good news).

G.

--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Radiosity artifacts
Date: 11 Jul 2003 06:19:39
Message: <Xns93B57D320EC5Braf256com@204.213.191.226>
mon### [at] stinet news:3f0e344e@news.povray.org

>    To get back to the topic though, anyone else know how I might
> reduce artifacts?  I have tried what raf said but I am still having major


Email sources to me at pov (at) raf256 -dot- com if You wish. 



-- 
#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: ran102
Subject: Re: Radiosity artifacts
Date: 11 Jul 2003 11:53:45
Message: <3f0edd89@news.povray.org>
Thanks everyone for the good advice.  I'll post the scene file in the
povray.binaries.scene.file.  Thank you.  Also, yes I've read the povray
documentation many times about radiosity.  That is very interesting about
the guy who made the radiosity code.
>
>


Post a reply to this message

From: Patrick Elliott
Subject: Re: Radiosity artifacts
Date: 11 Jul 2003 14:25:23
Message: <MPG.1978ae3a38c90713989832@news.povray.org>
In article <Xns### [at] 204213191226>, spa### [at] raf256com 
says...
> git### [at] wanadoofr news:3f0dd15b@news.povray.org
> 
> >> > Recursion limit:  1
> >> 3..5 or more
> > This is definitely overkill. For practical purposes, recusion is not a
> > measure of quality. Most scenes look good enough with recursion 1,
> > many can 
> 
> I dissagree, I usualy use 4-5. It is very important in some scenes - for 
> quick example imagin a maze with a light source far away, but with very 
> white walls like rgb .9 diffuse .9
> 
> ascii art :
> 
> ####### ########
> <)    # #      #
> ##### ###  ### #
>     #      # # #
>     ######## # #
>             #   #
>             # * # <- light source 
>             ##### 
> in scene as above with recursion limit 4 image will be 100% black, and with 
> recursion ~10 it will be o.k.
> 
> using adc_bailout 1/128 will prevent "overkill" :) and it is not broken.
> 
> 

You sure this isn't 'normal'? There are examples of this sort of maze 
that are built to intentionally minimize refraction and will as a result 
'always' appear black from the camera location in the real world. Adding 
levels of recursion to it to 'make it work right' is in such cases likely 
wrong anyway.

-- 
void main () {
  If Schrödingers_cat is alive  
    call functional_code()
  else
    call crash_windows();
}


Post a reply to this message

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