# Boxes

Boxes are simple ractangular boxes which emit their own light and reflect direct sunlight. They can also be partially transparent. The appropriate lines for the box object in the scene file are

  `number_of_times 1`
  `time x y z theta phi chi`
  `0 500 0 30 90 180 180`
  `name:` `boxabc`
  `type:` `box`
  `input:` `box.dat`
  `priority:` `3`

And the contents of the `box.dat` file are:

  `RenderWorld_data_file box 1 1`
  length_x `1`
  length_y `1`
  length_z `1`
  Number_of_bands 3
  Band_ID 1 2 3
  Radiance `20 0 0`
  Reflectance `.1 .2 .3`
  Transmission`0 0 0`
  end

The lengths are the dimensions of the box in meters, `Radiance` is the intrinsic light emitted by the box, `Reflectance` is its diffuse reflectivity of sunlight (other lights and ambient skylight are not reflected), and `Transmission` controls the transparency of the box.

Contents