| 1 |
< |
.\" RCSid "$Id" |
| 1 |
> |
.\" RCSid "$Id$" |
| 2 |
|
.TH PDFBLUR 1 1/24/96 RADIANCE |
| 3 |
|
.SH NAME |
| 4 |
|
pdfblur - generate views for depth-of-field blurring |
| 5 |
|
.SH SYNOPSIS |
| 6 |
|
.B pdfblur |
| 7 |
|
.B aperture |
| 8 |
– |
.B distance |
| 8 |
|
.B nsamp |
| 9 |
|
.B viewfile |
| 10 |
|
.SH DESCRIPTION |
| 13 |
|
.I viewfile |
| 14 |
|
and computes |
| 15 |
|
.I nsamp |
| 16 |
< |
views based on a focus distance of |
| 18 |
< |
.I distance |
| 19 |
< |
and an aperture diameter of |
| 16 |
> |
views based on an aperture diameter of |
| 17 |
|
.I aperture |
| 18 |
< |
(both in world coordinate units). |
| 18 |
> |
(in world coordinate units) and a focal distance equal to the length of the |
| 19 |
> |
.I \-vd |
| 20 |
> |
view direction vector. |
| 21 |
|
When rendered and averaged together, these views will result in |
| 22 |
|
a picture with the specified depth of field. |
| 23 |
|
Either |
| 86 |
|
.I nsamp |
| 87 |
|
setting somewhere between 5 and 10 to be adequate for most images. |
| 88 |
|
Relatively larger values are appropriate for larger aperatures. |
| 89 |
+ |
.PP |
| 90 |
+ |
The |
| 91 |
+ |
.I \-pd |
| 92 |
+ |
option of |
| 93 |
+ |
.I rpict |
| 94 |
+ |
may be used instead or in combination with or instead of |
| 95 |
+ |
.I pdfblur |
| 96 |
+ |
to blur depth-of-field. |
| 97 |
+ |
If used in combination, |
| 98 |
+ |
it is best to set the |
| 99 |
+ |
.I \-pd |
| 100 |
+ |
option to the overall |
| 101 |
+ |
.I aperture |
| 102 |
+ |
divided by |
| 103 |
+ |
.I nsamp |
| 104 |
+ |
to minimize ghosting in the output. |
| 105 |
+ |
.PP |
| 106 |
+ |
To simulate a particular camera's aperture, divide the focal length of |
| 107 |
+ |
the lens by the f-number, then convert to the corresponding |
| 108 |
+ |
world coordinate units. |
| 109 |
+ |
For example, if you wish to simulate a 50mm lens at f/2.0 in |
| 110 |
+ |
a scene modeled in meters, then you divide 50mm by 2.0 to get 25mm, |
| 111 |
+ |
which corresponds to an effective aperture of 0.025 meters. |
| 112 |
|
.SH EXAMPLES |
| 113 |
|
To use |
| 114 |
|
.I pinterp |
| 134 |
|
.SH BUGS |
| 135 |
|
This program really only works with perspective views. |
| 136 |
|
.SH "SEE ALSO" |
| 137 |
< |
pcomb(1), pinterp(1), pmblur(1), rcalc(1), rpict(1), vwright(1) |
| 137 |
> |
pcomb(1), pinterp(1), pmblur(1), pmdblur(1), rcalc(1), rpict(1), vwright(1) |