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