# Excluding Elements

You may wish to exclude certain elements from the primary image because you are going to output them as seperate mattes . You can exclude elements from the image by setting the `exclude_items` entry to `yes`. You then add two lines to the ascii file. The first is `nItems`, which is the number of items to exclude. On the following line you list the names of the items to exclude. Allowable items are `glitter`, `textures`, and `whitecaps`. A sample ocean file that excludes glitter and textures is

`RenderWorld_data_file ocean 5 5`
`n_points_x 512 1`
`n_points_y 512 1`
`dx 0.257`
`dy 0.257`
`spectrum_file spec1.dat`
`gen_file yes`
`seed 91405`
`end`
`number_aux_oceans 0`
`number_disturbances 0`
`box_depth 20.`
`reference_time 0`
`surface_type round`
`radius 6.37123e+06`
`max_dist 9999`
`double_dist 1.`
`wind_type fixed`
`wind_dir 180`
`wind_vel 5`
`spectrum yes`
`water_type 3`
`external_exact no`
`glitter yes`
`whitecaps no`
`texture no`
`sunbeams no`
`exclude_items yes`
`nItems 2`
`glitter textures`
`number_of_bands 3`
`band_ids 1 2 3`
`index_of_refraction 1.34 1.34 1.34`
`end`

Contents