Previous
CAMERAs
pinhole
This type of camera represents the common pinhole camera that
is used in photography.
- string "eye", vector3 eye
Specify the position of the camera in world space
coordinates.
- string "aim", vector3 aim
Specify the point the camera is looking at, in world space
coordinates.
- string "up", vector3 up
Specify the upper direction, that is to say the orientation of
the camera, in world space coordinates.
- string "fov", float fov | (string type, float fov)
Specify the field of view, expressed in radians.
By default this parameter sets the vertical field of view, but
you may set the horizontal one by setting type to be "horizontal".
The default value is 2.0 * atan( 0.5 ).
- string "distance", float distance
Specify the distance from the eye to the image plane.
- string "aspect", float aspect
Specify the width / height ratio of the pixels.
The default value is 1.0.
- string "aperture", float aperture
Specify the aperture of the shutter.
This parameter controls the depth of field, because a larger
shutter produces more blurring. By default the aperture is
0.0, producing a perfectly stable image.
- string "aa-samples", int samples1, int samples2
Specify the number of per-pixel anti-aliasing samples.
The first number is the square root of the samples that are
taken on every pixel, the second is the supersampling factor.
These parameters have a strong influence on rendering times,
so do not exceed with high values.
By default 2 and 4 are used.
- string "aa-threshold", float threshold
Specify the anti-aliasing threshold. If a pixel contains a variance
greater than threshold, supersampling is performed.
The default value is 0.07.
- string "aa-jitter", float jitter
Specify the amount of jittering used to randomize antialiasing
samples.
The default value is 0.5.
- string "clipping", int auto, float near, float far
Specify the near and far clipping planes of the viewing frustum.
If auto is 1, the clipping planes will be extracted
automatically from the scene data.