Return to index

NAME

albedo - specify the albedo of a participating medium

SYNOPSIS

albedo omega

DESCRIPTION

Specifies the albedo (ratio between the scattering and the extinction coefficients) of a participating medium. The default value is 1.

EXAMPLE

# Create new named material for participating media context
mpm matPsicoCloud =
  # Set a certain albedo
  c
    # Spectrum measured in 10 nm increments from 400 to 700 nm
    cspec 400 700 35.29 44.87 47.25 47.03 46.87 47.00 47.09 \
          47.15 46.80 46.17 46.26 48.74 51.08 51.31 51.10 \
          51.11 50.52 50.36 51.72 53.61 53.95 52.08 49.49 \
          48.30 48.75 49.99 51.35 52.75 54.44 56.34 58.00  
  albedo 0.97
  # Set neutral color
  c
  # Set extinction coefficient
  kt .04
  # Modulate with a file of our own
  ktgridfile myGridFileApart

SEE ALSO

mpm, em, kt, ktgridfile, albedogridfile