POV-Ray : Newsgroups : povray.binaries.images : Need Help With Radiosity Server Time
5 Oct 2024 05:15:16 EDT (-0400)
  Need Help With Radiosity (Message 1 to 6 of 6)  
From: Eric Freeman
Subject: Need Help With Radiosity
Date: 25 Jan 1999 20:38:54
Message: <36ad1cae.0@news.povray.org>
Hey All,

The subject sez it all.  I've been working on this scene and somebody here
suggested it could be a good candidate for radiosity.  I've tweaked and
tweaked, trying settings using both common sense and just randomly changing
them (I even read the manual!!!), and can't get good results.  Most images
just look brighter than it would be without radiosity.  A few times I have
gotten patches of blue all over the brick wall, but what I want is just a
blue tint along the bottom of the brick wall.  Following are a couple of
pics and what I hope will be enough info for someone who knows radiosity to
help me.

THE GLOBAL SETTINGS

#if (RadiosityOn = 1)
  global_settings {
    ambient_light 1.3
    radiosity {
      brightness 3.3
      count 200
      nearest_count 8
      gray_threshold 0
      low_error_factor 0.8
      recursion_limit 2
      minimum_reuse .02
      error_bound .28
      distance_maximum 100
    }
  }
#end

THE FLOOR FINISH

#declare FloorFinish = finish {
  ambient 0.30  (when I increase this the floor gets brighter, but I still
don't get a good blue tint on the wall.)
  brilliance 3
  diffuse 0.4
  specular 0.70
  roughness 1/60
  reflection 0.14
}

THE LIGHT SETTINGS

#declare SqY = 16;
#declare TablHite = SqY*2;
#declare LiteTrans = 100;
#declare LiteX = 42;
#declare LiteY = 30;
#declare LiteBrite = White*1.0;
light_source {
  < 0, 0, 0>
  color LiteBrite
  #if (ImageQ = 1)
    area_light <5,0,0>, <5,0,0>, 5, 5
    adaptive 1
    jitter
    fade_distance LiteTrans+71
    fade_power 3
  #end
  translate <0,0,-LiteTrans>
  rotate x*LiteX
  rotate y*LiteY
  translate <0,TablHite,0>
}

The brick wall is on the x-y plane where z = 70.

The bookcase is on the y-z plane where x = 160.

I hope this is enough info.

Thanks,

Eric

--
"Truth derives its strength not so much from itself
as from the brilliant contrast it makes with what is
only apparently true." --- Emanual Lasker
--------------------------------
http://www.geocities.com/SiliconValley/Heights/2354/


Post a reply to this message


Attachments:
Download 'rad_test.jpg' (56 KB)

Preview of image 'rad_test.jpg'
rad_test.jpg


 

From: Mike
Subject: Re: Need Help With Radiosity
Date: 26 Jan 1999 00:49:00
Message: <36AD5689.302D0DDE@aol.com>
Try raising the ambient_light to 3 or 4 and make sure you have .2 or .3
ambient in the wall statement too.  Not only does the object reflecting
light need it, but so does the one recieving it.

Also try placing a very ambient sphere around your light and use
no_shadow with it.

-Mike

Eric Freeman wrote:
> 
> Hey All,
> 
> The subject sez it all.  I've been working on this scene and somebody here
> suggested it could be a good candidate for radiosity.  I've tweaked and
> tweaked, trying settings using both common sense and just randomly changing
> them (I even read the manual!!!), and can't get good results.  Most images
> just look brighter than it would be without radiosity.  A few times I have
> gotten patches of blue all over the brick wall, but what I want is just a
> blue tint along the bottom of the brick wall.  Following are a couple of
> pics and what I hope will be enough info for someone who knows radiosity to
> help me.
> 
> THE GLOBAL SETTINGS
> 
> #if (RadiosityOn = 1)
>   global_settings {
>     ambient_light 1.3
>     radiosity {
>       brightness 3.3
>       count 200
>       nearest_count 8
>       gray_threshold 0
>       low_error_factor 0.8
>       recursion_limit 2
>       minimum_reuse .02
>       error_bound .28
>       distance_maximum 100
>     }
>   }
> #end
> 
> THE FLOOR FINISH
> 
> #declare FloorFinish = finish {
>   ambient 0.30  (when I increase this the floor gets brighter, but I still
> don't get a good blue tint on the wall.)
>   brilliance 3
>   diffuse 0.4
>   specular 0.70
>   roughness 1/60
>   reflection 0.14
> }
> 
> THE LIGHT SETTINGS
> 
> #declare SqY = 16;
> #declare TablHite = SqY*2;
> #declare LiteTrans = 100;
> #declare LiteX = 42;
> #declare LiteY = 30;
> #declare LiteBrite = White*1.0;
> light_source {
>   < 0, 0, 0>
>   color LiteBrite
>   #if (ImageQ = 1)
>     area_light <5,0,0>, <5,0,0>, 5, 5
>     adaptive 1
>     jitter
>     fade_distance LiteTrans+71
>     fade_power 3
>   #end
>   translate <0,0,-LiteTrans>
>   rotate x*LiteX
>   rotate y*LiteY
>   translate <0,TablHite,0>
> }
> 
> The brick wall is on the x-y plane where z = 70.
> 
> The bookcase is on the y-z plane where x = 160.
> 
> I hope this is enough info.
> 
> Thanks,
> 
> Eric
> 
> --
> "Truth derives its strength not so much from itself
> as from the brilliant contrast it makes with what is
> only apparently true." --- Emanual Lasker
> --------------------------------
> http://www.geocities.com/SiliconValley/Heights/2354/
> 
>  [Image]


Post a reply to this message

From: Bob Hughes
Subject: Re: Need Help With Radiosity
Date: 26 Jan 1999 05:26:34
Message: <36AD984E.FA0B9151@aol.com>
Like Mike said increasing the ambient light.
But also I notice you have gray_threshold 0, this means don't do
anything. A gray_threshold 0.1 would be better than this. And the
minimum_reuse is greater than default of 0.15, I noticed that inside
corners tend to look vacant of color if more than that. Less could help
add in color too then.
distant_maximum is also tricky, I've used very small distances instead
of larger ones to increase the saturation of close proximities. With it
large it tends to require more 'count', etc. to compensate and fill in.

> what I want is just a
> blue tint along the bottom of the brick wall.  Following are a couple of
> pics and what I hope will be enough info for someone who knows radiosity to
> help me.
> 
> THE GLOBAL SETTINGS
> 
> #if (RadiosityOn = 1)
>   global_settings {
>     ambient_light 1.3
>     radiosity {
>       brightness 3.3
>       count 200
>       nearest_count 8
>       gray_threshold 0
>       low_error_factor 0.8
>       recursion_limit 2
>       minimum_reuse .02
>       error_bound .28
>       distance_maximum 100
>     }
>   }
> #end
> 
> THE FLOOR FINISH
> 
> #declare FloorFinish = finish {
>   ambient 0.30  (when I increase this the floor gets brighter, but I still
> don't get a good blue tint on the wall.)

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
=Bob


Post a reply to this message

From: Eric Freeman
Subject: Re: Need Help With Radiosity
Date: 26 Jan 1999 08:19:12
Message: <36adc0d0.0@news.povray.org>
Bob Hughes wrote in message <36AD984E.FA0B9151@aol.com>...
>Like Mike said increasing the ambient light.
>But also I notice you have gray_threshold 0, this means don't do
>anything. A gray_threshold 0.1 would be better than this.

Thanks for the tips (you too, Mike!!!).

As I read the docs (but then again, I may be wrong) the gray_threshold makes
the radiosity effect grayer, and setting it to 0 just allows the radiosity
effect to add the most color to the scene  (ie., it turns off the graying
effect).  Or does it turn off radiosity entirely???

>And the
>minimum_reuse is greater than default of 0.15, I noticed that inside
>corners tend to look vacant of color if more than that. Less could help
>add in color too then.

Actually, it's 0.02, but I'll lower it some more.

>distant_maximum is also tricky, I've used very small distances instead
>of larger ones to increase the saturation of close proximities. With it
>large it tends to require more 'count', etc. to compensate and fill in.

I've tried very small and large numbers here, but will have to start my
experiments all over.  As usual when I work on a problem for a week or so,
give up, and post a question here, I come up with a (partial, in this case)
solution myself within a few minutes.  My scene had no ceiling and the
background was set to 50% gray.  Apparently this allowed tons of radiosity
coming from the background to flood the scene, obscuring any radiosity
effects from the scene itself.  A gray ceiling with a low (0.1) ambient
setting corrected this.  Time to start tweaking again!!!

Eric

--
"Truth derives its strength not so much from itself
as from the brilliant contrast it makes with what is
only apparently true." --- Emanual Lasker
--------------------------------
http://www.geocities.com/SiliconValley/Heights/2354/


Post a reply to this message

From: Bob Hughes
Subject: Re: Need Help With Radiosity
Date: 27 Jan 1999 02:59:44
Message: <36AEC757.A42157A@aol.com>
Ah ha! No wonder... yep, you can't have a devoid area (totally black is
pretty bad) or it too will be included in the radiosity calculation.
Sorry about the typo, I meant 0.015 not 0.15 was minimum_reuse default,
thanks for catching that.
You may also have to use a higher assumed_gamma together with very high
ambience. That way you get a more luminous radiosity while keeping the
overall brightness down. Wish the 'brightness' keyword did this.


Eric Freeman wrote:
> 
>  My scene had no ceiling and the
> background was set to 50% gray.  Apparently this allowed tons of radiosity
> coming from the background to flood the scene, obscuring any radiosity
> effects from the scene itself.  A gray ceiling with a low (0.1) ambient
> setting corrected this.  Time to start tweaking again!!!
> 
> Eric
> 
> --
> "Truth derives its strength not so much from itself
> as from the brilliant contrast it makes with what is
> only apparently true." --- Emanual Lasker
> --------------------------------
> http://www.geocities.com/SiliconValley/Heights/2354/

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
=Bob


Post a reply to this message

From: Eric Freeman
Subject: Re: Need Help With Radiosity
Date: 27 Jan 1999 07:57:55
Message: <36af0d53.0@news.povray.org>
Bob Hughes wrote in message <36A### [at] aolcom>...
>You may also have to use a higher assumed_gamma together with very high
>ambience. That way you get a more luminous radiosity while keeping the
>overall brightness down. Wish the 'brightness' keyword did this.

Thanks for this tip, too.  I find that if I set the ambient_light value to
more than 1.5 the whole scene gets too bright.  Maybe adjusting
assumed_gamma will help this.

Eric

--
"Truth derives its strength not so much from itself
as from the brilliant contrast it makes with what is
only apparently true." --- Emanual Lasker
--------------------------------
http://www.geocities.com/SiliconValley/Heights/2354/


Post a reply to this message

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