ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genklemsamp.1
Revision: 1.1
Committed: Sun Jun 14 00:33:15 2009 UTC (15 years, 10 months ago) by greg
Branch: MAIN
Log Message:
Added new genklemsamp utility and made vwright more useful

File Contents

# User Rev Content
1 greg 1.1 .\" RCSid $Id$
2     .TH GENKLEMSAMP 1 6/13/09 RADIANCE
3     .SH NAME
4     genklemsamp - generate ray samples over surfaces using Klems BSDF basis
5     .SH SYNOPSIS
6     .B genklemsamp
7     [
8     .B "\-c N"
9     ][
10     .B "\-f{a|f|d}"
11     ]
12     [
13     .B "view opts"
14     ]
15     [
16     .B "geom.rad .."
17     ]
18     .SH DESCRIPTION
19     .I Genklemsamp
20     generates ray origins and directions to sample planar surfaces
21     needed to determine incident radiances or daylight coefficients.
22     This command is typically used in conjunction with
23     .I rtcontrib(1)
24     to analyze exterior daylight coefficients
25     for an annual simulation.
26     .PP
27     The view options are needed to specify (at minimum) the view direction,
28     which corresponds to the orientation of the surfaces, and the view up
29     vector, which corresponds to the azimuth=90-degree position on the Klems
30     sampling hemisphere.
31     .PP
32     If no Radiance scene files are provided, then the specified parallel
33     view defines the width, height, center, and orientation of the window
34     or facade of interest.
35     If one or more scene files are given, they
36     are presumed to contain planar surfaces over which
37     .I genklemsamp
38     will originate samples.
39     The sampled surface normals must correspond to the specified
40     view direction, and unaligned surfaces are silently ignored.
41     .PP
42     The
43     .I \-c
44     option specifies the number of rays to sample per Klems direction.
45     These samples will be distributed evenly over the surface(s).
46     The default setting is 1000.
47     .PP
48     The
49     .I \-ff
50     option specifies that output rays should be generated as 32-bit IEEE binary
51     float values.
52     This may be more efficient if passed directly to
53     .I rtcontrib
54     or
55     .I rtrace(1)
56     with the same option.
57     Likewise, the
58     .I \-fd
59     option specifies 64-bit IEEE binary double values.
60     The default setting of
61     .I \-fa
62     produces ASCII floating point values.
63     .SH EXAMPLE
64     To generate 500 samples per direction over a set of south-facing windows and
65     pass to
66     .I rtcontrib
67     to compute daylight coefficients in a matrix:
68     .IP "" .2i
69     genklemsamp -c 500 -vd 0 -1 0 -vu 0 0 1 south_windows.rad
70     | rtcontrib -c 500 -f tregenza.cal -b tbin -bn 146 exterior.oct > Dsouth.dat
71     .SH AUTHOR
72     Greg Ward
73     .SH "SEE ALSO"
74     mkillum(1), rtcontrib(1), rtrace(1), vwrays(1)