Reference:Rad def.inc

From POV-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.