1 |
.\" RCSid "$Id: bsdfview.1,v 1.4 2017/08/17 21:32:29 greg Exp $" |
2 |
.TH BSDFVIEW 1 8/11/2017 RADIANCE |
3 |
.SH NAME |
4 |
bsdfview - view a BSDF representation |
5 |
.SH SYNOPSIS |
6 |
.B bsdfview |
7 |
[ |
8 |
.B "\-q {Hi|Med|Lo}" |
9 |
][ |
10 |
.B \-t |
11 |
| |
12 |
rad options |
13 |
] |
14 |
input .. |
15 |
.br |
16 |
.SH DESCRIPTION |
17 |
.I Bsdfview |
18 |
renders a BSDF description interactively. |
19 |
This is a script that creates a |
20 |
.I rad(1) |
21 |
input file (RIF), |
22 |
which builds an octree via |
23 |
.I bsdf2rad(1), |
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), |
32 |
.I bsdf2klems(1), |
33 |
or |
34 |
.I bsdf2ttree(1), |
35 |
or up to four scattering interpolation representation (SIR) files, as |
36 |
might be produced by |
37 |
pabopto2bsdf(1). |
38 |
.PP |
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 |
45 |
.I rad |
46 |
without incurring the cost of another call to |
47 |
.I bsdf2rad. |
48 |
.PP |
49 |
The quality preference may be set via the |
50 |
.I \-q |
51 |
option. |
52 |
The number of processors to use may be specified with the |
53 |
.I \-n |
54 |
option. |
55 |
.PP |
56 |
The program creates a number of views accessible via the |
57 |
.I rvu(1) |
58 |
"L" command: |
59 |
.TP 10n |
60 |
.BR def |
61 |
The default view, showing the back and front BRDFs. |
62 |
.TP |
63 |
.BR fr |
64 |
A view of the front reflection hemisphere. |
65 |
.TP |
66 |
.BR br |
67 |
A view of the back reflection hemisphere. |
68 |
.TP |
69 |
.BR ft |
70 |
A fisheye view of the front transmission hemisphere (from underneath). |
71 |
.TP |
72 |
.BR bt |
73 |
A fisheye view of the back transmission hemisphere. |
74 |
.TP |
75 |
.BR pr |
76 |
A parallel view of both reflection hemispheres from directly overhead. |
77 |
.TP |
78 |
.BR pt |
79 |
A parallel view of both transmission hemispheres from directly underneath. |
80 |
.PP |
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), trad(1) |