Previous
IMAGERs
dof
This imager simulates the optical depth of field of real cameras.
- string "depth", float depth
Specify the depth at which the image is in focus.
If the value is negative, the imager will use an autofocus
mechanism.
The default value is -1.0.
- string "radius", float radius
Specify the smoothing radius, as a fraction of the image size,
at the distance specified with "depth" from the actual focal
point.
The default value is 0.01.
- string "mask", int mask
Specify the maximum size of the smoothing mask, in pixels.
This bound is necessary to speed up calculations.
The default value is 20.
film
This imager simulates the optical film of real cameras,
with a better exposure function (as suggested by
Matt FaircloughMatt Fairclough,
the author of
Terragen!)
and graininess.
- string "grain", float grain
Specify the graininess of the film.
The default value is 0.1.
- string "imager", imager imager
Specify an imager that is used as a filter before applying the
film effect.
glitter
This imager produces glittering effects around glittering surfaces.
- string "radius", float radius
Specify the radius of glitters.
Its default is 0.1.
- string "intensity", float intensity
Specify the intensity of the glitters.
Its default is 0.005.
- string "threshold", float threshold
Specify the threshold above which a color produces glittering.
Its default is 0.5.
halo
This imager produces haloing effects around the visible lights.
It simulates the real behaviour of camera lenses.
- string "kr", float kr
Specify the reflection factor of the camera lense.
Its default is 0.02.
- string "km", float km
Specify the smoothness factor of the camera lense.
The greater this value, the greater the halos.
Its default is 0.01.
- string "shininess", float shininess
Specify the shininess factor of the camera lense.
The greater this value, the stronger the halos.
Its default is 0.0.
saver
This imager saves the output images in the Lightflow Texture
Format (.lft).
- string "file", string filename
Specify the name of the output file.
- string "imager", imager imager
Specify an imager that is used as a filter before saving the image.
tga-saver
This imager saves the output images in the 24-bit TARGA format (.tga).
- string "file", string filename
Specify the name of the output file.
- string "imager", imager imager
Specify an imager that is used as a filter before saving the image.
- string "alpha", int switch
Specify whether to write the alpha channel.
- string "depth", int switch, string filename
Specify whether to write the depth channel.
The filename parameter is required only if switch is 1.