| 7 | 
  | 
[ | 
| 8 | 
  | 
.B "\-q {Hi|Med|Lo}" | 
| 9 | 
  | 
][ | 
| 10 | 
+ | 
.B \-t | 
| 11 | 
+ | 
| | 
| 12 | 
  | 
rad options | 
| 13 | 
  | 
] | 
| 14 | 
  | 
input .. | 
| 16 | 
  | 
.SH DESCRIPTION | 
| 17 | 
  | 
.I Bsdfview | 
| 18 | 
  | 
renders a BSDF description interactively. | 
| 19 | 
< | 
This is a script that creates a rad input file (RIF)  | 
| 18 | 
< | 
then calls | 
| 19 | 
> | 
This is a script that creates a | 
| 20 | 
  | 
.I rad(1) | 
| 21 | 
< | 
to make an octree via | 
| 21 | 
> | 
input file (RIF), | 
| 22 | 
> | 
which builds an octree via | 
| 23 | 
  | 
.I bsdf2rad(1), | 
| 24 | 
< | 
then views the scene interactively. | 
| 24 | 
> | 
then renders the scene interactively or calls the | 
| 25 | 
> | 
.I trad(1) | 
| 26 | 
> | 
graphical user interface if the | 
| 27 | 
> | 
.I \-t | 
| 28 | 
> | 
option is given. | 
| 29 | 
  | 
.PP | 
| 30 | 
  | 
The input is either a single XML file, such as might be produced by | 
| 31 | 
  | 
.I genBSDF(1), | 
| 36 | 
  | 
might be produced by | 
| 37 | 
  | 
pabopto2bsdf(1). | 
| 38 | 
  | 
.PP | 
| 39 | 
< | 
A rad input file will be produced, whose name matches the root of | 
| 39 | 
> | 
A | 
| 40 | 
> | 
.I rad | 
| 41 | 
> | 
input file will be produced, whose name matches the root of | 
| 42 | 
  | 
the first input file but with any leading path removed (i.e., in | 
| 43 | 
  | 
the current directory). | 
| 44 | 
  | 
This RIF may be reused for subsequent viewing and rendering via | 
| 81 | 
  | 
Additionally, all the standard views that | 
| 82 | 
  | 
.I rvu | 
| 83 | 
  | 
defines will be available (e.g., "xZ", "zl", etc.). | 
| 84 | 
+ | 
.PP | 
| 85 | 
+ | 
Since a | 
| 86 | 
+ | 
.I rad | 
| 87 | 
+ | 
input file is created by the script, it may be used | 
| 88 | 
+ | 
in subsequent runs as long as the temporary files remain. | 
| 89 | 
+ | 
These are typically kept until the next reboot of the operating | 
| 90 | 
+ | 
system, so re-running | 
| 91 | 
+ | 
.I bsdfview | 
| 92 | 
+ | 
with the same arguments will not require re-running | 
| 93 | 
+ | 
.I bsdf2rad | 
| 94 | 
+ | 
or | 
| 95 | 
+ | 
.I oconv. | 
| 96 | 
+ | 
Thus, start-up will be much quicker, unless the temporary files have | 
| 97 | 
+ | 
been removed. | 
| 98 | 
+ | 
In this case, the script may exit with an error indicating that the | 
| 99 | 
+ | 
.I rad | 
| 100 | 
+ | 
input file needs to be removed. | 
| 101 | 
+ | 
.PP | 
| 102 | 
+ | 
This input file may also be re-used directly from the command line using | 
| 103 | 
+ | 
.I rad | 
| 104 | 
+ | 
or | 
| 105 | 
+ | 
.I trad(1). | 
| 106 | 
+ | 
This may be useful for generating RADIANCE pictures corresponding | 
| 107 | 
+ | 
to the above standard views. | 
| 108 | 
+ | 
If no interactive run is desired, start | 
| 109 | 
+ | 
.I bsdfview | 
| 110 | 
+ | 
with the | 
| 111 | 
+ | 
.I "-v 0" | 
| 112 | 
+ | 
option. | 
| 113 | 
  | 
.SH AUTHOR | 
| 114 | 
  | 
Greg Ward | 
| 115 | 
  | 
.SH "SEE ALSO" | 
| 116 | 
  | 
bsdf2klems(1), bsdf2rad(1), bsdf2ttree(1), genBSDF(1), | 
| 117 | 
< | 
objview(1), oconv(1), pabopto2bsdf(1), rad(1), rvu(1) | 
| 117 | 
> | 
objview(1), oconv(1), pabopto2bsdf(1), rad(1), rvu(1), trad(1) |