7.2 Media

From [pov:6.8]:
The media statement is used to specify particulate matter suspended in a medium such air or water. It can be used to specify smoke, haze, fog, gas, fire, dust etc.
MEDIA:
    media { [MEDIA_IDENTIFIER] [MEDIA_ITEMS...] }
MEDIA_ITEMS:
    method Number | intervals Number | samples Min, Max |
    confidence Value  | variance Value | ratio Value |
    absorption COLOR | emission COLOR | aa_threshold Value |
    aa_level Value | 
    scattering { 
       Type, COLOR [ eccentricity Value ] [ extinction Value ]
    }  | 
    density { 
       [DENSITY_IDENTIFIER] [PATTERN_TYPE] 
       [DENSITY_MODIFIER...]
    }   | 
    TRANSFORMATIONS
DENSITY_MODIFIER:
    PATTERN_MODIFIER | DENSITY_LIST | COLOR_LIST 
    | color_map { COLOR_MAP_BODY } 
    | colour_map { COLOR_MAP_BODY }
    | density_map { DENSITY_MAP_BODY }

Media default values:

  aa_level     : 4
  aa_threshold : 0.1
  absorption   : <0,0,0>
  confidence   : 0.9
  emission     : <0,0,0>
  intervals    : 10
  method       : 3
  ratio        : 0.9
  samples      : Min 1, Max 1
  variance     : 1/128
  SCATTERING COLOR : <0,0,0>
  eccentricity : 0.0
  extinction   : 1.0



Subsections
Andreas Kriegl 2003-07-23