1 |
greg |
1.2 |
.\" RCSid $Id: dctimestep.1,v 1.1 2009/12/10 00:17:19 greg Exp $" |
2 |
greg |
1.1 |
.TH DCTIMESTEP 1 12/09/09 RADIANCE |
3 |
|
|
.SH NAME |
4 |
|
|
dctimestep - compute annual simulation time-step via matrix multiplication |
5 |
|
|
.SH SYNOPSIS |
6 |
|
|
.B dctimestep |
7 |
greg |
1.2 |
.B DCspec |
8 |
|
|
[ |
9 |
|
|
.B skyvec |
10 |
|
|
] |
11 |
|
|
.br |
12 |
|
|
.B dctimestep |
13 |
greg |
1.1 |
.B Vspec |
14 |
|
|
.B Tbsdf.xml |
15 |
|
|
.B Dmat.dat |
16 |
|
|
[ |
17 |
greg |
1.2 |
.B skyvec |
18 |
greg |
1.1 |
] |
19 |
|
|
.SH DESCRIPTION |
20 |
|
|
.I Dctimestep |
21 |
greg |
1.2 |
has two invocation forms. |
22 |
|
|
In the first form, |
23 |
|
|
.I dctimestep |
24 |
|
|
is given a daylight coefficient specification and an optional sky |
25 |
|
|
vector, which may be read from the standard input if unspecified. |
26 |
|
|
The daylight coefficients are multiplied against this vector and the results |
27 |
|
|
are written to the standard output. |
28 |
|
|
This may be a list of color values or a combined Radiance image, |
29 |
|
|
as explained below. |
30 |
|
|
.PP |
31 |
|
|
In the second form, |
32 |
|
|
.I dctimestep |
33 |
greg |
1.1 |
takes four input files, forming a matrix expression. |
34 |
|
|
The first argument is the View matrix file that specifies how window output |
35 |
|
|
directions are related to some set of measured values, such as an array of |
36 |
|
|
illuminance points or images. |
37 |
|
|
This matrix is usually computed by |
38 |
|
|
.I rtcontrib(1) |
39 |
|
|
for a particular set of windows or skylight openings. |
40 |
|
|
The second argument is the window transmission matrix, or BSDF, given as |
41 |
|
|
a standard XML description. |
42 |
|
|
The third argument is the Daylight matrix file that defines how sky patches |
43 |
|
|
relate to input directions on the same opening. |
44 |
|
|
This is usually computed using |
45 |
|
|
.I genklemsamp(1) |
46 |
|
|
with |
47 |
|
|
.I rtcontrib |
48 |
|
|
in a separate run for each window or skylight orientation. |
49 |
|
|
The final input is the sky contribution vector, |
50 |
|
|
usually computed by |
51 |
|
|
.I genskyvec(1), |
52 |
|
|
which may be passed on the standard input. |
53 |
|
|
This data must be in ASCII format, whereas the View and Daylight matrices |
54 |
|
|
are more efficiently represented as binary float data if machine |
55 |
|
|
byte-order is not an issue. |
56 |
|
|
.PP |
57 |
|
|
Sent to the standard output of |
58 |
|
|
.I dctimestep |
59 |
|
|
is either an ASCII color vector with as many RGB triplets |
60 |
|
|
as there are rows in the View matrix, or a combined |
61 |
|
|
.I Radiance |
62 |
|
|
picture. |
63 |
greg |
1.2 |
Which output is produced depends on the first argument. |
64 |
greg |
1.1 |
A regular file name will be loaded and interpreted as a matrix to |
65 |
|
|
generate a color results vector. |
66 |
|
|
A file specification containing a '%d' format string will be |
67 |
|
|
interpreted as a list of |
68 |
|
|
.I Radiance |
69 |
|
|
component pictures, which will be summed according to the computed |
70 |
|
|
vector. |
71 |
|
|
.SH EXAMPLES |
72 |
greg |
1.2 |
To compute workplane illuminances at 3:30pm on Feb 10th: |
73 |
|
|
.IP "" .2i |
74 |
|
|
gensky 2 10 15:30 | genskyvec | dctimestep workplaneDC.dmx > Ill_02-10-1530.dat |
75 |
|
|
.PP |
76 |
|
|
To compute an image at 10am on the equinox from a set of component images: |
77 |
|
|
.IP "" .2i |
78 |
|
|
gensky 3 21 10 | genskyvec | dctimestep viewc%03d.hdr > view_03-21-10.hdr |
79 |
|
|
.PP |
80 |
greg |
1.1 |
To compute a set of illuminance contributions for Window 1 on |
81 |
|
|
the Winter solstice at 2pm: |
82 |
|
|
.IP "" .2i |
83 |
|
|
gensky 12 21 14 | genskyvec | dctimestep IllPts.vmx Blinds20.xml Window1.dmx > Ill_12-21-14.dat |
84 |
|
|
.PP |
85 |
|
|
To compute Window2's contribution to an interior view at 12 noon on the Summer solstice: |
86 |
|
|
.IP "" .2i |
87 |
|
|
gensky 6 21 12 | genskyvec | dctimestep view%03d.hdr Blinds30.xml Window2.dmx > view_6-21-12.hdr |
88 |
|
|
.SH AUTHOR |
89 |
|
|
Greg Ward |
90 |
|
|
.SH "SEE ALSO" |
91 |
|
|
genklemsamp(1), genskyvec(1), mkillum(1), rtcontrib(1), rtrace(1), vwrays(1) |