POV-Ray : Newsgroups : povray.binaries.images : Strange light behaviour Server Time
8 Aug 2024 10:27:44 EDT (-0400)
  Strange light behaviour (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Alain
Subject: Re: Strange light behaviour
Date: 6 Sep 2005 19:37:28
Message: <431e2838$1@news.povray.org>
Rick Measham nous apporta ses lumieres en ce 2005-09-06 00:22:
> I'm trying to get radiosity working right (as per post in .General) and 
> have included my radiosity settings below.
> 
> However the real reason for this post is the strange lighting effect 
> that is showing around the architraves in the room shown below.
> 
> At first I wondered if there was a tiny gap between the top of the 
> architrave and the wall, however there's not. I've made sure the overlap.
> 
> What else could be causing this weirdness?
> 
> I can provide the full source upon request, but there's a lot as the 
> whole house has been built and is getting furnished :)
> 
>         radiosity {
>             pretrace_start 0.08
>             pretrace_end   0.04
>             count 85
> 
>             nearest_count 5
>             error_bound 1.8
>             recursion_limit 12
> 
>             low_error_factor 0.5
>             gray_threshold 0.0
>             minimum_reuse 0.015
>             brightness 1.2
> 
>             adc_bailout 0.01/2
>         }
> 
> ------------------------------------------------------------------------
> 
You may have hiden coincident surfaces. If that's the case, the sampling at the corner
can hit 
something outside the room. It looks like the reverse of the dark spots problem.
Some things that MAY help:
  - moving the camera a tiny amount up or down
  - varying the pretrace_start value and setting pretrace_end to the start value/a
power of 2
for that I use:
#declare PT = 0.087; // tweak this value, larger or smaler
pretrace_start PT pretrace_end PT/pow(2,2)
That helped me get rid of some artefacts before.

Each will change where the samples are taken relative to the corner.
You may also change your room to a diference of an outside box and an iner box whose
sizes differ by 
the thickness of your walls. This may increase the rendering time.

Alain


Post a reply to this message

From: Rick Measham
Subject: Re: Strange light behaviour
Date: 6 Sep 2005 21:27:01
Message: <431e41e5@news.povray.org>
Mike Raiford wrote:
> Another idea is a 2-pass method:
> 
> Render 1 pass with a large area of high ambient filling the window (just 
> outside the window (save the radiosity data with save_file). Then render 
> the second pass as-is, but have the radiosity block replaced with just a 
> load_file and always_sample off statements.
> 

Bingo!

This has worked very well Mike (I'm not yet happy with the settings, but 
I can see that this will work just fine!)

Cheers!
Rick Measham


Post a reply to this message


Attachments:
Download 'house.jpg' (143 KB)

Preview of image 'house.jpg'
house.jpg


 

From: Rick Measham
Subject: Re: Strange light behaviour
Date: 7 Sep 2005 03:26:13
Message: <431e9615$1@news.povray.org>
Rick Measham wrote:
> This has worked very well Mike (I'm not yet happy with the settings, but 
> I can see that this will work just fine!)

Is there any way to short-cut the operation? I've noticed that the 
radiosity data file seems to be saved by the time the actual render 
starts, so is there any way to automatically stop at that point? Or is 
it a Ctrl-C thing?

Cheers!
Rick Measham


Post a reply to this message

From: Rick Measham
Subject: Re: Strange light behaviour
Date: 7 Sep 2005 03:30:57
Message: <431e9731@news.povray.org>
Rick Measham wrote:
> Is there any way to short-cut the operation? I've noticed that the 
> radiosity data file seems to be saved by the time the actual render 
> starts...

Forget that .. I think I was too hasty :)

I've set it up to create the radiosity on frame_number = 0 and do the 
second render on frame_number = 1 .. now I can just turn it on and off 
from the command line :)

Cheers!
Rick Measham


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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