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
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
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
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