POV-Ray : Newsgroups : povray.general : Radiosity as toon-shading approximator? : Radiosity as toon-shading approximator? Server Time
31 Jul 2024 12:19:08 EDT (-0400)
  Radiosity as toon-shading approximator?  
From: Greg M  Johnson
Date: 19 Mar 2007 21:07:24
Message: <45ff41db@news.povray.org>
I was dusting off old files and I found one file where I achieved a sort of
toony effect with radiosity.  In order to save me a bunch of
experimentation time  ;)   would anyone have an idea which one of these
settings would have been the key to getting a quasi-toon effect?


global_settings {
  assumed_gamma .92
radiosity {
    pretrace_start 0.08           // start pretrace at this size
    pretrace_end   0.04           // end pretrace at this size
    count 35                      // higher -> higher quality (1..1600) [35] 
    nearest_count 5               // higher -> higher quality (1..10) [5]
    error_bound 1.8               // higher -> smoother, less accurate [1.8]
    recursion_limit 3             // how much interreflections are
                                  //    calculated (1..5+) [3] 
    low_error_factor .5           // reduce error_bound during last
                                //  pretrace step
    gray_threshold 0.0            // increase for weakening colors (0..1) 
    minimum_reuse 0.015           // reuse of old radiosity samples [ 0.015]
    brightness 2                  // brightness of radiosity effects (0..1)
     //ambient 1
    adc_bailout 0.01/2
    //normal on                   // take surface normals into account [off]
    //media on                    // take media into account [off] 
    //save_file "file_name"       // save radiosity data
    //load_file "file_name"       // load saved radiosity data
    //always_sample off           // turn sampling in final trace off [on] 
    //max_sample 1.0              // maximum brightness of samples
  }}


Post a reply to this message

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