COMPAMB(1)                                                          COMPAMB(1)



NNAAMMEE
       compamb - compute good ambient value for a rad input file

SSYYNNOOPPSSIISS
       ccoommppaammbb [ --cc ][ --ee ] rraadd__iinnppuutt__ffiillee

DDEESSCCRRIIPPTTIIOONN
       _C_o_m_p_a_m_b computes a good ambient value for the specified _r_a_d_(_1_) variable
       file and appends it to the file as a "render= -av" option.  If  the  _-_c
       option  is  specified,  then  _c_o_m_p_a_m_b includes color information in the
       computed ambient value, rather than estimating a grey  value  to  avoid
       rendering  color  shifts.   If the _-_e option is specified, then _c_o_m_p_a_m_b
       also computes a good exposure value for this scene, and appends  it  to
       the _r_a_d file as well.

       _C_o_m_p_a_m_b  is  a shell script that makes calls to other RADIANCE programs
       and utilities to do the actual work.  A substantial amount of time  may
       be  required  to  complete this script, since _c_o_m_p_a_m_b calls _r_p_i_c_t_(_1_) to
       render low resolution frames for each view in  the  _r_a_d  file,  setting
       "QUALITY=High" to compute interreflections.  The resulting ambient file
       is thrown away, since it would disagree with the new -av  setting  used
       for the final renderings.  This method is preferable to setting the _-_a_w
       option of _r_p_i_c_t_, which frequently results in splotchy artifacts.

AAUUTTHHOORR
       Greg Ward Larson

SSEEEE AALLSSOO
       lookamb(1), rad(1), rpict(1)



RADIANCE                            1/23/98                         COMPAMB(1)
