| 1 |
greg |
1.4 |
.\" RCSid $Id: pkgBSDF.1,v 1.3 2011/08/25 15:16:22 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 |
greg |
1.3 |
If the input file(s) do not begin with a '.' or '/', the directories
|
| 19 |
|
|
in the RAYPATH environment variable will be searched.
|
| 20 |
greg |
1.1 |
One rectangle is produced for each BSDF that has
|
| 21 |
|
|
no detail geometry and/or no rear-side reflectance distribution.
|
| 22 |
|
|
If both front and back reflectance distributions are present with
|
| 23 |
|
|
detail geometry, then two rectangles will be used to sandwich
|
| 24 |
|
|
the geometry extracted from the BSDF file.
|
| 25 |
greg |
1.2 |
The front surface will always be centered just in front of the
|
| 26 |
|
|
origin facing the positive Z-direction, with "up" in the positive
|
| 27 |
|
|
Y-direction.
|
| 28 |
|
|
The back surface, if present, will parallel the front surface at
|
| 29 |
|
|
a distance slightly greater than the BSDF system thickness.
|
| 30 |
|
|
Scene units will always be in meters.
|
| 31 |
greg |
1.1 |
.PP
|
| 32 |
|
|
The
|
| 33 |
|
|
.I \-i
|
| 34 |
|
|
option causes
|
| 35 |
|
|
.I pkgBSDF
|
| 36 |
|
|
to produce frozen octree instances for any detail geometry,
|
| 37 |
|
|
which may reduce memory requirements in scenes with many
|
| 38 |
|
|
references to the same complex BSDF object.
|
| 39 |
|
|
.PP
|
| 40 |
|
|
Normally,
|
| 41 |
|
|
.I pkgBSDF
|
| 42 |
|
|
produces one RADIANCE scene file for each XML input, replacing
|
| 43 |
greg |
1.4 |
the required '.xml' suffix with '.rad' and writing to the current directory.
|
| 44 |
greg |
1.1 |
The
|
| 45 |
|
|
.I \-s
|
| 46 |
|
|
option sends the RADIANCE scene description to the standard
|
| 47 |
|
|
output rather than writing it to a file, but only works
|
| 48 |
|
|
for a single XML input.
|
| 49 |
|
|
Any instance octree is still written out to a file generated
|
| 50 |
|
|
by replacing the '.xml' suffix with '.oct' in the same directory.
|
| 51 |
|
|
.SH EXAMPLE
|
| 52 |
|
|
Package all the XML files in the current directory as Radiance
|
| 53 |
|
|
scene files, employing frozen octree instances for any
|
| 54 |
|
|
detail geometry:
|
| 55 |
|
|
.IP "" .2i
|
| 56 |
|
|
pkgBSDF -i *.xml
|
| 57 |
|
|
.SH AUTHOR
|
| 58 |
|
|
Greg Ward
|
| 59 |
|
|
.SH "SEE ALSO"
|
| 60 |
|
|
genBSDF(1), oconv(1), xform(1)
|