Previous
CAMERAs
pinhole
This type of camera represents the common pinhole camera which
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 "aspect", float aspect
Specify the aspect ratio of the image, by default it is set to
the ratio between width and height.
- 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 5 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 is 0.1.