POV-Ray : Newsgroups : povray.advanced-users : Second radiosity pass takes much longer than the first : Re: Second radiosity pass takes much longer than the first Server Time
3 Jul 2024 05:46:46 EDT (-0400)
  Re: Second radiosity pass takes much longer than the first  
From: Jaime Vives Piqueres
Date: 10 Dec 2008 06:36:24
Message: <493fa9b8@news.povray.org>

> I'm using the following code:
> 
>    radiosity
>    {  recursion_limit 1
>       brightness 0.5
>       count 100
>       #if (Rad < 2)        //pass 1
>          error_bound 0.5
>          pretrace_end 0.01
>          save_file
>       #else                //pass 2
>          pretrace_start 1
>          pretrace_end 1
>          always_sample no
>          load_file
>       #end
>          "unfinished.rad"
>    }

It's the error_bound: it has to be the same for max speed. Try that:

     radiosity
     {  recursion_limit 1
        brightness 0.5
        error_bound 0.5
        #if (Rad < 2)        //pass 1
           count 100
           pretrace_end 0.01
           save_file
        #else                //pass 2
           count 1
           pretrace_start 1
           pretrace_end 1
           always_sample no
           load_file
        #end
           "unfinished.rad"
     }

The "count 1" might give some splotches, but it's good for tests: use the 
same value as the first pass if you want more accurate results.

Also, remember to increase default max_trace_level: I found the default of 5 
can cause some artifacts with radiosity if there are reflective surfaces 
(mostly on the corners between reflective surfaces).

Regards,

--
Jaime


Post a reply to this message

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