POV-Ray : Newsgroups : povray.newusers : Radiosity example : Re: Radiosity example Server Time
19 May 2024 20:31:45 EDT (-0400)
  Re: Radiosity example  
From: Thomas de Groot
Date: 6 Nov 2012 03:14:26
Message: <5098c6e2$1@news.povray.org>
On 6-11-2012 6:58, taftj wrote:
> Could somebody kindly post complete code for a very simple scene that uses
> radiosity?  Maybe a white plane with a white box and nothing else.  No matter
> what I try, I get either blackness or no effect.  Something's not clicking I
> guess :(
>
> Thank you!
>
>

Take one of the basic scenes from the Insert Menu, and add the following 
block (using version 3.7 btw):

global_settings {
   adc_bailout 0.003922
   assumed_gamma 1.0
   max_trace_level 10
   number_of_waves 10
   noise_generator 2
   radiosity {
     brightness       1.0
     count            100, 500
     error_bound      1.8
     gray_threshold   0.0
     low_error_factor 0.5
     minimum_reuse    0.015
     nearest_count    10, 5
     recursion_limit  2
     adc_bailout      0.01
     media            off
     normal           off
     always_sample    off
     pretrace_start   0.08
     pretrace_end     0.004
   }
}

Thomas


Post a reply to this message

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