This is RenderMan 21 Documentation you are viewing. The Rmanwiki home page will redirect you to the current documentation.
A "Droste" Lens
(Custom projection plugin by Rob Pieké)
Users can create glorious depth of field and bokeh effects simply, with a few camera attributes. Complete details of PRMan's Advanced Camera Modeling capabilities are discussed in the application note. Note that these apply to the standard perspective projection and are not available in the other projections.
Depth of Field
PRMan's virtual camera offers fine control over the aperture's shape and behavior. You can specify the number of sides (i.e. blades) for the shape of the aperture, rotate the angle of the aperture, make the sides of the aperture bow inwards or outwards (i.e. change the aperture's roundness), and control the aperture's density to alter the shape of the brightness. In the image at right, the aperture has 6 sides, is rotated 15 degrees, an inward bow (-0.8), and a density value of 1.0. As the image suggests, bokeh is an effect added on top of Depth of Field (i.e.Depth of Field must be enabled).
Additional technical details can be found in the Advanced Camera Modeling application note.
In addition to the typical camera modeling effects, PRMan has the ability to create custom RixProjection plugins. These plugins can be used to characterize camera and lens projections. The distribution includes several built-in plugins, as well. Note that whether or not the depth of field and bokeh settings apply to projection plugins depends on the individual plugin.