1 |
greg |
1.2 |
.\" RCSid $Id: pkgBSDF.1,v 1.1 2011/06/23 18:11:17 greg Exp $ |
2 |
greg |
1.1 |
.TH PKGBSDF 1 6/23/2011 RADIANCE |
3 |
|
|
.SH NAME |
4 |
|
|
pkgBSDF - package BSDFs provided as XML for Radiance |
5 |
|
|
.SH SYNOPSIS |
6 |
|
|
.B pkgBSDF |
7 |
|
|
[ |
8 |
|
|
.B \-i |
9 |
|
|
][ |
10 |
|
|
.B \-s |
11 |
|
|
] |
12 |
|
|
.B "bsdf.xml .." |
13 |
|
|
.SH DESCRIPTION |
14 |
|
|
.I PkgBSDF |
15 |
|
|
takes one or more XML files, each describing the bidirectional scattering |
16 |
|
|
distribution function of a surface or geometric system, and packages |
17 |
|
|
them into RADIANCE scene descriptions. |
18 |
|
|
One rectangle is produced for each BSDF that has |
19 |
|
|
no detail geometry and/or no rear-side reflectance distribution. |
20 |
|
|
If both front and back reflectance distributions are present with |
21 |
|
|
detail geometry, then two rectangles will be used to sandwich |
22 |
|
|
the geometry extracted from the BSDF file. |
23 |
greg |
1.2 |
The front surface will always be centered just in front of the |
24 |
|
|
origin facing the positive Z-direction, with "up" in the positive |
25 |
|
|
Y-direction. |
26 |
|
|
The back surface, if present, will parallel the front surface at |
27 |
|
|
a distance slightly greater than the BSDF system thickness. |
28 |
|
|
Scene units will always be in meters. |
29 |
greg |
1.1 |
.PP |
30 |
|
|
The |
31 |
|
|
.I \-i |
32 |
|
|
option causes |
33 |
|
|
.I pkgBSDF |
34 |
|
|
to produce frozen octree instances for any detail geometry, |
35 |
|
|
which may reduce memory requirements in scenes with many |
36 |
|
|
references to the same complex BSDF object. |
37 |
|
|
.PP |
38 |
|
|
Normally, |
39 |
|
|
.I pkgBSDF |
40 |
|
|
produces one RADIANCE scene file for each XML input, replacing |
41 |
|
|
the required '.xml' suffix with '.rad' in the same directory. |
42 |
|
|
The |
43 |
|
|
.I \-s |
44 |
|
|
option sends the RADIANCE scene description to the standard |
45 |
|
|
output rather than writing it to a file, but only works |
46 |
|
|
for a single XML input. |
47 |
|
|
Any instance octree is still written out to a file generated |
48 |
|
|
by replacing the '.xml' suffix with '.oct' in the same directory. |
49 |
|
|
.SH EXAMPLE |
50 |
|
|
Package all the XML files in the current directory as Radiance |
51 |
|
|
scene files, employing frozen octree instances for any |
52 |
|
|
detail geometry: |
53 |
|
|
.IP "" .2i |
54 |
|
|
pkgBSDF -i *.xml |
55 |
|
|
.SH AUTHOR |
56 |
|
|
Greg Ward |
57 |
|
|
.SH "SEE ALSO" |
58 |
|
|
genBSDF(1), oconv(1), xform(1) |