ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/pkgBSDF.1
Revision: 1.3
Committed: Thu Aug 25 15:16:22 2011 UTC (12 years, 9 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2P2, rad4R2, rad4R1, rad4R2P1
Changes since 1.2: +3 -1 lines
Log Message:
Added searching of RAYPATH libraries for input files

File Contents

# Content
1 .\" RCSid $Id: pkgBSDF.1,v 1.2 2011/06/23 18:17:12 greg Exp $
2 .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 If the input file(s) do not begin with a '.' or '/', the directories
19 in the RAYPATH environment variable will be searched.
20 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 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 .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 the required '.xml' suffix with '.rad' in the same directory.
44 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)