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 |
318 |
|
.TP |
319 |
|
.BR UP |
320 |
|
The vertical axis for this scene. |
321 |
< |
A negative axis may be specified with a minus sign (eg. "-Y"). |
321 |
> |
A negative axis may be specified with a minus sign (eg. "\-Y"). |
322 |
|
There is no default value for this variable, although the standard |
323 |
|
views assume Z is up if no other axis is specified. |
324 |
|
.TP |
526 |
|
.I rad |
527 |
|
would use without actually executing anything, we can invoke it thus: |
528 |
|
.IP "" .2i |
529 |
< |
rad -n -e sample.rif |
529 |
> |
rad \-n \-e sample.rif |
530 |
|
.PP |
531 |
|
This will print the variables we have given as well as default |
532 |
|
values |
543 |
|
Different option combinations have specific uses, ie: |
544 |
|
.IP "" .2i |
545 |
|
.br |
546 |
< |
rad -v 0 sample.rif OPT=samp.opt # build octree, put options in "sample.opt" |
546 |
> |
rad \-v 0 sample.rif OPT=samp.opt # build octree, put options in "sample.opt" |
547 |
|
.br |
548 |
< |
rad -n -e -s sample.rif > full.rif # make a complete rad file |
548 |
> |
rad \-n \-e \-s sample.rif > full.rif # make a complete rad file |
549 |
|
.br |
550 |
< |
rad -n sample.rif > script.sh # make a script of commands |
550 |
> |
rad \-n sample.rif > script.sh # make a script of commands |
551 |
|
.br |
552 |
< |
rad -V -v Zl -n -s sample.rif > plan.vf # make a plan view file |
552 |
> |
rad \-V \-v Zl \-n \-s sample.rif > plan.vf # make a plan view file |
553 |
|
.br |
554 |
< |
rad -t sample.rif # update files after minor change to input |
554 |
> |
rad \-t sample.rif # update files after minor change to input |
555 |
|
.br |
556 |
< |
rad -s sample.rif & # execute silently in the background |
556 |
> |
rad \-s sample.rif & # execute silently in the background |
557 |
|
.PP |
558 |
|
If we decide that the default values |
559 |
|
.I rad |
565 |
|
DET= low # default was medium - our space is almost empty |
566 |
|
PEN= True # we want to see soft shadows from our window |
567 |
|
VAR= hi # daylight can result in fairly harsh lighting |
568 |
< |
view= XYa -vv 120 # let's try a fisheye view |
568 |
> |
view= XYa \-vv 120 # let's try a fisheye view |
569 |
|
PICT= tutor # our picture name will be "tutor_XYa.pic" |
570 |
|
.fi |
571 |
|
.PP |
576 |
|
to take a look at our scene interactively with |
577 |
|
.I rvu: |
578 |
|
.IP "" .2i |
579 |
< |
rad -o x11 sample.rif |
579 |
> |
rad \-o x11 sample.rif |
580 |
|
.PP |
581 |
|
.I Rad |
582 |
|
will run |
591 |
|
We could add these to "sample.rif" like so: |
592 |
|
.IP "" .2i |
593 |
|
.nf |
594 |
< |
view= vw1 -vf view1.vp # Our first view |
595 |
< |
view= vw2 -vf view2.vp # Our second view |
594 |
> |
view= vw1 \-vf view1.vp # Our first view |
595 |
> |
view= vw2 \-vf view2.vp # Our second view |
596 |
|
RESOLUTION= 1024 # Let's go for a higher resolution result |
597 |
|
.fi |
598 |
|
.PP |
600 |
|
.I rvu |
601 |
|
again using vw2 instead of the default, we use: |
602 |
|
.IP "" .2i |
603 |
< |
rad -o x11 -v vw2 sample.rif |
603 |
> |
rad \-o x11 \-v vw2 sample.rif |
604 |
|
.PP |
605 |
|
Once we are happy with the variable settings in our file, we can run |
606 |
|
.I rad |