Reference:Rad def.inc

From POV-Wiki
Revision as of 19:08, 15 March 2012 by Jholsenback (talk | contribs) (1 revision: Reference Migration Initial Load)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This file defines a macro that sets some common radiosity settings. These settings are extremely general and are intended for ease of use, and do not necessarily give the best results.

Usage:

#include "rad_def.inc"
global_settings {
  ...
  radiosity {
    Rad_Settings(Setting, Normal, Media)
    }
  }

Parameters:

  • Setting = Quality setting. Use one of the predefined constants:
    • Radiosity_Default
    • Radiosity_Debug
    • Radiosity_Fast
    • Radiosity_Normal
    • Radiosity_2Bounce
    • Radiosity_Final
    • Radiosity_OutdoorLQ
    • Radiosity_OutdoorHQ
    • Radiosity_OutdoorLight
    • Radiosity_IndoorLQ
    • Radiosity_IndoorHQ
  • Normal = Boolean value, whether or not to use surface normal modifiers for radiosity samples.
  • Media = Boolean value, whether or not to calculate media for radiosity samples.