# Water Types

RenderWorld uses the `water_type` to generate a number of water optical property parameters for internal use. The `water_type` turbidity settings of 1 through 5 actually correspond to Jerlov water types for the optical properties of the open ocean. The mapping is:

`water_type` `1` = Jerlov Type I

`water_type` `2` = Jerlov Type IA

`water_type` `3` = Jerlov Type IB

`water_type` `4` = Jerlov Type II

`water_type` `5` = Jerlov Type III

In addition to these standard settings the user can have total control over the water turbidity by setting`water_type` to a value of 0. In this case the ocean file must be modified to include four more lines at the bottom, as shown in the example below. In these lines the user explicitly provides the absorption, scattering, extinction, diffuse extinction, and reflectivity coefficients in each color band. Although physically these five quantities are dependent on each other, the `water_type` `0` option allows the user to independently control them.

  ``
  `RenderWorld_data_file ocean 5 5`
  `n_points_x` `512` `1`
  `n_points_y` `512` `1`
  `dx` `1.0`
  `dy` `1.0`
  `spectrum_file` `spec1.dat`
  `generate_file` `yes`
  `random_seed` `1451`
  `end`
  `number_aux_oceans` `0`
  `number_disturbances` `0`
  `box_depth 20.`
  `reference_time` `0`
  `surface_type` `round`
  `radius` `6371230`
  `max_distance` `100`
  `double_distance` `70`
  `wind_type` `fixed`
  `wind_direction` `90`
  `wind_velocity` `8`
  `waves yes`
  `water_type` `0`
  `external_exact` `no`
  `glitter` `no`
  `whitecaps` `no`
  `textures no`
  `sunbeams no`
  `exclude_items no`
  `number_of_bands 3`
  `band_ids 1 2 3`
  `index_of_refraction` `1.34 1.34 1.34`
  absorption `0.1 0.05 0.07`
  scattering `0.3 0.1 0.2`
  extinction `0.4 0.15 0.27`
  diffuseK `0.1 0.07 0.15`
  reflectivity `0.04 0.05 0.07`
  `end`

Contents