| 207 |
|
and |
| 208 |
|
.I pfilt, |
| 209 |
|
the exposure setting may be given either as a multiplier or as a |
| 210 |
< |
number of f-stop adjustments (eg. +2 or -1.5). |
| 210 |
> |
number of f\-stop adjustments (eg. +2 or \-1.5). |
| 211 |
|
There is no default value for this variable. |
| 212 |
|
If it is not given, an average level will be computed by |
| 213 |
|
.I pfilt |
| 295 |
|
Also, there are several standard view identifiers defined by |
| 296 |
|
.I rad. |
| 297 |
|
These standard views are specified by strings of the form |
| 298 |
< |
"[Xx]?[Yy]?[Zz]?[vlcah]?". |
| 298 |
> |
"[Xx]?[Yy]?[Zz]?[vlcahs]?". |
| 299 |
|
(That is, an optional upper or lower case X followed by an optional |
| 300 |
|
upper or lower case Y followed by an optional upper or lower case Z |
| 301 |
|
followed by an optional lower case V, L, C, A or H.)\0 |
| 303 |
|
means maximum X, lower case means minimum and so on. |
| 304 |
|
The final letter is the view type, where 'v' is perspective (the |
| 305 |
|
default), 'l' is parallel, 'c' is a cylindrical panorama, |
| 306 |
< |
'a' is angular fisheye, and 'h' is hemispherical fisheye. |
| 306 |
> |
'a' is angular fisheye, 'h' is hemispherical fisheye, and 's' |
| 307 |
> |
is a planisphere (stereographic) fisheye. |
| 308 |
|
A perspective view from maximum X, minimum Y would be "Xy" or "Xyv". |
| 309 |
|
A parallel view from maximum Z would be "Zl". |
| 310 |
|
If "ZONE" is an interior zone, the standard views will |
| 319 |
|
.TP |
| 320 |
|
.BR UP |
| 321 |
|
The vertical axis for this scene. |
| 322 |
< |
A negative axis may be specified with a minus sign (eg. "-Y"). |
| 322 |
> |
A negative axis may be specified with a minus sign (eg. "\-Y"). |
| 323 |
|
There is no default value for this variable, although the standard |
| 324 |
|
views assume Z is up if no other axis is specified. |
| 325 |
|
.TP |
| 527 |
|
.I rad |
| 528 |
|
would use without actually executing anything, we can invoke it thus: |
| 529 |
|
.IP "" .2i |
| 530 |
< |
rad -n -e sample.rif |
| 530 |
> |
rad \-n \-e sample.rif |
| 531 |
|
.PP |
| 532 |
|
This will print the variables we have given as well as default |
| 533 |
|
values |
| 544 |
|
Different option combinations have specific uses, ie: |
| 545 |
|
.IP "" .2i |
| 546 |
|
.br |
| 547 |
< |
rad -v 0 sample.rif OPT=samp.opt # build octree, put options in "sample.opt" |
| 547 |
> |
rad \-v 0 sample.rif OPT=samp.opt # build octree, put options in "sample.opt" |
| 548 |
|
.br |
| 549 |
< |
rad -n -e -s sample.rif > full.rif # make a complete rad file |
| 549 |
> |
rad \-n \-e \-s sample.rif > full.rif # make a complete rad file |
| 550 |
|
.br |
| 551 |
< |
rad -n sample.rif > script.sh # make a script of commands |
| 551 |
> |
rad \-n sample.rif > script.sh # make a script of commands |
| 552 |
|
.br |
| 553 |
< |
rad -V -v Zl -n -s sample.rif > plan.vf # make a plan view file |
| 553 |
> |
rad \-V \-v Zl \-n \-s sample.rif > plan.vf # make a plan view file |
| 554 |
|
.br |
| 555 |
< |
rad -t sample.rif # update files after minor change to input |
| 555 |
> |
rad \-t sample.rif # update files after minor change to input |
| 556 |
|
.br |
| 557 |
< |
rad -s sample.rif & # execute silently in the background |
| 557 |
> |
rad \-s sample.rif & # execute silently in the background |
| 558 |
|
.PP |
| 559 |
|
If we decide that the default values |
| 560 |
|
.I rad |
| 566 |
|
DET= low # default was medium - our space is almost empty |
| 567 |
|
PEN= True # we want to see soft shadows from our window |
| 568 |
|
VAR= hi # daylight can result in fairly harsh lighting |
| 569 |
< |
view= XYa -vv 120 # let's try a fisheye view |
| 569 |
> |
view= XYa \-vv 120 # let's try a fisheye view |
| 570 |
|
PICT= tutor # our picture name will be "tutor_XYa.pic" |
| 571 |
|
.fi |
| 572 |
|
.PP |
| 577 |
|
to take a look at our scene interactively with |
| 578 |
|
.I rvu: |
| 579 |
|
.IP "" .2i |
| 580 |
< |
rad -o x11 sample.rif |
| 580 |
> |
rad \-o x11 sample.rif |
| 581 |
|
.PP |
| 582 |
|
.I Rad |
| 583 |
|
will run |
| 592 |
|
We could add these to "sample.rif" like so: |
| 593 |
|
.IP "" .2i |
| 594 |
|
.nf |
| 595 |
< |
view= vw1 -vf view1.vp # Our first view |
| 596 |
< |
view= vw2 -vf view2.vp # Our second view |
| 595 |
> |
view= vw1 \-vf view1.vp # Our first view |
| 596 |
> |
view= vw2 \-vf view2.vp # Our second view |
| 597 |
|
RESOLUTION= 1024 # Let's go for a higher resolution result |
| 598 |
|
.fi |
| 599 |
|
.PP |
| 601 |
|
.I rvu |
| 602 |
|
again using vw2 instead of the default, we use: |
| 603 |
|
.IP "" .2i |
| 604 |
< |
rad -o x11 -v vw2 sample.rif |
| 604 |
> |
rad \-o x11 \-v vw2 sample.rif |
| 605 |
|
.PP |
| 606 |
|
Once we are happy with the variable settings in our file, we can run |
| 607 |
|
.I rad |