Lens effects
Views
Personal tools
From LuxRender Wiki
LuxRender supports several post-processing effects that simulate camera artifacts and imperfections. With computer-generated imagery, we tend to perceive a computer generated image as being fake if it looks perfect, or even like something our eyes would see, rather than the more distorted images cameras take.
LuxRender has four built in lens effects: bloom, vignetting, chromatic aberration and glare. The bloom and glare are performed on more “raw” data than would be saved in most image file formats, improving the quality of the effect.
Some lens effects take a long time to calculate; if those effects are applied before the rendering is finished, the render speed will drop considerably. Therefore it is recommended to only apply the effects when you are otherwise satisfied with the rendering.
Contents |
Bloom
Bloom simulates the fuzzy fringe of light that surrounds bright objects in photos, which makes bright spots in the image appear even brighter. It is a fairly simple filter, consisting of just two options: Amount and radius. Amount controls the brightness of the bloom effect, while radius controls how far from the light source the bloom extends.
To add a bloom effect, select a radius and click the “computer layer”. Note that computing the effect may take some time. Once the layer is calculated, you can adjust the intensity. Changes to the “amount” slider will update in near-real time, but if you change radius, you must re-compute the layer.
Note that in most cases, bloom is best used subtly. Too much bloom often gives a bizarre, glowing, foggy look that if often used to simulate the vision of someone who is dazed or suffering from impaired vision.
Vignetting
Vignetting is used to darken or lighten a “ring” around the outside edge of the image. In real life, this often occurs as an undesired imperfection in lens design. Vignetting can also draw focus into the center of the image and is therefore sometimes applied intentionally.
LuxRender’s vignette effect is calculated on the visible image data. It updates in real time, or near real time on higher resolutions. To use it, simply enable it with the checkbox, then use the slider to adjust the effect. 0 is no vignetting, +1 is a very dark vignette, and -1 is a very light vignette.
Chromatic Aberration
Chromatic Aberration is a lens distortion that is caused when a camera lens focuses different wavelengths of light onto different parts of the sensor. It results in a blurring of objects, and colored edges. This image provides a good example of chromatic aberration in a real life photo: http://commons.wikimedia.org/wiki/File:Chromatic_aberration_(comparison).jpg
Like vignetting, chromatic aberration works on the visible data; you simply enable it and select an amount. Be careful, as a little goes a long way and this is generally not an attractive effect! It is for “dirtying-up” your render for the sake of realism.
Glare
LuxRender's glare effect adds “stars” to bright objects, which in a real camera is caused by reflection on the lens diaphragm. This effect works on HDR data, and requires you to compute an effect layer first. This usually takes a long time. The effect has an assortment of controls:
Amount - intensity of stars
Blades - number of spikes each star has
Radius - the size of each star
Threshold - the minimum brightness a pixel must have to be used for the effect. Lowering this will increase processing time, and setting it much lower than .85 or .9 often ends up looking pretty silly anyhow.
As with bloom, changing any settings other than amount will require you to recompute the layer, so set them first, then hit compute.







